@cnwenf/occ 2.1.251 → 2.1.253
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/cli.js +1381 -637
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -59284,6 +59284,7 @@ var init_types2 = __esm(() => {
|
|
|
59284
59284
|
requiredMaximumVersion: exports_external.string().optional().describe("Maximum required Claude Code version. Refuses to start if above."),
|
|
59285
59285
|
fallbackModel: exports_external.union([exports_external.string(), exports_external.array(exports_external.string()).max(3)]).optional().describe("Up to 3 fallback models tried in order when the primary is overloaded."),
|
|
59286
59286
|
wheelScrollAccelerationEnabled: exports_external.boolean().optional().describe("Enable mouse-wheel scroll acceleration in fullscreen mode."),
|
|
59287
|
+
leftArrowOpensAgents: exports_external.boolean().optional().describe("When true (default), left-arrow at the start of an empty prompt opens the FleetView agent/workflow list. Set to false to keep left-arrow as cursor movement only."),
|
|
59287
59288
|
enforceAvailableModels: exports_external.boolean().optional().describe("When true and availableModels is a non-empty array, the Default model selection is also constrained: if the default model for the user tier is not in availableModels, Default resolves to the first allowed availableModels entry instead. Has no effect when availableModels is unset or an empty array. Typically set in managed settings by enterprise administrators."),
|
|
59288
59289
|
agent: exports_external.string().optional().describe("Name of an agent (built-in or custom) to use for the main thread. " + "Applies the agent's system prompt, tool restrictions, and model."),
|
|
59289
59290
|
companyAnnouncements: exports_external.array(exports_external.string()).optional().describe("Company announcements to display at startup (one will be randomly selected if multiple are provided)"),
|
|
@@ -154925,6 +154926,7 @@ var init_theme = __esm(() => {
|
|
|
154925
154926
|
rate_limit_empty: "rgb(39,47,111)",
|
|
154926
154927
|
fastMode: "rgb(255,106,0)",
|
|
154927
154928
|
fastModeShimmer: "rgb(255,150,50)",
|
|
154929
|
+
effortUltra: "rgb(135,0,255)",
|
|
154928
154930
|
briefLabelYou: "rgb(37,99,235)",
|
|
154929
154931
|
briefLabelClaude: "rgb(215,119,87)",
|
|
154930
154932
|
rainbow_red: "rgb(235,95,87)",
|
|
@@ -154996,6 +154998,7 @@ var init_theme = __esm(() => {
|
|
|
154996
154998
|
rate_limit_empty: "ansi:black",
|
|
154997
154999
|
fastMode: "ansi:red",
|
|
154998
155000
|
fastModeShimmer: "ansi:redBright",
|
|
155001
|
+
effortUltra: "ansi:magenta",
|
|
154999
155002
|
briefLabelYou: "ansi:blue",
|
|
155000
155003
|
briefLabelClaude: "ansi:redBright",
|
|
155001
155004
|
rainbow_red: "ansi:red",
|
|
@@ -155067,6 +155070,7 @@ var init_theme = __esm(() => {
|
|
|
155067
155070
|
rate_limit_empty: "ansi:white",
|
|
155068
155071
|
fastMode: "ansi:redBright",
|
|
155069
155072
|
fastModeShimmer: "ansi:redBright",
|
|
155073
|
+
effortUltra: "ansi:magentaBright",
|
|
155070
155074
|
briefLabelYou: "ansi:blueBright",
|
|
155071
155075
|
briefLabelClaude: "ansi:redBright",
|
|
155072
155076
|
rainbow_red: "ansi:red",
|
|
@@ -155138,6 +155142,7 @@ var init_theme = __esm(() => {
|
|
|
155138
155142
|
rate_limit_empty: "rgb(23,46,114)",
|
|
155139
155143
|
fastMode: "rgb(255,106,0)",
|
|
155140
155144
|
fastModeShimmer: "rgb(255,150,50)",
|
|
155145
|
+
effortUltra: "rgb(175,135,255)",
|
|
155141
155146
|
briefLabelYou: "rgb(37,99,235)",
|
|
155142
155147
|
briefLabelClaude: "rgb(255,153,51)",
|
|
155143
155148
|
rainbow_red: "rgb(235,95,87)",
|
|
@@ -155208,6 +155213,7 @@ var init_theme = __esm(() => {
|
|
|
155208
155213
|
rate_limit_fill: "rgb(177,185,249)",
|
|
155209
155214
|
rate_limit_empty: "rgb(80,83,112)",
|
|
155210
155215
|
fastMode: "rgb(255,120,20)",
|
|
155216
|
+
effortUltra: "rgb(175,135,255)",
|
|
155211
155217
|
fastModeShimmer: "rgb(255,165,70)",
|
|
155212
155218
|
briefLabelYou: "rgb(122,180,232)",
|
|
155213
155219
|
briefLabelClaude: "rgb(215,119,87)",
|
|
@@ -155278,6 +155284,7 @@ var init_theme = __esm(() => {
|
|
|
155278
155284
|
memoryBackgroundColor: "rgb(55, 65, 70)",
|
|
155279
155285
|
rate_limit_fill: "rgb(153,204,255)",
|
|
155280
155286
|
rate_limit_empty: "rgb(69,92,115)",
|
|
155287
|
+
effortUltra: "rgb(175,135,255)",
|
|
155281
155288
|
fastMode: "rgb(255,120,20)",
|
|
155282
155289
|
fastModeShimmer: "rgb(255,165,70)",
|
|
155283
155290
|
briefLabelYou: "rgb(122,180,232)",
|
|
@@ -567762,7 +567769,8 @@ var init_ThemePicker = __esm(() => {
|
|
|
567762
567769
|
// src/components/EffortIndicator.ts
|
|
567763
567770
|
function getEffortNotificationText(effortValue, model) {
|
|
567764
567771
|
if (isUltracodeEnabled()) {
|
|
567765
|
-
|
|
567772
|
+
const themeName = getInitialSettings().theme ?? "dark";
|
|
567773
|
+
return color("effortUltra", themeName)("ultracode");
|
|
567766
567774
|
}
|
|
567767
567775
|
if (!modelSupportsEffort(model))
|
|
567768
567776
|
return;
|
|
@@ -567786,7 +567794,8 @@ function effortLevelToSymbol(level) {
|
|
|
567786
567794
|
}
|
|
567787
567795
|
}
|
|
567788
567796
|
var init_EffortIndicator = __esm(() => {
|
|
567789
|
-
|
|
567797
|
+
init_color();
|
|
567798
|
+
init_settings2();
|
|
567790
567799
|
init_figures2();
|
|
567791
567800
|
init_effort();
|
|
567792
567801
|
init_ultracode();
|
|
@@ -690487,6 +690496,7 @@ function PromptInput({
|
|
|
690487
690496
|
const isFastMode = useAppState((s4) => isFastModeEnabled() ? s4.fastMode : false);
|
|
690488
690497
|
const effortValue = useAppState((s4) => s4.effortValue);
|
|
690489
690498
|
const [ultracodeBadgeActive, setUltracodeBadgeActive] = React136.useState(isUltracodeEnabled());
|
|
690499
|
+
const [themeName] = useTheme();
|
|
690490
690500
|
import_react255.useEffect(() => {
|
|
690491
690501
|
const iv = setInterval(() => {
|
|
690492
690502
|
const cur = isUltracodeEnabled();
|
|
@@ -691796,7 +691806,7 @@ function PromptInput({
|
|
|
691796
691806
|
const fastModeCooldown = isFastModeEnabled() ? isFastModeCooldown() : false;
|
|
691797
691807
|
const showFastIcon = isFastModeEnabled() ? isFastMode && (isFastModeAvailable() || fastModeCooldown) : false;
|
|
691798
691808
|
const showFastIconHint = useShowFastIconHint(showFastIcon ?? false);
|
|
691799
|
-
const effortNotificationText = ultracodeBadgeActive ?
|
|
691809
|
+
const effortNotificationText = ultracodeBadgeActive ? color("effortUltra", themeName)("ultracode") : briefOwnsGap ? undefined : getEffortNotificationText(effortValue, mainLoopModel);
|
|
691800
691810
|
useBuddyNotification();
|
|
691801
691811
|
const companionSpeaking = feature("BUDDY") ? useAppState((s4) => s4.companionReaction !== undefined) : false;
|
|
691802
691812
|
const {
|
|
@@ -692364,6 +692374,8 @@ var init_PromptInput = __esm(() => {
|
|
|
692364
692374
|
init_tokenBudget();
|
|
692365
692375
|
init_keyword();
|
|
692366
692376
|
init_ultracode();
|
|
692377
|
+
init_color();
|
|
692378
|
+
init_ThemeProvider();
|
|
692367
692379
|
init_AutoModeOptInDialog();
|
|
692368
692380
|
init_BridgeDialog();
|
|
692369
692381
|
init_ConfigurableShortcutHint();
|
|
@@ -715947,6 +715959,733 @@ var init_ScrollKeybindingHandler = __esm(() => {
|
|
|
715947
715959
|
import_react313 = __toESM(require_react(), 1);
|
|
715948
715960
|
});
|
|
715949
715961
|
|
|
715962
|
+
// src/components/FleetView/rowHelpers.ts
|
|
715963
|
+
function buildFleetRows(tasks2, now2 = Date.now(), foldWindowMs = 60000) {
|
|
715964
|
+
const all4 = Object.values(tasks2);
|
|
715965
|
+
const running = [];
|
|
715966
|
+
const done = [];
|
|
715967
|
+
for (const t4 of all4) {
|
|
715968
|
+
if (isBackgroundTask(t4)) {
|
|
715969
|
+
running.push(t4);
|
|
715970
|
+
continue;
|
|
715971
|
+
}
|
|
715972
|
+
if (isTerminalTaskStatus(t4.status) && t4.endTime && now2 - t4.endTime <= foldWindowMs) {
|
|
715973
|
+
done.push(t4);
|
|
715974
|
+
}
|
|
715975
|
+
}
|
|
715976
|
+
running.sort((a5, b5) => a5.startTime - b5.startTime);
|
|
715977
|
+
done.sort((a5, b5) => (b5.endTime ?? 0) - (a5.endTime ?? 0));
|
|
715978
|
+
return { running, done };
|
|
715979
|
+
}
|
|
715980
|
+
function jobLabel(task) {
|
|
715981
|
+
switch (task.type) {
|
|
715982
|
+
case "local_agent":
|
|
715983
|
+
return task.agentType;
|
|
715984
|
+
case "local_workflow":
|
|
715985
|
+
return task.workflowName ?? task.summary ?? task.description ?? "workflow";
|
|
715986
|
+
case "remote_agent":
|
|
715987
|
+
return task.title ?? task.description;
|
|
715988
|
+
case "in_process_teammate":
|
|
715989
|
+
return `@${task.identity.agentName}`;
|
|
715990
|
+
case "local_bash":
|
|
715991
|
+
return task.kind === "monitor" ? task.description : task.command;
|
|
715992
|
+
case "monitor_mcp":
|
|
715993
|
+
return task.description;
|
|
715994
|
+
case "dream":
|
|
715995
|
+
return task.description;
|
|
715996
|
+
}
|
|
715997
|
+
}
|
|
715998
|
+
function jobDescription(task) {
|
|
715999
|
+
switch (task.type) {
|
|
716000
|
+
case "local_agent":
|
|
716001
|
+
return task.description;
|
|
716002
|
+
case "local_workflow":
|
|
716003
|
+
return task.summary ?? task.description;
|
|
716004
|
+
case "remote_agent":
|
|
716005
|
+
return task.description;
|
|
716006
|
+
case "in_process_teammate":
|
|
716007
|
+
return;
|
|
716008
|
+
case "local_bash":
|
|
716009
|
+
return task.kind === "monitor" ? undefined : task.description;
|
|
716010
|
+
case "monitor_mcp":
|
|
716011
|
+
return;
|
|
716012
|
+
case "dream":
|
|
716013
|
+
return;
|
|
716014
|
+
}
|
|
716015
|
+
}
|
|
716016
|
+
function glyphColor(status2) {
|
|
716017
|
+
switch (status2) {
|
|
716018
|
+
case "running":
|
|
716019
|
+
return "success";
|
|
716020
|
+
case "pending":
|
|
716021
|
+
return "warning";
|
|
716022
|
+
case "failed":
|
|
716023
|
+
return "error";
|
|
716024
|
+
case "killed":
|
|
716025
|
+
return "inactive";
|
|
716026
|
+
case "completed":
|
|
716027
|
+
return "inactive";
|
|
716028
|
+
}
|
|
716029
|
+
}
|
|
716030
|
+
function formatJobAge(startTime, endTime, now2 = Date.now()) {
|
|
716031
|
+
const end = endTime ?? now2;
|
|
716032
|
+
const ms = Math.max(0, end - startTime);
|
|
716033
|
+
const s4 = Math.floor(ms / 1000);
|
|
716034
|
+
if (s4 < 60)
|
|
716035
|
+
return `${s4}s`;
|
|
716036
|
+
const m5 = Math.floor(s4 / 60);
|
|
716037
|
+
if (m5 < 60)
|
|
716038
|
+
return `${m5}m${s4 % 60 ? ` ${s4 % 60}s` : ""}`;
|
|
716039
|
+
const h5 = Math.floor(m5 / 60);
|
|
716040
|
+
if (h5 < 24)
|
|
716041
|
+
return `${h5}h${m5 % 60 ? ` ${m5 % 60}m` : ""}`;
|
|
716042
|
+
const d4 = Math.floor(h5 / 24);
|
|
716043
|
+
return `${d4}d`;
|
|
716044
|
+
}
|
|
716045
|
+
function actionableStatus(task) {
|
|
716046
|
+
switch (task.type) {
|
|
716047
|
+
case "local_agent": {
|
|
716048
|
+
const last2 = task.progress?.lastActivity;
|
|
716049
|
+
if (typeof last2?.activityDescription === "string" && last2.activityDescription) {
|
|
716050
|
+
return last2.activityDescription;
|
|
716051
|
+
}
|
|
716052
|
+
if (typeof last2?.toolName === "string" && last2.toolName) {
|
|
716053
|
+
return last2.toolName;
|
|
716054
|
+
}
|
|
716055
|
+
return task.status === "pending" ? "Queued\u2026" : "Initializing\u2026";
|
|
716056
|
+
}
|
|
716057
|
+
case "local_workflow": {
|
|
716058
|
+
const phase = task.workflowProgress?.find((p4) => p4.status === "running")?.phase;
|
|
716059
|
+
if (phase)
|
|
716060
|
+
return `Phase: ${phase}`;
|
|
716061
|
+
if (task.status === "pending")
|
|
716062
|
+
return "Queued\u2026";
|
|
716063
|
+
if (task.status === "completed")
|
|
716064
|
+
return "Done";
|
|
716065
|
+
return "Running workflow\u2026";
|
|
716066
|
+
}
|
|
716067
|
+
case "remote_agent":
|
|
716068
|
+
return task.status === "pending" ? "Connecting\u2026" : task.status === "completed" ? "Done" : "Running remotely\u2026";
|
|
716069
|
+
case "in_process_teammate":
|
|
716070
|
+
return task.status === "pending" ? "Starting\u2026" : "Working\u2026";
|
|
716071
|
+
case "local_bash":
|
|
716072
|
+
return task.status === "pending" ? "Queued\u2026" : task.status === "completed" ? "Done" : "Running\u2026";
|
|
716073
|
+
case "monitor_mcp":
|
|
716074
|
+
return task.status === "pending" ? "Connecting\u2026" : "Monitoring\u2026";
|
|
716075
|
+
case "dream":
|
|
716076
|
+
return task.phase === "updating" ? "Updating\u2026" : "Reviewing\u2026";
|
|
716077
|
+
}
|
|
716078
|
+
}
|
|
716079
|
+
function fleetVerticalBudget(terminalRows) {
|
|
716080
|
+
const half = Math.floor(terminalRows / 2);
|
|
716081
|
+
return Math.max(4, Math.min(12, half));
|
|
716082
|
+
}
|
|
716083
|
+
function fleetTitle(running, done) {
|
|
716084
|
+
if (running > 0 && done > 0)
|
|
716085
|
+
return `Agents \xB7 ${running} live \xB7 ${done} done`;
|
|
716086
|
+
if (running > 0)
|
|
716087
|
+
return `Agents \xB7 ${running} live`;
|
|
716088
|
+
if (done > 0)
|
|
716089
|
+
return `Agents \xB7 ${done} done`;
|
|
716090
|
+
return "Agents";
|
|
716091
|
+
}
|
|
716092
|
+
function isAgentsFleetEnabled() {
|
|
716093
|
+
return true;
|
|
716094
|
+
}
|
|
716095
|
+
function fleetAgentSuggestions() {
|
|
716096
|
+
return [
|
|
716097
|
+
{
|
|
716098
|
+
label: "Researcher",
|
|
716099
|
+
prompt: "Use the Agent tool to spawn a researcher that lists files under src/ for 20s, backgrounded."
|
|
716100
|
+
},
|
|
716101
|
+
{
|
|
716102
|
+
label: "Reviewer",
|
|
716103
|
+
prompt: "Use the Agent tool to spawn a reviewer that audits the recent diff, backgrounded."
|
|
716104
|
+
},
|
|
716105
|
+
{
|
|
716106
|
+
label: "Workflow",
|
|
716107
|
+
prompt: "Run a workflow that fans out 2 agents to summarize the README and CLAUDE.md."
|
|
716108
|
+
}
|
|
716109
|
+
];
|
|
716110
|
+
}
|
|
716111
|
+
var init_rowHelpers = __esm(() => {
|
|
716112
|
+
init_Task();
|
|
716113
|
+
});
|
|
716114
|
+
|
|
716115
|
+
// src/components/FleetView/SessionPreview.tsx
|
|
716116
|
+
function SessionPreview2(props) {
|
|
716117
|
+
const { task, now: now2 } = props;
|
|
716118
|
+
const color3 = glyphColor(task.status);
|
|
716119
|
+
const label = jobLabel(task);
|
|
716120
|
+
const age = formatJobAge(task.startTime, task.endTime, now2);
|
|
716121
|
+
const status2 = actionableStatus(task);
|
|
716122
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716123
|
+
flexDirection: "column",
|
|
716124
|
+
paddingLeft: 2,
|
|
716125
|
+
marginTop: 0,
|
|
716126
|
+
borderStyle: "single",
|
|
716127
|
+
borderColor: "inactive",
|
|
716128
|
+
children: [
|
|
716129
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716130
|
+
flexDirection: "row",
|
|
716131
|
+
children: [
|
|
716132
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716133
|
+
color: color3,
|
|
716134
|
+
children: "\u25CF"
|
|
716135
|
+
}, undefined, false, undefined, this),
|
|
716136
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716137
|
+
bold: true,
|
|
716138
|
+
children: label
|
|
716139
|
+
}, undefined, false, undefined, this),
|
|
716140
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716141
|
+
dimColor: true,
|
|
716142
|
+
children: [
|
|
716143
|
+
" \xB7 ",
|
|
716144
|
+
status2
|
|
716145
|
+
]
|
|
716146
|
+
}, undefined, true, undefined, this),
|
|
716147
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716148
|
+
dimColor: true,
|
|
716149
|
+
children: [
|
|
716150
|
+
" \xB7 ",
|
|
716151
|
+
age
|
|
716152
|
+
]
|
|
716153
|
+
}, undefined, true, undefined, this)
|
|
716154
|
+
]
|
|
716155
|
+
}, undefined, true, undefined, this),
|
|
716156
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(PeekBody, {
|
|
716157
|
+
task
|
|
716158
|
+
}, undefined, false, undefined, this)
|
|
716159
|
+
]
|
|
716160
|
+
}, undefined, true, undefined, this);
|
|
716161
|
+
}
|
|
716162
|
+
function PeekBody({ task }) {
|
|
716163
|
+
switch (task.type) {
|
|
716164
|
+
case "local_agent":
|
|
716165
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(AgentPeek, {
|
|
716166
|
+
task
|
|
716167
|
+
}, undefined, false, undefined, this);
|
|
716168
|
+
case "local_workflow":
|
|
716169
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(WorkflowPeek, {
|
|
716170
|
+
task
|
|
716171
|
+
}, undefined, false, undefined, this);
|
|
716172
|
+
case "in_process_teammate":
|
|
716173
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(TeammatePeek, {
|
|
716174
|
+
task
|
|
716175
|
+
}, undefined, false, undefined, this);
|
|
716176
|
+
case "remote_agent":
|
|
716177
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716178
|
+
paddingLeft: 1,
|
|
716179
|
+
children: /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716180
|
+
dimColor: true,
|
|
716181
|
+
children: task.description ?? task.title
|
|
716182
|
+
}, undefined, false, undefined, this)
|
|
716183
|
+
}, undefined, false, undefined, this);
|
|
716184
|
+
case "local_bash":
|
|
716185
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716186
|
+
paddingLeft: 1,
|
|
716187
|
+
flexDirection: "column",
|
|
716188
|
+
children: [
|
|
716189
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716190
|
+
dimColor: true,
|
|
716191
|
+
children: task.kind === "monitor" ? task.description : task.command
|
|
716192
|
+
}, undefined, false, undefined, this),
|
|
716193
|
+
task.result && /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716194
|
+
dimColor: true,
|
|
716195
|
+
children: [
|
|
716196
|
+
"exit ",
|
|
716197
|
+
task.result.code,
|
|
716198
|
+
task.result.interrupted ? " (interrupted)" : ""
|
|
716199
|
+
]
|
|
716200
|
+
}, undefined, true, undefined, this)
|
|
716201
|
+
]
|
|
716202
|
+
}, undefined, true, undefined, this);
|
|
716203
|
+
case "monitor_mcp":
|
|
716204
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716205
|
+
paddingLeft: 1,
|
|
716206
|
+
children: /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716207
|
+
dimColor: true,
|
|
716208
|
+
children: task.description
|
|
716209
|
+
}, undefined, false, undefined, this)
|
|
716210
|
+
}, undefined, false, undefined, this);
|
|
716211
|
+
case "dream":
|
|
716212
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716213
|
+
paddingLeft: 1,
|
|
716214
|
+
children: /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716215
|
+
dimColor: true,
|
|
716216
|
+
children: [
|
|
716217
|
+
"phase: ",
|
|
716218
|
+
task.phase
|
|
716219
|
+
]
|
|
716220
|
+
}, undefined, true, undefined, this)
|
|
716221
|
+
}, undefined, false, undefined, this);
|
|
716222
|
+
}
|
|
716223
|
+
}
|
|
716224
|
+
function AgentPeek({
|
|
716225
|
+
task
|
|
716226
|
+
}) {
|
|
716227
|
+
const activities = task.progress?.recentActivities ?? [];
|
|
716228
|
+
const tokens = task.progress?.tokenCount ?? null;
|
|
716229
|
+
const toolUseCount = task.progress?.toolUseCount ?? 0;
|
|
716230
|
+
const lines2 = activities.slice(-MAX_PEEK_LINES);
|
|
716231
|
+
if (lines2.length === 0) {
|
|
716232
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716233
|
+
paddingLeft: 1,
|
|
716234
|
+
children: /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716235
|
+
dimColor: true,
|
|
716236
|
+
children: "No activity yet \u2014 waiting for the first tool call."
|
|
716237
|
+
}, undefined, false, undefined, this)
|
|
716238
|
+
}, undefined, false, undefined, this);
|
|
716239
|
+
}
|
|
716240
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716241
|
+
flexDirection: "column",
|
|
716242
|
+
paddingLeft: 1,
|
|
716243
|
+
children: [
|
|
716244
|
+
lines2.map((a5, i6) => /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716245
|
+
flexDirection: "row",
|
|
716246
|
+
children: [
|
|
716247
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716248
|
+
dimColor: true,
|
|
716249
|
+
children: "\u251C\u2500"
|
|
716250
|
+
}, undefined, false, undefined, this),
|
|
716251
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716252
|
+
dimColor: true,
|
|
716253
|
+
children: a5.toolName
|
|
716254
|
+
}, undefined, false, undefined, this),
|
|
716255
|
+
a5.activityDescription && /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716256
|
+
dimColor: true,
|
|
716257
|
+
children: [
|
|
716258
|
+
": ",
|
|
716259
|
+
truncate(a5.activityDescription, 60, true)
|
|
716260
|
+
]
|
|
716261
|
+
}, undefined, true, undefined, this)
|
|
716262
|
+
]
|
|
716263
|
+
}, i6, true, undefined, this)),
|
|
716264
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716265
|
+
flexDirection: "row",
|
|
716266
|
+
children: /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716267
|
+
dimColor: true,
|
|
716268
|
+
children: [
|
|
716269
|
+
toolUseCount,
|
|
716270
|
+
" tool ",
|
|
716271
|
+
toolUseCount === 1 ? "use" : "uses",
|
|
716272
|
+
tokens !== null && ` \xB7 ${formatNumber(tokens)} tokens`
|
|
716273
|
+
]
|
|
716274
|
+
}, undefined, true, undefined, this)
|
|
716275
|
+
}, undefined, false, undefined, this)
|
|
716276
|
+
]
|
|
716277
|
+
}, undefined, true, undefined, this);
|
|
716278
|
+
}
|
|
716279
|
+
function WorkflowPeek({
|
|
716280
|
+
task
|
|
716281
|
+
}) {
|
|
716282
|
+
const phases = task.workflowProgress ?? [];
|
|
716283
|
+
const narrator = task.narratorLines ?? [];
|
|
716284
|
+
if (phases.length === 0 && narrator.length === 0) {
|
|
716285
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716286
|
+
paddingLeft: 1,
|
|
716287
|
+
children: /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716288
|
+
dimColor: true,
|
|
716289
|
+
children: "Workflow starting\u2026"
|
|
716290
|
+
}, undefined, false, undefined, this)
|
|
716291
|
+
}, undefined, false, undefined, this);
|
|
716292
|
+
}
|
|
716293
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716294
|
+
flexDirection: "column",
|
|
716295
|
+
paddingLeft: 1,
|
|
716296
|
+
children: [
|
|
716297
|
+
narrator.slice(-2).map((line, i6) => /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716298
|
+
dimColor: true,
|
|
716299
|
+
children: truncate(line, 80, true)
|
|
716300
|
+
}, `n${i6}`, false, undefined, this)),
|
|
716301
|
+
phases.slice(0, MAX_PEEK_LINES).map((p4, i6) => /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716302
|
+
flexDirection: "row",
|
|
716303
|
+
children: [
|
|
716304
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716305
|
+
dimColor: true,
|
|
716306
|
+
children: p4.status === "running" ? "\u25B6" : p4.status === "done" ? "\u2713" : "\u2717"
|
|
716307
|
+
}, undefined, false, undefined, this),
|
|
716308
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716309
|
+
dimColor: true,
|
|
716310
|
+
children: p4.phase
|
|
716311
|
+
}, undefined, false, undefined, this),
|
|
716312
|
+
p4.agentCount > 0 && /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716313
|
+
dimColor: true,
|
|
716314
|
+
children: [
|
|
716315
|
+
" \xB7 ",
|
|
716316
|
+
p4.agentCount,
|
|
716317
|
+
" agents"
|
|
716318
|
+
]
|
|
716319
|
+
}, undefined, true, undefined, this)
|
|
716320
|
+
]
|
|
716321
|
+
}, `p${i6}`, true, undefined, this)),
|
|
716322
|
+
(task.totalToolCalls ?? 0) > 0 && /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716323
|
+
dimColor: true,
|
|
716324
|
+
children: [
|
|
716325
|
+
task.totalToolCalls,
|
|
716326
|
+
" tool ",
|
|
716327
|
+
task.totalToolCalls === 1 ? "call" : "calls",
|
|
716328
|
+
task.totalTokens ? ` \xB7 ${formatNumber(task.totalTokens)} tokens` : ""
|
|
716329
|
+
]
|
|
716330
|
+
}, undefined, true, undefined, this)
|
|
716331
|
+
]
|
|
716332
|
+
}, undefined, true, undefined, this);
|
|
716333
|
+
}
|
|
716334
|
+
function TeammatePeek({
|
|
716335
|
+
task
|
|
716336
|
+
}) {
|
|
716337
|
+
const activity = describeTeammateActivitySafe(task);
|
|
716338
|
+
const acts = task.progress?.recentActivities ?? [];
|
|
716339
|
+
return /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedBox_default, {
|
|
716340
|
+
paddingLeft: 1,
|
|
716341
|
+
flexDirection: "column",
|
|
716342
|
+
children: [
|
|
716343
|
+
/* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716344
|
+
dimColor: true,
|
|
716345
|
+
children: activity
|
|
716346
|
+
}, undefined, false, undefined, this),
|
|
716347
|
+
acts.length > 0 && /* @__PURE__ */ jsx_dev_runtime457.jsxDEV(ThemedText, {
|
|
716348
|
+
dimColor: true,
|
|
716349
|
+
children: [
|
|
716350
|
+
acts.length,
|
|
716351
|
+
" recent ",
|
|
716352
|
+
acts.length === 1 ? "activity" : "activities"
|
|
716353
|
+
]
|
|
716354
|
+
}, undefined, true, undefined, this)
|
|
716355
|
+
]
|
|
716356
|
+
}, undefined, true, undefined, this);
|
|
716357
|
+
}
|
|
716358
|
+
function describeTeammateActivity2(task) {
|
|
716359
|
+
if (task.shutdownRequested)
|
|
716360
|
+
return "stopping";
|
|
716361
|
+
if (task.awaitingPlanApproval)
|
|
716362
|
+
return "awaiting approval";
|
|
716363
|
+
if (task.isIdle)
|
|
716364
|
+
return "idle";
|
|
716365
|
+
const acts = task.progress?.recentActivities;
|
|
716366
|
+
if (acts && acts.length > 0) {
|
|
716367
|
+
const last2 = acts[acts.length - 1];
|
|
716368
|
+
if (last2?.toolName)
|
|
716369
|
+
return last2.toolName;
|
|
716370
|
+
}
|
|
716371
|
+
const lastAct = task.progress?.lastActivity?.activityDescription;
|
|
716372
|
+
if (lastAct)
|
|
716373
|
+
return lastAct;
|
|
716374
|
+
if (task.status === "running")
|
|
716375
|
+
return "working";
|
|
716376
|
+
if (task.status === "pending")
|
|
716377
|
+
return "starting";
|
|
716378
|
+
if (task.status === "completed")
|
|
716379
|
+
return "done";
|
|
716380
|
+
if (task.status === "failed")
|
|
716381
|
+
return "failed";
|
|
716382
|
+
return "stopped";
|
|
716383
|
+
}
|
|
716384
|
+
function describeTeammateActivitySafe(task) {
|
|
716385
|
+
return describeTeammateActivity2(task);
|
|
716386
|
+
}
|
|
716387
|
+
var jsx_dev_runtime457, MAX_PEEK_LINES = 6;
|
|
716388
|
+
var init_SessionPreview2 = __esm(() => {
|
|
716389
|
+
init_ink2();
|
|
716390
|
+
init_format();
|
|
716391
|
+
init_truncate();
|
|
716392
|
+
init_rowHelpers();
|
|
716393
|
+
jsx_dev_runtime457 = __toESM(require_jsx_dev_runtime(), 1);
|
|
716394
|
+
});
|
|
716395
|
+
|
|
716396
|
+
// src/components/FleetView/FleetView.tsx
|
|
716397
|
+
function FleetView(props) {
|
|
716398
|
+
const { rows, focused, selectedIndex, showPreview, now: now2, terminalRows } = props;
|
|
716399
|
+
const { running, done } = rows;
|
|
716400
|
+
const budget = fleetVerticalBudget(terminalRows);
|
|
716401
|
+
if (running.length === 0 && done.length === 0) {
|
|
716402
|
+
return /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(FleetEmptyState, {
|
|
716403
|
+
focused
|
|
716404
|
+
}, undefined, false, undefined, this);
|
|
716405
|
+
}
|
|
716406
|
+
const title = fleetTitle(running.length, done.length);
|
|
716407
|
+
const maxRows = Math.max(1, budget - 2);
|
|
716408
|
+
const visibleRunning = running.slice(0, maxRows);
|
|
716409
|
+
const hidden2 = running.length - visibleRunning.length;
|
|
716410
|
+
return /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedBox_default, {
|
|
716411
|
+
flexDirection: "column",
|
|
716412
|
+
paddingLeft: 1,
|
|
716413
|
+
marginTop: 0,
|
|
716414
|
+
children: [
|
|
716415
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedBox_default, {
|
|
716416
|
+
flexDirection: "row",
|
|
716417
|
+
children: [
|
|
716418
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716419
|
+
bold: true,
|
|
716420
|
+
children: title
|
|
716421
|
+
}, undefined, false, undefined, this),
|
|
716422
|
+
focused ? /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716423
|
+
dimColor: true,
|
|
716424
|
+
children: " \xB7 \u2191\u2193 navigate \xB7 \u23CE peek \xB7 esc back"
|
|
716425
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716426
|
+
dimColor: true,
|
|
716427
|
+
children: " \xB7 \u2193/\u2190 to navigate"
|
|
716428
|
+
}, undefined, false, undefined, this)
|
|
716429
|
+
]
|
|
716430
|
+
}, undefined, true, undefined, this),
|
|
716431
|
+
visibleRunning.map((task, i6) => /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(FleetRow, {
|
|
716432
|
+
task,
|
|
716433
|
+
selected: focused && i6 === selectedIndex,
|
|
716434
|
+
isLast: i6 === visibleRunning.length - 1 && hidden2 === 0 && done.length === 0,
|
|
716435
|
+
now: now2
|
|
716436
|
+
}, task.id, false, undefined, this)),
|
|
716437
|
+
hidden2 > 0 && /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedBox_default, {
|
|
716438
|
+
paddingLeft: 1,
|
|
716439
|
+
children: /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716440
|
+
dimColor: true,
|
|
716441
|
+
children: [
|
|
716442
|
+
"\u2026 +",
|
|
716443
|
+
hidden2,
|
|
716444
|
+
" more ",
|
|
716445
|
+
plural(hidden2, "job")
|
|
716446
|
+
]
|
|
716447
|
+
}, undefined, true, undefined, this)
|
|
716448
|
+
}, undefined, false, undefined, this),
|
|
716449
|
+
done.length > 0 && /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedBox_default, {
|
|
716450
|
+
paddingLeft: 1,
|
|
716451
|
+
children: /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716452
|
+
dimColor: true,
|
|
716453
|
+
children: [
|
|
716454
|
+
"\u2713 ",
|
|
716455
|
+
done.length,
|
|
716456
|
+
" done"
|
|
716457
|
+
]
|
|
716458
|
+
}, undefined, true, undefined, this)
|
|
716459
|
+
}, undefined, false, undefined, this),
|
|
716460
|
+
showPreview && focused && running[selectedIndex] && /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(SessionPreview2, {
|
|
716461
|
+
task: running[selectedIndex],
|
|
716462
|
+
now: now2
|
|
716463
|
+
}, undefined, false, undefined, this)
|
|
716464
|
+
]
|
|
716465
|
+
}, undefined, true, undefined, this);
|
|
716466
|
+
}
|
|
716467
|
+
function FleetRow(props) {
|
|
716468
|
+
const { task, selected, isLast, now: now2 } = props;
|
|
716469
|
+
const glyph = selected ? "\u25B8" : " ";
|
|
716470
|
+
const color3 = glyphColor(task.status);
|
|
716471
|
+
const age = formatJobAge(task.startTime, task.endTime, now2);
|
|
716472
|
+
if (isLocalAgentTask(task)) {
|
|
716473
|
+
return /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedBox_default, {
|
|
716474
|
+
flexDirection: "row",
|
|
716475
|
+
children: [
|
|
716476
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716477
|
+
color: selected ? "claude" : undefined,
|
|
716478
|
+
children: [
|
|
716479
|
+
glyph,
|
|
716480
|
+
" "
|
|
716481
|
+
]
|
|
716482
|
+
}, undefined, true, undefined, this),
|
|
716483
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedBox_default, {
|
|
716484
|
+
flexDirection: "column",
|
|
716485
|
+
children: [
|
|
716486
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(AgentProgressLine, {
|
|
716487
|
+
agentType: task.agentType,
|
|
716488
|
+
description: jobDescription(task) ?? undefined,
|
|
716489
|
+
toolUseCount: task.progress?.toolUseCount ?? 0,
|
|
716490
|
+
tokens: task.progress?.tokenCount ?? null,
|
|
716491
|
+
isLast,
|
|
716492
|
+
isResolved: task.status !== "running" && task.status !== "pending",
|
|
716493
|
+
isError: task.status === "failed",
|
|
716494
|
+
isAsync: task.isBackgrounded,
|
|
716495
|
+
shouldAnimate: task.status === "running",
|
|
716496
|
+
lastToolInfo: actionableStatus(task)
|
|
716497
|
+
}, undefined, false, undefined, this),
|
|
716498
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716499
|
+
dimColor: true,
|
|
716500
|
+
children: [
|
|
716501
|
+
" ",
|
|
716502
|
+
age
|
|
716503
|
+
]
|
|
716504
|
+
}, undefined, true, undefined, this)
|
|
716505
|
+
]
|
|
716506
|
+
}, undefined, true, undefined, this)
|
|
716507
|
+
]
|
|
716508
|
+
}, undefined, true, undefined, this);
|
|
716509
|
+
}
|
|
716510
|
+
return /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedBox_default, {
|
|
716511
|
+
flexDirection: "row",
|
|
716512
|
+
children: [
|
|
716513
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716514
|
+
color: selected ? "claude" : undefined,
|
|
716515
|
+
children: [
|
|
716516
|
+
glyph,
|
|
716517
|
+
" "
|
|
716518
|
+
]
|
|
716519
|
+
}, undefined, true, undefined, this),
|
|
716520
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedBox_default, {
|
|
716521
|
+
flexDirection: "column",
|
|
716522
|
+
children: [
|
|
716523
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(BackgroundTask, {
|
|
716524
|
+
task,
|
|
716525
|
+
maxActivityWidth: 50
|
|
716526
|
+
}, undefined, false, undefined, this),
|
|
716527
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716528
|
+
dimColor: true,
|
|
716529
|
+
children: [
|
|
716530
|
+
" ",
|
|
716531
|
+
jobLabel(task),
|
|
716532
|
+
" \xB7 ",
|
|
716533
|
+
age
|
|
716534
|
+
]
|
|
716535
|
+
}, undefined, true, undefined, this)
|
|
716536
|
+
]
|
|
716537
|
+
}, undefined, true, undefined, this)
|
|
716538
|
+
]
|
|
716539
|
+
}, undefined, true, undefined, this);
|
|
716540
|
+
}
|
|
716541
|
+
function FleetEmptyState({ focused }) {
|
|
716542
|
+
const suggestions = fleetAgentSuggestions();
|
|
716543
|
+
return /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedBox_default, {
|
|
716544
|
+
flexDirection: "column",
|
|
716545
|
+
paddingLeft: 1,
|
|
716546
|
+
children: [
|
|
716547
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716548
|
+
bold: true,
|
|
716549
|
+
children: "Agents"
|
|
716550
|
+
}, undefined, false, undefined, this),
|
|
716551
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716552
|
+
dimColor: true,
|
|
716553
|
+
children: "No agents running."
|
|
716554
|
+
}, undefined, false, undefined, this),
|
|
716555
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716556
|
+
dimColor: true,
|
|
716557
|
+
children: focused ? "\u2193/\u2190 navigate \xB7 esc back" : "Dispatch an agent to populate the fleet:"
|
|
716558
|
+
}, undefined, false, undefined, this),
|
|
716559
|
+
suggestions.map((s4, i6) => /* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedBox_default, {
|
|
716560
|
+
flexDirection: "row",
|
|
716561
|
+
children: [
|
|
716562
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716563
|
+
dimColor: true,
|
|
716564
|
+
children: [
|
|
716565
|
+
" \u2022 ",
|
|
716566
|
+
s4.label,
|
|
716567
|
+
": "
|
|
716568
|
+
]
|
|
716569
|
+
}, undefined, true, undefined, this),
|
|
716570
|
+
/* @__PURE__ */ jsx_dev_runtime458.jsxDEV(ThemedText, {
|
|
716571
|
+
dimColor: true,
|
|
716572
|
+
children: s4.prompt.length > 60 ? s4.prompt.slice(0, 57) + "\u2026" : s4.prompt
|
|
716573
|
+
}, undefined, false, undefined, this)
|
|
716574
|
+
]
|
|
716575
|
+
}, i6, true, undefined, this))
|
|
716576
|
+
]
|
|
716577
|
+
}, undefined, true, undefined, this);
|
|
716578
|
+
}
|
|
716579
|
+
var jsx_dev_runtime458;
|
|
716580
|
+
var init_FleetView = __esm(() => {
|
|
716581
|
+
init_ink2();
|
|
716582
|
+
init_AgentProgressLine();
|
|
716583
|
+
init_BackgroundTask();
|
|
716584
|
+
init_LocalAgentTask();
|
|
716585
|
+
init_stringUtils();
|
|
716586
|
+
init_rowHelpers();
|
|
716587
|
+
init_SessionPreview2();
|
|
716588
|
+
jsx_dev_runtime458 = __toESM(require_jsx_dev_runtime(), 1);
|
|
716589
|
+
});
|
|
716590
|
+
|
|
716591
|
+
// src/components/FleetView/FleetViewScreen.tsx
|
|
716592
|
+
function FleetViewScreen(props) {
|
|
716593
|
+
const { inputValue, disabled } = props;
|
|
716594
|
+
const tasks2 = useAppState((s4) => s4.tasks);
|
|
716595
|
+
const { rows } = useTerminalSize();
|
|
716596
|
+
const [now2, setNow] = React150.useState(() => Date.now());
|
|
716597
|
+
React150.useEffect(() => {
|
|
716598
|
+
const id = setInterval(() => setNow(Date.now()), 1000);
|
|
716599
|
+
return () => clearInterval(id);
|
|
716600
|
+
}, []);
|
|
716601
|
+
const [fleetActive, setFleetActive] = React150.useState(false);
|
|
716602
|
+
const [selectedIndex, setSelectedIndex] = React150.useState(0);
|
|
716603
|
+
const [showPreview, setShowPreview] = React150.useState(false);
|
|
716604
|
+
const fleetRows = React150.useMemo(() => buildFleetRows(tasks2, now2), [tasks2, now2]);
|
|
716605
|
+
const hasJobs = fleetRows.running.length > 0 || fleetRows.done.length > 0;
|
|
716606
|
+
React150.useEffect(() => {
|
|
716607
|
+
setSelectedIndex((i6) => Math.min(i6, Math.max(0, fleetRows.running.length - 1)));
|
|
716608
|
+
}, [fleetRows.running.length]);
|
|
716609
|
+
React150.useEffect(() => {
|
|
716610
|
+
if (!hasJobs && fleetActive) {
|
|
716611
|
+
setFleetActive(false);
|
|
716612
|
+
setShowPreview(false);
|
|
716613
|
+
}
|
|
716614
|
+
}, [hasJobs, fleetActive]);
|
|
716615
|
+
const leftArrowOpensAgents = getInitialSettings().leftArrowOpensAgents ?? true;
|
|
716616
|
+
use_input_default((input, key3, event) => {
|
|
716617
|
+
if (disabled)
|
|
716618
|
+
return;
|
|
716619
|
+
if (!fleetActive) {
|
|
716620
|
+
if (!hasJobs)
|
|
716621
|
+
return;
|
|
716622
|
+
if (inputValue !== "")
|
|
716623
|
+
return;
|
|
716624
|
+
const downEntry = key3.downArrow;
|
|
716625
|
+
const leftEntry = key3.leftArrow && leftArrowOpensAgents;
|
|
716626
|
+
if (downEntry || leftEntry) {
|
|
716627
|
+
event.stopImmediatePropagation();
|
|
716628
|
+
setFleetActive(true);
|
|
716629
|
+
setSelectedIndex(0);
|
|
716630
|
+
setShowPreview(false);
|
|
716631
|
+
}
|
|
716632
|
+
return;
|
|
716633
|
+
}
|
|
716634
|
+
if (key3.upArrow) {
|
|
716635
|
+
event.stopImmediatePropagation();
|
|
716636
|
+
setSelectedIndex((i6) => fleetRows.running.length === 0 ? 0 : (i6 - 1 + fleetRows.running.length) % fleetRows.running.length);
|
|
716637
|
+
return;
|
|
716638
|
+
}
|
|
716639
|
+
if (key3.downArrow) {
|
|
716640
|
+
event.stopImmediatePropagation();
|
|
716641
|
+
setSelectedIndex((i6) => fleetRows.running.length === 0 ? 0 : (i6 + 1) % fleetRows.running.length);
|
|
716642
|
+
return;
|
|
716643
|
+
}
|
|
716644
|
+
if (key3.return) {
|
|
716645
|
+
event.stopImmediatePropagation();
|
|
716646
|
+
setShowPreview((v7) => !v7);
|
|
716647
|
+
return;
|
|
716648
|
+
}
|
|
716649
|
+
if (key3.escape) {
|
|
716650
|
+
event.stopImmediatePropagation();
|
|
716651
|
+
if (showPreview) {
|
|
716652
|
+
setShowPreview(false);
|
|
716653
|
+
} else {
|
|
716654
|
+
setFleetActive(false);
|
|
716655
|
+
}
|
|
716656
|
+
return;
|
|
716657
|
+
}
|
|
716658
|
+
}, { isActive: !disabled && (hasJobs || fleetActive) });
|
|
716659
|
+
if (!isAgentsFleetEnabled())
|
|
716660
|
+
return null;
|
|
716661
|
+
if (!hasJobs && !fleetActive)
|
|
716662
|
+
return null;
|
|
716663
|
+
return /* @__PURE__ */ jsx_dev_runtime459.jsxDEV(ThemedBox_default, {
|
|
716664
|
+
flexDirection: "column",
|
|
716665
|
+
width: "100%",
|
|
716666
|
+
flexShrink: 0,
|
|
716667
|
+
children: /* @__PURE__ */ jsx_dev_runtime459.jsxDEV(FleetView, {
|
|
716668
|
+
rows: fleetRows,
|
|
716669
|
+
focused: fleetActive,
|
|
716670
|
+
selectedIndex,
|
|
716671
|
+
showPreview,
|
|
716672
|
+
now: now2,
|
|
716673
|
+
terminalRows: rows
|
|
716674
|
+
}, undefined, false, undefined, this)
|
|
716675
|
+
}, undefined, false, undefined, this);
|
|
716676
|
+
}
|
|
716677
|
+
var React150, jsx_dev_runtime459;
|
|
716678
|
+
var init_FleetViewScreen = __esm(() => {
|
|
716679
|
+
init_ink2();
|
|
716680
|
+
init_AppState();
|
|
716681
|
+
init_useTerminalSize();
|
|
716682
|
+
init_settings2();
|
|
716683
|
+
init_rowHelpers();
|
|
716684
|
+
init_FleetView();
|
|
716685
|
+
React150 = __toESM(require_react(), 1);
|
|
716686
|
+
jsx_dev_runtime459 = __toESM(require_jsx_dev_runtime(), 1);
|
|
716687
|
+
});
|
|
716688
|
+
|
|
715950
716689
|
// src/hooks/useVoiceIntegration.tsx
|
|
715951
716690
|
var exports_useVoiceIntegration = {};
|
|
715952
716691
|
__export(exports_useVoiceIntegration, {
|
|
@@ -716891,7 +717630,7 @@ function TranscriptModeFooter(t0) {
|
|
|
716891
717630
|
const t22 = searchBadge ? " \xB7 n/N to navigate" : virtualScroll ? ` \xB7 ${figures_default.arrowUp}${figures_default.arrowDown} scroll \xB7 home/end top/bottom` : suppressShowAll ? "" : ` \xB7 ${showAllShortcut} to ${showAllInTranscript ? "collapse" : "show all"}`;
|
|
716892
717631
|
let t32;
|
|
716893
717632
|
if ($4[0] !== t22 || $4[1] !== toggleShortcut) {
|
|
716894
|
-
t32 = /* @__PURE__ */
|
|
717633
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
716895
717634
|
dimColor: true,
|
|
716896
717635
|
children: [
|
|
716897
717636
|
"Showing detailed transcript \xB7 ",
|
|
@@ -716908,24 +717647,24 @@ function TranscriptModeFooter(t0) {
|
|
|
716908
717647
|
}
|
|
716909
717648
|
let t4;
|
|
716910
717649
|
if ($4[3] !== searchBadge || $4[4] !== status2) {
|
|
716911
|
-
t4 = status2 ? /* @__PURE__ */
|
|
717650
|
+
t4 = status2 ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
716912
717651
|
children: [
|
|
716913
|
-
/* @__PURE__ */
|
|
717652
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
716914
717653
|
flexGrow: 1
|
|
716915
717654
|
}, undefined, false, undefined, this),
|
|
716916
|
-
/* @__PURE__ */
|
|
717655
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
716917
717656
|
children: [
|
|
716918
717657
|
status2,
|
|
716919
717658
|
" "
|
|
716920
717659
|
]
|
|
716921
717660
|
}, undefined, true, undefined, this)
|
|
716922
717661
|
]
|
|
716923
|
-
}, undefined, true, undefined, this) : searchBadge ? /* @__PURE__ */
|
|
717662
|
+
}, undefined, true, undefined, this) : searchBadge ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
716924
717663
|
children: [
|
|
716925
|
-
/* @__PURE__ */
|
|
717664
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
716926
717665
|
flexGrow: 1
|
|
716927
717666
|
}, undefined, false, undefined, this),
|
|
716928
|
-
/* @__PURE__ */
|
|
717667
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
716929
717668
|
dimColor: true,
|
|
716930
717669
|
children: [
|
|
716931
717670
|
searchBadge.current,
|
|
@@ -716944,7 +717683,7 @@ function TranscriptModeFooter(t0) {
|
|
|
716944
717683
|
}
|
|
716945
717684
|
let t5;
|
|
716946
717685
|
if ($4[6] !== t32 || $4[7] !== t4) {
|
|
716947
|
-
t5 = /* @__PURE__ */
|
|
717686
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
716948
717687
|
noSelect: true,
|
|
716949
717688
|
alignItems: "center",
|
|
716950
717689
|
alignSelf: "center",
|
|
@@ -716987,8 +717726,8 @@ function TranscriptSearchBar({
|
|
|
716987
717726
|
onExit: () => onClose(query2),
|
|
716988
717727
|
onCancel
|
|
716989
717728
|
});
|
|
716990
|
-
const [indexStatus, setIndexStatus] =
|
|
716991
|
-
|
|
717729
|
+
const [indexStatus, setIndexStatus] = React151.useState("building");
|
|
717730
|
+
React151.useEffect(() => {
|
|
716992
717731
|
let alive = true;
|
|
716993
717732
|
const warm = jumpRef.current?.warmSearchIndex;
|
|
716994
717733
|
if (!warm) {
|
|
@@ -717021,7 +717760,7 @@ function TranscriptSearchBar({
|
|
|
717021
717760
|
}, [query2, warmDone]);
|
|
717022
717761
|
const off = cursorOffset;
|
|
717023
717762
|
const cursorChar = off < query2.length ? query2[off] : " ";
|
|
717024
|
-
return /* @__PURE__ */
|
|
717763
|
+
return /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
717025
717764
|
borderTopDimColor: true,
|
|
717026
717765
|
borderBottom: false,
|
|
717027
717766
|
borderLeft: false,
|
|
@@ -717032,36 +717771,36 @@ function TranscriptSearchBar({
|
|
|
717032
717771
|
width: "100%",
|
|
717033
717772
|
noSelect: true,
|
|
717034
717773
|
children: [
|
|
717035
|
-
/* @__PURE__ */
|
|
717774
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717036
717775
|
children: "/"
|
|
717037
717776
|
}, undefined, false, undefined, this),
|
|
717038
|
-
/* @__PURE__ */
|
|
717777
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717039
717778
|
children: query2.slice(0, off)
|
|
717040
717779
|
}, undefined, false, undefined, this),
|
|
717041
|
-
/* @__PURE__ */
|
|
717780
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717042
717781
|
inverse: true,
|
|
717043
717782
|
children: cursorChar
|
|
717044
717783
|
}, undefined, false, undefined, this),
|
|
717045
|
-
off < query2.length && /* @__PURE__ */
|
|
717784
|
+
off < query2.length && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717046
717785
|
children: query2.slice(off + 1)
|
|
717047
717786
|
}, undefined, false, undefined, this),
|
|
717048
|
-
/* @__PURE__ */
|
|
717787
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
717049
717788
|
flexGrow: 1
|
|
717050
717789
|
}, undefined, false, undefined, this),
|
|
717051
|
-
indexStatus === "building" ? /* @__PURE__ */
|
|
717790
|
+
indexStatus === "building" ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717052
717791
|
dimColor: true,
|
|
717053
717792
|
children: "indexing\u2026 "
|
|
717054
|
-
}, undefined, false, undefined, this) : indexStatus ? /* @__PURE__ */
|
|
717793
|
+
}, undefined, false, undefined, this) : indexStatus ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717055
717794
|
dimColor: true,
|
|
717056
717795
|
children: [
|
|
717057
717796
|
"indexed in ",
|
|
717058
717797
|
indexStatus.ms,
|
|
717059
717798
|
"ms "
|
|
717060
717799
|
]
|
|
717061
|
-
}, undefined, true, undefined, this) : count4 === 0 && query2 ? /* @__PURE__ */
|
|
717800
|
+
}, undefined, true, undefined, this) : count4 === 0 && query2 ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717062
717801
|
color: "error",
|
|
717063
717802
|
children: "no matches "
|
|
717064
|
-
}, undefined, false, undefined, this) : count4 > 0 ? /* @__PURE__ */
|
|
717803
|
+
}, undefined, false, undefined, this) : count4 > 0 ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717065
717804
|
dimColor: true,
|
|
717066
717805
|
children: [
|
|
717067
717806
|
current,
|
|
@@ -717205,7 +717944,7 @@ function REPL({
|
|
|
717205
717944
|
const mainLoopModel = useMainLoopModel();
|
|
717206
717945
|
const [localCommands, setLocalCommands] = import_react316.useState(initialCommands);
|
|
717207
717946
|
useSkillsChange(isRemoteSession ? undefined : getProjectRoot(), setLocalCommands);
|
|
717208
|
-
const proactiveActive =
|
|
717947
|
+
const proactiveActive = React151.useSyncExternalStore(proactiveModule8?.subscribeToProactiveChanges ?? PROACTIVE_NO_OP_SUBSCRIBE, proactiveModule8?.isProactiveActive ?? PROACTIVE_FALSE);
|
|
717209
717948
|
const isBriefOnly = useAppState((s4) => s4.isBriefOnly);
|
|
717210
717949
|
const localTools = import_react316.useMemo(() => getTools(toolPermissionContext), [toolPermissionContext, proactiveActive, isBriefOnly]);
|
|
717211
717950
|
useKickOffCheckAndDisableBypassPermissionsIfNeeded();
|
|
@@ -717333,36 +718072,36 @@ function REPL({
|
|
|
717333
718072
|
const scrollRef = import_react316.useRef(null);
|
|
717334
718073
|
const modalScrollRef = import_react316.useRef(null);
|
|
717335
718074
|
const lastUserScrollTsRef = import_react316.useRef(0);
|
|
717336
|
-
const queryGuard =
|
|
717337
|
-
const isQueryActive =
|
|
717338
|
-
const [isExternalLoading, setIsExternalLoadingRaw] =
|
|
718075
|
+
const queryGuard = React151.useRef(new QueryGuard).current;
|
|
718076
|
+
const isQueryActive = React151.useSyncExternalStore(queryGuard.subscribe, queryGuard.getSnapshot);
|
|
718077
|
+
const [isExternalLoading, setIsExternalLoadingRaw] = React151.useState(remoteSessionConfig?.hasInitialPrompt ?? false);
|
|
717339
718078
|
const isLoading = isQueryActive || isExternalLoading;
|
|
717340
|
-
const [userInputOnProcessing, setUserInputOnProcessingRaw] =
|
|
717341
|
-
const userInputBaselineRef =
|
|
717342
|
-
const userMessagePendingRef =
|
|
717343
|
-
const loadingStartTimeRef =
|
|
717344
|
-
const totalPausedMsRef =
|
|
717345
|
-
const pauseStartTimeRef =
|
|
717346
|
-
const resetTimingRefs =
|
|
718079
|
+
const [userInputOnProcessing, setUserInputOnProcessingRaw] = React151.useState(undefined);
|
|
718080
|
+
const userInputBaselineRef = React151.useRef(0);
|
|
718081
|
+
const userMessagePendingRef = React151.useRef(false);
|
|
718082
|
+
const loadingStartTimeRef = React151.useRef(0);
|
|
718083
|
+
const totalPausedMsRef = React151.useRef(0);
|
|
718084
|
+
const pauseStartTimeRef = React151.useRef(null);
|
|
718085
|
+
const resetTimingRefs = React151.useCallback(() => {
|
|
717347
718086
|
loadingStartTimeRef.current = Date.now();
|
|
717348
718087
|
totalPausedMsRef.current = 0;
|
|
717349
718088
|
pauseStartTimeRef.current = null;
|
|
717350
718089
|
}, []);
|
|
717351
|
-
const wasQueryActiveRef =
|
|
718090
|
+
const wasQueryActiveRef = React151.useRef(false);
|
|
717352
718091
|
if (isQueryActive && !wasQueryActiveRef.current) {
|
|
717353
718092
|
resetTimingRefs();
|
|
717354
718093
|
}
|
|
717355
718094
|
wasQueryActiveRef.current = isQueryActive;
|
|
717356
|
-
const setIsExternalLoading =
|
|
718095
|
+
const setIsExternalLoading = React151.useCallback((value) => {
|
|
717357
718096
|
setIsExternalLoadingRaw(value);
|
|
717358
718097
|
if (value)
|
|
717359
718098
|
resetTimingRefs();
|
|
717360
718099
|
}, [resetTimingRefs]);
|
|
717361
|
-
const swarmStartTimeRef =
|
|
717362
|
-
const swarmBudgetInfoRef =
|
|
717363
|
-
const focusedInputDialogRef =
|
|
718100
|
+
const swarmStartTimeRef = React151.useRef(null);
|
|
718101
|
+
const swarmBudgetInfoRef = React151.useRef(undefined);
|
|
718102
|
+
const focusedInputDialogRef = React151.useRef(undefined);
|
|
717364
718103
|
const PROMPT_SUPPRESSION_MS = 1500;
|
|
717365
|
-
const [isPromptInputActive, setIsPromptInputActive] =
|
|
718104
|
+
const [isPromptInputActive, setIsPromptInputActive] = React151.useState(false);
|
|
717366
718105
|
const [autoUpdaterResult, setAutoUpdaterResult] = import_react316.useState(null);
|
|
717367
718106
|
import_react316.useEffect(() => {
|
|
717368
718107
|
if (autoUpdaterResult?.notifications) {
|
|
@@ -717653,7 +718392,7 @@ function REPL({
|
|
|
717653
718392
|
const terminalFocusRef = import_react316.useRef(isTerminalFocused);
|
|
717654
718393
|
terminalFocusRef.current = isTerminalFocused;
|
|
717655
718394
|
const [theme2] = useTheme();
|
|
717656
|
-
const tipPickedThisTurnRef =
|
|
718395
|
+
const tipPickedThisTurnRef = React151.useRef(false);
|
|
717657
718396
|
const pickNewSpinnerTip = import_react316.useCallback(() => {
|
|
717658
718397
|
if (tipPickedThisTurnRef.current)
|
|
717659
718398
|
return;
|
|
@@ -718217,13 +718956,13 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
718217
718956
|
});
|
|
718218
718957
|
addNotification({
|
|
718219
718958
|
key: "sandbox-unavailable",
|
|
718220
|
-
jsx: /* @__PURE__ */
|
|
718959
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
718221
718960
|
children: [
|
|
718222
|
-
/* @__PURE__ */
|
|
718961
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
718223
718962
|
color: "warning",
|
|
718224
718963
|
children: "sandbox disabled"
|
|
718225
718964
|
}, undefined, false, undefined, this),
|
|
718226
|
-
/* @__PURE__ */
|
|
718965
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
718227
718966
|
dimColor: true,
|
|
718228
718967
|
children: " \xB7 /sandbox"
|
|
718229
718968
|
}, undefined, false, undefined, this)
|
|
@@ -719079,7 +719818,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
719079
719818
|
logForDebugging(`resumeAgentBackground failed: ${errorMessage(err2)}`);
|
|
719080
719819
|
addNotification({
|
|
719081
719820
|
key: `resume-agent-failed-${task.id}`,
|
|
719082
|
-
jsx: /* @__PURE__ */
|
|
719821
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719083
719822
|
color: "error",
|
|
719084
719823
|
children: [
|
|
719085
719824
|
"Failed to resume agent: ",
|
|
@@ -719141,7 +719880,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
719141
719880
|
}
|
|
719142
719881
|
const showWorktree = getCurrentWorktreeSession() !== null;
|
|
719143
719882
|
if (showWorktree) {
|
|
719144
|
-
setExitFlow(/* @__PURE__ */
|
|
719883
|
+
setExitFlow(/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ExitFlow, {
|
|
719145
719884
|
showWorktree: true,
|
|
719146
719885
|
onDone: () => {},
|
|
719147
719886
|
onCancel: () => {
|
|
@@ -719389,21 +720128,21 @@ ${fileList}`);
|
|
|
719389
720128
|
const idleMinutes = (Date.now() - lqct) / 60000;
|
|
719390
720129
|
addNotif({
|
|
719391
720130
|
key: "idle-return-hint",
|
|
719392
|
-
jsx: mode === "hint_v2" ? /* @__PURE__ */
|
|
720131
|
+
jsx: mode === "hint_v2" ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
719393
720132
|
children: [
|
|
719394
|
-
/* @__PURE__ */
|
|
720133
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719395
720134
|
dimColor: true,
|
|
719396
720135
|
children: "new task? "
|
|
719397
720136
|
}, undefined, false, undefined, this),
|
|
719398
|
-
/* @__PURE__ */
|
|
720137
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719399
720138
|
color: "suggestion",
|
|
719400
720139
|
children: "/clear"
|
|
719401
720140
|
}, undefined, false, undefined, this),
|
|
719402
|
-
/* @__PURE__ */
|
|
720141
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719403
720142
|
dimColor: true,
|
|
719404
720143
|
children: " to save "
|
|
719405
720144
|
}, undefined, false, undefined, this),
|
|
719406
|
-
/* @__PURE__ */
|
|
720145
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719407
720146
|
color: "suggestion",
|
|
719408
720147
|
children: [
|
|
719409
720148
|
formattedTokens,
|
|
@@ -719411,7 +720150,7 @@ ${fileList}`);
|
|
|
719411
720150
|
]
|
|
719412
720151
|
}, undefined, true, undefined, this)
|
|
719413
720152
|
]
|
|
719414
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
720153
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719415
720154
|
color: "warning",
|
|
719416
720155
|
children: [
|
|
719417
720156
|
"new task? /clear to save ",
|
|
@@ -719586,8 +720325,8 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719586
720325
|
setPositions
|
|
719587
720326
|
} = useSearchHighlight();
|
|
719588
720327
|
const transcriptCols = useTerminalSize().columns;
|
|
719589
|
-
const prevColsRef =
|
|
719590
|
-
|
|
720328
|
+
const prevColsRef = React151.useRef(transcriptCols);
|
|
720329
|
+
React151.useEffect(() => {
|
|
719591
720330
|
if (prevColsRef.current !== transcriptCols) {
|
|
719592
720331
|
prevColsRef.current = transcriptCols;
|
|
719593
720332
|
if (searchQuery || searchOpen) {
|
|
@@ -719683,7 +720422,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719683
720422
|
useTeammateViewAutoExit();
|
|
719684
720423
|
if (screen === "transcript") {
|
|
719685
720424
|
const transcriptScrollRef = isFullscreenEnvEnabled() && !disableVirtualScroll && !dumpMode ? scrollRef : undefined;
|
|
719686
|
-
const transcriptMessagesElement = /* @__PURE__ */
|
|
720425
|
+
const transcriptMessagesElement = /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(Messages4, {
|
|
719687
720426
|
messages: transcriptMessages,
|
|
719688
720427
|
tools,
|
|
719689
720428
|
commands: commands7,
|
|
@@ -719708,51 +720447,51 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719708
720447
|
setPositions,
|
|
719709
720448
|
disableRenderCap: dumpMode
|
|
719710
720449
|
}, undefined, false, undefined, this);
|
|
719711
|
-
const transcriptToolJSX = toolJSX && /* @__PURE__ */
|
|
720450
|
+
const transcriptToolJSX = toolJSX && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719712
720451
|
flexDirection: "column",
|
|
719713
720452
|
width: "100%",
|
|
719714
720453
|
children: toolJSX.jsx
|
|
719715
720454
|
}, undefined, false, undefined, this);
|
|
719716
|
-
const transcriptReturn = /* @__PURE__ */
|
|
720455
|
+
const transcriptReturn = /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(KeybindingSetup, {
|
|
719717
720456
|
children: [
|
|
719718
|
-
/* @__PURE__ */
|
|
720457
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AnimatedTerminalTitle, {
|
|
719719
720458
|
isAnimating: titleIsAnimating,
|
|
719720
720459
|
title: terminalTitle,
|
|
719721
720460
|
disabled: titleDisabled,
|
|
719722
720461
|
noPrefix: showStatusInTerminalTab
|
|
719723
720462
|
}, undefined, false, undefined, this),
|
|
719724
|
-
/* @__PURE__ */
|
|
720463
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(GlobalKeybindingHandlers, {
|
|
719725
720464
|
...globalKeybindingProps
|
|
719726
720465
|
}, undefined, false, undefined, this),
|
|
719727
|
-
feature("VOICE_MODE") ? /* @__PURE__ */
|
|
720466
|
+
feature("VOICE_MODE") ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(VoiceKeybindingHandler2, {
|
|
719728
720467
|
voiceHandleKeyEvent: voice2.handleKeyEvent,
|
|
719729
720468
|
stripTrailing: voice2.stripTrailing,
|
|
719730
720469
|
resetAnchor: voice2.resetAnchor,
|
|
719731
720470
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
719732
720471
|
}, undefined, false, undefined, this) : null,
|
|
719733
|
-
/* @__PURE__ */
|
|
720472
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CommandKeybindingHandlers, {
|
|
719734
720473
|
onSubmit,
|
|
719735
720474
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
719736
720475
|
}, undefined, false, undefined, this),
|
|
719737
|
-
transcriptScrollRef ? /* @__PURE__ */
|
|
720476
|
+
transcriptScrollRef ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ScrollKeybindingHandler, {
|
|
719738
720477
|
scrollRef,
|
|
719739
720478
|
isActive: focusedInputDialog !== "ultraplan-choice",
|
|
719740
720479
|
isModal: !searchOpen,
|
|
719741
720480
|
onScroll: () => jumpRef.current?.disarmSearch()
|
|
719742
720481
|
}, undefined, false, undefined, this) : null,
|
|
719743
|
-
/* @__PURE__ */
|
|
720482
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CancelRequestHandler, {
|
|
719744
720483
|
...cancelRequestProps
|
|
719745
720484
|
}, undefined, false, undefined, this),
|
|
719746
|
-
transcriptScrollRef ? /* @__PURE__ */
|
|
720485
|
+
transcriptScrollRef ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FullscreenLayout, {
|
|
719747
720486
|
scrollRef,
|
|
719748
|
-
scrollable: /* @__PURE__ */
|
|
720487
|
+
scrollable: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
719749
720488
|
children: [
|
|
719750
720489
|
transcriptMessagesElement,
|
|
719751
720490
|
transcriptToolJSX,
|
|
719752
|
-
/* @__PURE__ */
|
|
720491
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SandboxViolationExpandedView, {}, undefined, false, undefined, this)
|
|
719753
720492
|
]
|
|
719754
720493
|
}, undefined, true, undefined, this),
|
|
719755
|
-
bottom: searchOpen ? /* @__PURE__ */
|
|
720494
|
+
bottom: searchOpen ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(TranscriptSearchBar, {
|
|
719756
720495
|
jumpRef,
|
|
719757
720496
|
initialQuery: "",
|
|
719758
720497
|
count: searchCount,
|
|
@@ -719773,7 +720512,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719773
720512
|
setHighlight(searchQuery);
|
|
719774
720513
|
},
|
|
719775
720514
|
setHighlight
|
|
719776
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
720515
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(TranscriptModeFooter, {
|
|
719777
720516
|
showAllInTranscript,
|
|
719778
720517
|
virtualScroll: true,
|
|
719779
720518
|
status: editorStatus || undefined,
|
|
@@ -719782,12 +720521,12 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719782
720521
|
count: searchCount
|
|
719783
720522
|
} : undefined
|
|
719784
720523
|
}, undefined, false, undefined, this)
|
|
719785
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
720524
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
719786
720525
|
children: [
|
|
719787
720526
|
transcriptMessagesElement,
|
|
719788
720527
|
transcriptToolJSX,
|
|
719789
|
-
/* @__PURE__ */
|
|
719790
|
-
/* @__PURE__ */
|
|
720528
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SandboxViolationExpandedView, {}, undefined, false, undefined, this),
|
|
720529
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(TranscriptModeFooter, {
|
|
719791
720530
|
showAllInTranscript,
|
|
719792
720531
|
virtualScroll: false,
|
|
719793
720532
|
suppressShowAll: dumpMode,
|
|
@@ -719798,7 +720537,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719798
720537
|
]
|
|
719799
720538
|
}, undefined, true, undefined, this);
|
|
719800
720539
|
if (transcriptScrollRef) {
|
|
719801
|
-
return /* @__PURE__ */
|
|
720540
|
+
return /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AlternateScreen, {
|
|
719802
720541
|
mouseTracking: isMouseTrackingEnabled(),
|
|
719803
720542
|
children: transcriptReturn
|
|
719804
720543
|
}, undefined, false, undefined, this);
|
|
@@ -719811,7 +720550,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719811
720550
|
const usesSyncMessages = showStreamingText || !isLoading;
|
|
719812
720551
|
const displayedMessages = viewedAgentTask ? viewedAgentTask.messages ?? [] : usesSyncMessages ? messages : deferredMessages;
|
|
719813
720552
|
const placeholderText = userInputOnProcessing && !viewedAgentTask && displayedMessages.length <= userInputBaselineRef.current ? userInputOnProcessing : undefined;
|
|
719814
|
-
const toolPermissionOverlay = focusedInputDialog === "tool-permission" ? /* @__PURE__ */
|
|
720553
|
+
const toolPermissionOverlay = focusedInputDialog === "tool-permission" ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(PermissionRequest, {
|
|
719815
720554
|
onDone: () => setToolUseConfirmQueue(([_2, ...tail]) => tail),
|
|
719816
720555
|
onReject: handleQueuedCommandOnCancel,
|
|
719817
720556
|
toolUseConfirm: toolUseConfirmQueue[0],
|
|
@@ -719824,46 +720563,46 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719824
720563
|
const companionVisible = !toolJSX?.shouldHidePromptInput && !focusedInputDialog && !showBashesDialog;
|
|
719825
720564
|
const toolJsxCentered = isFullscreenEnvEnabled() && toolJSX?.isLocalJSXCommand === true;
|
|
719826
720565
|
const centeredModal = toolJsxCentered ? toolJSX.jsx : null;
|
|
719827
|
-
const mainReturn = /* @__PURE__ */
|
|
720566
|
+
const mainReturn = /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(KeybindingSetup, {
|
|
719828
720567
|
children: [
|
|
719829
|
-
/* @__PURE__ */
|
|
720568
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AnimatedTerminalTitle, {
|
|
719830
720569
|
isAnimating: titleIsAnimating,
|
|
719831
720570
|
title: terminalTitle,
|
|
719832
720571
|
disabled: titleDisabled,
|
|
719833
720572
|
noPrefix: showStatusInTerminalTab
|
|
719834
720573
|
}, undefined, false, undefined, this),
|
|
719835
|
-
/* @__PURE__ */
|
|
720574
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(GlobalKeybindingHandlers, {
|
|
719836
720575
|
...globalKeybindingProps
|
|
719837
720576
|
}, undefined, false, undefined, this),
|
|
719838
|
-
feature("VOICE_MODE") ? /* @__PURE__ */
|
|
720577
|
+
feature("VOICE_MODE") ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(VoiceKeybindingHandler2, {
|
|
719839
720578
|
voiceHandleKeyEvent: voice2.handleKeyEvent,
|
|
719840
720579
|
stripTrailing: voice2.stripTrailing,
|
|
719841
720580
|
resetAnchor: voice2.resetAnchor,
|
|
719842
720581
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
719843
720582
|
}, undefined, false, undefined, this) : null,
|
|
719844
|
-
/* @__PURE__ */
|
|
720583
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CommandKeybindingHandlers, {
|
|
719845
720584
|
onSubmit,
|
|
719846
720585
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
719847
720586
|
}, undefined, false, undefined, this),
|
|
719848
|
-
/* @__PURE__ */
|
|
720587
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ScrollKeybindingHandler, {
|
|
719849
720588
|
scrollRef,
|
|
719850
720589
|
isActive: isFullscreenEnvEnabled() && (centeredModal != null || !focusedInputDialog || focusedInputDialog === "tool-permission"),
|
|
719851
720590
|
onScroll: centeredModal || toolPermissionOverlay || viewedAgentTask ? undefined : composedOnScroll
|
|
719852
720591
|
}, undefined, false, undefined, this),
|
|
719853
|
-
feature("MESSAGE_ACTIONS") && isFullscreenEnvEnabled() && !disableMessageActions ? /* @__PURE__ */
|
|
720592
|
+
feature("MESSAGE_ACTIONS") && isFullscreenEnvEnabled() && !disableMessageActions ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(MessageActionsKeybindings, {
|
|
719854
720593
|
handlers: messageActionHandlers,
|
|
719855
720594
|
isActive: cursor !== null
|
|
719856
720595
|
}, undefined, false, undefined, this) : null,
|
|
719857
|
-
/* @__PURE__ */
|
|
720596
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CancelRequestHandler, {
|
|
719858
720597
|
...cancelRequestProps
|
|
719859
720598
|
}, undefined, false, undefined, this),
|
|
719860
|
-
/* @__PURE__ */
|
|
720599
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(MCPConnectionManager, {
|
|
719861
720600
|
dynamicMcpConfig,
|
|
719862
720601
|
isStrictMcpConfig: strictMcpConfig,
|
|
719863
|
-
children: /* @__PURE__ */
|
|
720602
|
+
children: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FullscreenLayout, {
|
|
719864
720603
|
scrollRef,
|
|
719865
720604
|
overlay: toolPermissionOverlay,
|
|
719866
|
-
bottomFloat: feature("BUDDY") && companionVisible && !companionNarrow ? /* @__PURE__ */
|
|
720605
|
+
bottomFloat: feature("BUDDY") && companionVisible && !companionNarrow ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CompanionFloatingBubble, {}, undefined, false, undefined, this) : undefined,
|
|
719867
720606
|
modal: centeredModal,
|
|
719868
720607
|
modalScrollRef,
|
|
719869
720608
|
dividerYRef,
|
|
@@ -719874,10 +720613,10 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719874
720613
|
setCursor(null);
|
|
719875
720614
|
jumpToNew(scrollRef.current);
|
|
719876
720615
|
},
|
|
719877
|
-
scrollable: /* @__PURE__ */
|
|
720616
|
+
scrollable: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
719878
720617
|
children: [
|
|
719879
|
-
/* @__PURE__ */
|
|
719880
|
-
/* @__PURE__ */
|
|
720618
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(TeammateViewHeader, {}, undefined, false, undefined, this),
|
|
720619
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(Messages4, {
|
|
719881
720620
|
messages: displayedMessages,
|
|
719882
720621
|
tools,
|
|
719883
720622
|
commands: commands7,
|
|
@@ -719902,8 +720641,8 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719902
720641
|
setCursor,
|
|
719903
720642
|
cursorNavRef
|
|
719904
720643
|
}, undefined, false, undefined, this),
|
|
719905
|
-
/* @__PURE__ */
|
|
719906
|
-
!disabled && placeholderText && !centeredModal && /* @__PURE__ */
|
|
720644
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AwsAuthStatusBox, {}, undefined, false, undefined, this),
|
|
720645
|
+
!disabled && placeholderText && !centeredModal && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(UserTextMessage, {
|
|
719907
720646
|
param: {
|
|
719908
720647
|
text: placeholderText,
|
|
719909
720648
|
type: "text"
|
|
@@ -719911,17 +720650,17 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719911
720650
|
addMargin: true,
|
|
719912
720651
|
verbose
|
|
719913
720652
|
}, undefined, false, undefined, this),
|
|
719914
|
-
toolJSX && !(toolJSX.isLocalJSXCommand && toolJSX.isImmediate) && !toolJsxCentered && /* @__PURE__ */
|
|
720653
|
+
toolJSX && !(toolJSX.isLocalJSXCommand && toolJSX.isImmediate) && !toolJsxCentered && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719915
720654
|
flexDirection: "column",
|
|
719916
720655
|
width: "100%",
|
|
719917
720656
|
children: toolJSX.jsx
|
|
719918
720657
|
}, undefined, false, undefined, this),
|
|
719919
720658
|
false,
|
|
719920
|
-
feature("WEB_BROWSER_TOOL") ? WebBrowserPanelModule && /* @__PURE__ */
|
|
719921
|
-
/* @__PURE__ */
|
|
720659
|
+
feature("WEB_BROWSER_TOOL") ? WebBrowserPanelModule && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(WebBrowserPanelModule.WebBrowserPanel, {}, undefined, false, undefined, this) : null,
|
|
720660
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719922
720661
|
flexGrow: 1
|
|
719923
720662
|
}, undefined, false, undefined, this),
|
|
719924
|
-
showSpinner && /* @__PURE__ */
|
|
720663
|
+
showSpinner && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SpinnerWithVerb, {
|
|
719925
720664
|
mode: streamMode,
|
|
719926
720665
|
spinnerTip,
|
|
719927
720666
|
responseLengthRef,
|
|
@@ -719937,35 +720676,35 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719937
720676
|
hasActiveTools: inProgressToolUseIDs.size > 0,
|
|
719938
720677
|
leaderIsIdle: !isLoading
|
|
719939
720678
|
}, undefined, false, undefined, this),
|
|
719940
|
-
!showSpinner && !isLoading && !userInputOnProcessing && !hasRunningTeammates && isBriefOnly && !viewedAgentTask && /* @__PURE__ */
|
|
719941
|
-
isFullscreenEnvEnabled() && /* @__PURE__ */
|
|
720679
|
+
!showSpinner && !isLoading && !userInputOnProcessing && !hasRunningTeammates && isBriefOnly && !viewedAgentTask && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(BriefIdleStatus, {}, undefined, false, undefined, this),
|
|
720680
|
+
isFullscreenEnvEnabled() && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(PromptInputQueuedCommands, {}, undefined, false, undefined, this)
|
|
719942
720681
|
]
|
|
719943
720682
|
}, undefined, true, undefined, this),
|
|
719944
|
-
bottom: /* @__PURE__ */
|
|
720683
|
+
bottom: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719945
720684
|
flexDirection: feature("BUDDY") && companionNarrow ? "column" : "row",
|
|
719946
720685
|
width: "100%",
|
|
719947
720686
|
alignItems: feature("BUDDY") && companionNarrow ? undefined : "flex-end",
|
|
719948
720687
|
children: [
|
|
719949
|
-
feature("BUDDY") && companionNarrow && isFullscreenEnvEnabled() && companionVisible ? /* @__PURE__ */
|
|
719950
|
-
/* @__PURE__ */
|
|
720688
|
+
feature("BUDDY") && companionNarrow && isFullscreenEnvEnabled() && companionVisible ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CompanionSprite, {}, undefined, false, undefined, this) : null,
|
|
720689
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719951
720690
|
flexDirection: "column",
|
|
719952
720691
|
flexGrow: 1,
|
|
719953
720692
|
children: [
|
|
719954
720693
|
permissionStickyFooter,
|
|
719955
|
-
toolJSX?.isLocalJSXCommand && toolJSX.isImmediate && !toolJsxCentered && /* @__PURE__ */
|
|
720694
|
+
toolJSX?.isLocalJSXCommand && toolJSX.isImmediate && !toolJsxCentered && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719956
720695
|
flexDirection: "column",
|
|
719957
720696
|
width: "100%",
|
|
719958
720697
|
children: toolJSX.jsx
|
|
719959
720698
|
}, undefined, false, undefined, this),
|
|
719960
|
-
!showSpinner && !toolJSX?.isLocalJSXCommand && showExpandedTodos && tasksV2 && tasksV2.length > 0 && /* @__PURE__ */
|
|
720699
|
+
!showSpinner && !toolJSX?.isLocalJSXCommand && showExpandedTodos && tasksV2 && tasksV2.length > 0 && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719961
720700
|
width: "100%",
|
|
719962
720701
|
flexDirection: "column",
|
|
719963
|
-
children: /* @__PURE__ */
|
|
720702
|
+
children: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(TaskListV2, {
|
|
719964
720703
|
tasks: tasksV2,
|
|
719965
720704
|
isStandalone: true
|
|
719966
720705
|
}, undefined, false, undefined, this)
|
|
719967
720706
|
}, undefined, false, undefined, this),
|
|
719968
|
-
focusedInputDialog === "sandbox-permission" && /* @__PURE__ */
|
|
720707
|
+
focusedInputDialog === "sandbox-permission" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SandboxPermissionRequest, {
|
|
719969
720708
|
hostPattern: sandboxPermissionRequestQueue[0].hostPattern,
|
|
719970
720709
|
onUserResponse: (response3) => {
|
|
719971
720710
|
const {
|
|
@@ -720006,7 +720745,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720006
720745
|
}
|
|
720007
720746
|
}
|
|
720008
720747
|
}, sandboxPermissionRequestQueue[0].hostPattern.host, false, undefined, this),
|
|
720009
|
-
focusedInputDialog === "prompt" && /* @__PURE__ */
|
|
720748
|
+
focusedInputDialog === "prompt" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(PromptDialog, {
|
|
720010
720749
|
title: promptQueue[0].title,
|
|
720011
720750
|
toolInputSummary: promptQueue[0].toolInputSummary,
|
|
720012
720751
|
request: promptQueue[0].request,
|
|
@@ -720028,15 +720767,15 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720028
720767
|
setPromptQueue(([, ...tail]) => tail);
|
|
720029
720768
|
}
|
|
720030
720769
|
}, promptQueue[0].request.prompt, false, undefined, this),
|
|
720031
|
-
pendingWorkerRequest && /* @__PURE__ */
|
|
720770
|
+
pendingWorkerRequest && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(WorkerPendingPermission, {
|
|
720032
720771
|
toolName: pendingWorkerRequest.toolName,
|
|
720033
720772
|
description: pendingWorkerRequest.description
|
|
720034
720773
|
}, undefined, false, undefined, this),
|
|
720035
|
-
pendingSandboxRequest && /* @__PURE__ */
|
|
720774
|
+
pendingSandboxRequest && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(WorkerPendingPermission, {
|
|
720036
720775
|
toolName: "Network Access",
|
|
720037
720776
|
description: `Waiting for leader to approve network access to ${pendingSandboxRequest.host}`
|
|
720038
720777
|
}, undefined, false, undefined, this),
|
|
720039
|
-
focusedInputDialog === "worker-sandbox-permission" && /* @__PURE__ */
|
|
720778
|
+
focusedInputDialog === "worker-sandbox-permission" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SandboxPermissionRequest, {
|
|
720040
720779
|
hostPattern: {
|
|
720041
720780
|
host: workerSandboxPermissions.queue[0].host,
|
|
720042
720781
|
port: undefined
|
|
@@ -720077,7 +720816,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720077
720816
|
}));
|
|
720078
720817
|
}
|
|
720079
720818
|
}, workerSandboxPermissions.queue[0].requestId, false, undefined, this),
|
|
720080
|
-
focusedInputDialog === "elicitation" && /* @__PURE__ */
|
|
720819
|
+
focusedInputDialog === "elicitation" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ElicitationDialog, {
|
|
720081
720820
|
event: elicitation.queue[0],
|
|
720082
720821
|
onResponse: (action2, content) => {
|
|
720083
720822
|
const currentRequest = elicitation.queue[0];
|
|
@@ -720108,7 +720847,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720108
720847
|
currentRequest?.onWaitingDismiss?.(action2);
|
|
720109
720848
|
}
|
|
720110
720849
|
}, elicitation.queue[0].serverName + ":" + String(elicitation.queue[0].requestId), false, undefined, this),
|
|
720111
|
-
focusedInputDialog === "cost" && /* @__PURE__ */
|
|
720850
|
+
focusedInputDialog === "cost" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CostThresholdDialog, {
|
|
720112
720851
|
onDone: () => {
|
|
720113
720852
|
setShowCostDialog(false);
|
|
720114
720853
|
setHaveShownCostDialog(true);
|
|
@@ -720119,7 +720858,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720119
720858
|
logEvent("tengu_cost_threshold_acknowledged", {});
|
|
720120
720859
|
}
|
|
720121
720860
|
}, undefined, false, undefined, this),
|
|
720122
|
-
focusedInputDialog === "idle-return" && idleReturnPending && /* @__PURE__ */
|
|
720861
|
+
focusedInputDialog === "idle-return" && idleReturnPending && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(IdleReturnDialog, {
|
|
720123
720862
|
idleMinutes: idleReturnPending.idleMinutes,
|
|
720124
720863
|
totalInputTokens: getTotalInputTokens(),
|
|
720125
720864
|
onDone: async (action2) => {
|
|
@@ -720171,13 +720910,13 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720171
720910
|
});
|
|
720172
720911
|
}
|
|
720173
720912
|
}, undefined, false, undefined, this),
|
|
720174
|
-
focusedInputDialog === "ide-onboarding" && /* @__PURE__ */
|
|
720913
|
+
focusedInputDialog === "ide-onboarding" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(IdeOnboardingDialog, {
|
|
720175
720914
|
onDone: () => setShowIdeOnboarding(false),
|
|
720176
720915
|
installationStatus: ideInstallationStatus
|
|
720177
720916
|
}, undefined, false, undefined, this),
|
|
720178
720917
|
false,
|
|
720179
720918
|
false,
|
|
720180
|
-
focusedInputDialog === "effort-callout" && /* @__PURE__ */
|
|
720919
|
+
focusedInputDialog === "effort-callout" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(EffortCallout, {
|
|
720181
720920
|
model: mainLoopModel,
|
|
720182
720921
|
onDone: (selection) => {
|
|
720183
720922
|
setShowEffortCallout(false);
|
|
@@ -720189,7 +720928,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720189
720928
|
}
|
|
720190
720929
|
}
|
|
720191
720930
|
}, undefined, false, undefined, this),
|
|
720192
|
-
focusedInputDialog === "remote-callout" && /* @__PURE__ */
|
|
720931
|
+
focusedInputDialog === "remote-callout" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(RemoteCallout, {
|
|
720193
720932
|
onDone: (selection) => {
|
|
720194
720933
|
setAppState((prev) => {
|
|
720195
720934
|
if (!prev.showRemoteCallout)
|
|
@@ -720207,23 +720946,23 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720207
720946
|
}
|
|
720208
720947
|
}, undefined, false, undefined, this),
|
|
720209
720948
|
exitFlow,
|
|
720210
|
-
focusedInputDialog === "plugin-hint" && hintRecommendation && /* @__PURE__ */
|
|
720949
|
+
focusedInputDialog === "plugin-hint" && hintRecommendation && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(PluginHintMenu, {
|
|
720211
720950
|
pluginName: hintRecommendation.pluginName,
|
|
720212
720951
|
pluginDescription: hintRecommendation.pluginDescription,
|
|
720213
720952
|
marketplaceName: hintRecommendation.marketplaceName,
|
|
720214
720953
|
sourceCommand: hintRecommendation.sourceCommand,
|
|
720215
720954
|
onResponse: handleHintResponse
|
|
720216
720955
|
}, undefined, false, undefined, this),
|
|
720217
|
-
focusedInputDialog === "lsp-recommendation" && lspRecommendation && /* @__PURE__ */
|
|
720956
|
+
focusedInputDialog === "lsp-recommendation" && lspRecommendation && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(LspRecommendationMenu, {
|
|
720218
720957
|
pluginName: lspRecommendation.pluginName,
|
|
720219
720958
|
pluginDescription: lspRecommendation.pluginDescription,
|
|
720220
720959
|
fileExtension: lspRecommendation.fileExtension,
|
|
720221
720960
|
onResponse: handleLspResponse
|
|
720222
720961
|
}, undefined, false, undefined, this),
|
|
720223
|
-
focusedInputDialog === "desktop-upsell" && /* @__PURE__ */
|
|
720962
|
+
focusedInputDialog === "desktop-upsell" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(DesktopUpsellStartup, {
|
|
720224
720963
|
onDone: () => setShowDesktopUpsellStartup(false)
|
|
720225
720964
|
}, undefined, false, undefined, this),
|
|
720226
|
-
feature("ULTRAPLAN") ? focusedInputDialog === "ultraplan-choice" && ultraplanPendingChoice && /* @__PURE__ */
|
|
720965
|
+
feature("ULTRAPLAN") ? focusedInputDialog === "ultraplan-choice" && ultraplanPendingChoice && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(UltraplanChoiceDialog, {
|
|
720227
720966
|
plan: ultraplanPendingChoice.plan,
|
|
720228
720967
|
sessionId: ultraplanPendingChoice.sessionId,
|
|
720229
720968
|
taskId: ultraplanPendingChoice.taskId,
|
|
@@ -720232,7 +720971,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720232
720971
|
getAppState: () => store.getState(),
|
|
720233
720972
|
setConversationId
|
|
720234
720973
|
}, undefined, false, undefined, this) : null,
|
|
720235
|
-
feature("ULTRAPLAN") ? focusedInputDialog === "ultraplan-launch" && ultraplanLaunchPending && /* @__PURE__ */
|
|
720974
|
+
feature("ULTRAPLAN") ? focusedInputDialog === "ultraplan-launch" && ultraplanLaunchPending && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(UltraplanLaunchDialog, {
|
|
720236
720975
|
onChoice: (choice, opts) => {
|
|
720237
720976
|
const blurb = ultraplanLaunchPending.blurb;
|
|
720238
720977
|
setAppState((prev) => prev.ultraplanLaunchPending ? {
|
|
@@ -720268,21 +721007,21 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720268
721007
|
}
|
|
720269
721008
|
}, undefined, false, undefined, this) : null,
|
|
720270
721009
|
mrRender(),
|
|
720271
|
-
!toolJSX?.shouldHidePromptInput && !focusedInputDialog && !isExiting && !disabled && !cursor && /* @__PURE__ */
|
|
721010
|
+
!toolJSX?.shouldHidePromptInput && !focusedInputDialog && !isExiting && !disabled && !cursor && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
720272
721011
|
children: [
|
|
720273
|
-
autoRunIssueReason && /* @__PURE__ */
|
|
721012
|
+
autoRunIssueReason && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AutoRunIssueNotification, {
|
|
720274
721013
|
onRun: handleAutoRunIssue,
|
|
720275
721014
|
onCancel: handleCancelAutoRunIssue,
|
|
720276
721015
|
reason: getAutoRunIssueReasonText(autoRunIssueReason)
|
|
720277
721016
|
}, undefined, false, undefined, this),
|
|
720278
|
-
postCompactSurvey.state !== "closed" ? /* @__PURE__ */
|
|
721017
|
+
postCompactSurvey.state !== "closed" ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FeedbackSurvey, {
|
|
720279
721018
|
state: postCompactSurvey.state,
|
|
720280
721019
|
lastResponse: postCompactSurvey.lastResponse,
|
|
720281
721020
|
handleSelect: postCompactSurvey.handleSelect,
|
|
720282
721021
|
inputValue,
|
|
720283
721022
|
setInputValue,
|
|
720284
721023
|
onRequestFeedback: handleSurveyRequestFeedback
|
|
720285
|
-
}, undefined, false, undefined, this) : memorySurvey.state !== "closed" ? /* @__PURE__ */
|
|
721024
|
+
}, undefined, false, undefined, this) : memorySurvey.state !== "closed" ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FeedbackSurvey, {
|
|
720286
721025
|
state: memorySurvey.state,
|
|
720287
721026
|
lastResponse: memorySurvey.lastResponse,
|
|
720288
721027
|
handleSelect: memorySurvey.handleSelect,
|
|
@@ -720291,7 +721030,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720291
721030
|
setInputValue,
|
|
720292
721031
|
onRequestFeedback: handleSurveyRequestFeedback,
|
|
720293
721032
|
message: "How well did Claude use its memory? (optional)"
|
|
720294
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
721033
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FeedbackSurvey, {
|
|
720295
721034
|
state: feedbackSurvey.state,
|
|
720296
721035
|
lastResponse: feedbackSurvey.lastResponse,
|
|
720297
721036
|
handleSelect: feedbackSurvey.handleSelect,
|
|
@@ -720300,7 +721039,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720300
721039
|
setInputValue,
|
|
720301
721040
|
onRequestFeedback: didAutoRunIssueRef.current ? undefined : handleSurveyRequestFeedback
|
|
720302
721041
|
}, undefined, false, undefined, this),
|
|
720303
|
-
frustrationDetection.state !== "closed" && /* @__PURE__ */
|
|
721042
|
+
frustrationDetection.state !== "closed" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FeedbackSurvey, {
|
|
720304
721043
|
state: frustrationDetection.state,
|
|
720305
721044
|
lastResponse: null,
|
|
720306
721045
|
handleSelect: () => {},
|
|
@@ -720309,8 +721048,12 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720309
721048
|
setInputValue
|
|
720310
721049
|
}, undefined, false, undefined, this),
|
|
720311
721050
|
false,
|
|
720312
|
-
showIssueFlagBanner && /* @__PURE__ */
|
|
720313
|
-
/* @__PURE__ */
|
|
721051
|
+
showIssueFlagBanner && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(IssueFlagBanner, {}, undefined, false, undefined, this),
|
|
721052
|
+
isFullscreenEnvEnabled() && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FleetViewScreen, {
|
|
721053
|
+
inputValue,
|
|
721054
|
+
disabled: !!focusedInputDialog || isShowingLocalJSXCommand || !!showBashesDialog
|
|
721055
|
+
}, undefined, false, undefined, this),
|
|
721056
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(PromptInput_default, {
|
|
720314
721057
|
debug: debug5,
|
|
720315
721058
|
ideSelection,
|
|
720316
721059
|
hasSuppressedDialogs: !!hasSuppressedDialogs,
|
|
@@ -720352,16 +721095,16 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720352
721095
|
insertTextRef: feature("VOICE_MODE") ? insertTextRef : undefined,
|
|
720353
721096
|
voiceInterimRange: voice2.interimRange
|
|
720354
721097
|
}, undefined, false, undefined, this),
|
|
720355
|
-
/* @__PURE__ */
|
|
721098
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SessionBackgroundHint, {
|
|
720356
721099
|
onBackgroundSession: handleBackgroundSession,
|
|
720357
721100
|
isLoading
|
|
720358
721101
|
}, undefined, false, undefined, this)
|
|
720359
721102
|
]
|
|
720360
721103
|
}, undefined, true, undefined, this),
|
|
720361
|
-
cursor && /* @__PURE__ */
|
|
721104
|
+
cursor && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(MessageActionsBar, {
|
|
720362
721105
|
cursor
|
|
720363
721106
|
}, undefined, false, undefined, this),
|
|
720364
|
-
focusedInputDialog === "message-selector" && /* @__PURE__ */
|
|
721107
|
+
focusedInputDialog === "message-selector" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(MessageSelector, {
|
|
720365
721108
|
messages,
|
|
720366
721109
|
preselectedMessage: messageSelectorPreselect,
|
|
720367
721110
|
onPreRestore: onCancel,
|
|
@@ -720439,7 +721182,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720439
721182
|
false
|
|
720440
721183
|
]
|
|
720441
721184
|
}, undefined, true, undefined, this),
|
|
720442
|
-
feature("BUDDY") && !(companionNarrow && isFullscreenEnvEnabled()) && companionVisible ? /* @__PURE__ */
|
|
721185
|
+
feature("BUDDY") && !(companionNarrow && isFullscreenEnvEnabled()) && companionVisible ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CompanionSprite, {}, undefined, false, undefined, this) : null
|
|
720443
721186
|
]
|
|
720444
721187
|
}, undefined, true, undefined, this)
|
|
720445
721188
|
}, undefined, false, undefined, this)
|
|
@@ -720447,14 +721190,14 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720447
721190
|
]
|
|
720448
721191
|
}, undefined, true, undefined, this);
|
|
720449
721192
|
if (isFullscreenEnvEnabled()) {
|
|
720450
|
-
return /* @__PURE__ */
|
|
721193
|
+
return /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AlternateScreen, {
|
|
720451
721194
|
mouseTracking: isMouseTrackingEnabled(),
|
|
720452
721195
|
children: mainReturn
|
|
720453
721196
|
}, undefined, false, undefined, this);
|
|
720454
721197
|
}
|
|
720455
721198
|
return mainReturn;
|
|
720456
721199
|
}
|
|
720457
|
-
var import_compiler_runtime347,
|
|
721200
|
+
var import_compiler_runtime347, React151, import_react316, jsx_dev_runtime460, useVoiceIntegration2, VoiceKeybindingHandler2, useFrustrationDetection = () => ({
|
|
720458
721201
|
state: "closed",
|
|
720459
721202
|
handleTranscriptSelect: () => {}
|
|
720460
721203
|
}), useAntOrgWarningNotification = () => {}, getCoordinatorUserContext2, proactiveModule8, PROACTIVE_NO_OP_SUBSCRIBE = (_cb) => () => {}, PROACTIVE_FALSE = () => false, SUGGEST_BG_PR_NOOP = (_p3, _n3) => false, useProactive, useScheduledTasks2, WebBrowserPanelModule, EMPTY_MCP_CLIENTS2, HISTORY_STUB, RECENT_SCROLL_REPIN_WINDOW_MS = 3000, TITLE_ANIMATION_FRAMES, TITLE_STATIC_PREFIX = "\u2733", TITLE_ANIMATION_INTERVAL_MS = 960;
|
|
@@ -720661,10 +721404,11 @@ var init_REPL = __esm(() => {
|
|
|
720661
721404
|
init_osc();
|
|
720662
721405
|
init_attachments2();
|
|
720663
721406
|
init_sessionHooks();
|
|
721407
|
+
init_FleetViewScreen();
|
|
720664
721408
|
import_compiler_runtime347 = __toESM(require_compiler_runtime(), 1);
|
|
720665
|
-
|
|
721409
|
+
React151 = __toESM(require_react(), 1);
|
|
720666
721410
|
import_react316 = __toESM(require_react(), 1);
|
|
720667
|
-
|
|
721411
|
+
jsx_dev_runtime460 = __toESM(require_jsx_dev_runtime(), 1);
|
|
720668
721412
|
useVoiceIntegration2 = feature("VOICE_MODE") ? (init_useVoiceIntegration(), __toCommonJS(exports_useVoiceIntegration)).useVoiceIntegration : () => ({
|
|
720669
721413
|
stripTrailing: () => 0,
|
|
720670
721414
|
handleKeyEvent: () => {},
|
|
@@ -720691,16 +721435,16 @@ async function launchRepl(root3, appProps, replProps, renderAndRun) {
|
|
|
720691
721435
|
const {
|
|
720692
721436
|
REPL: REPL2
|
|
720693
721437
|
} = await Promise.resolve().then(() => (init_REPL(), exports_REPL));
|
|
720694
|
-
await renderAndRun(root3, /* @__PURE__ */
|
|
721438
|
+
await renderAndRun(root3, /* @__PURE__ */ jsx_dev_runtime461.jsxDEV(App3, {
|
|
720695
721439
|
...appProps,
|
|
720696
|
-
children: /* @__PURE__ */
|
|
721440
|
+
children: /* @__PURE__ */ jsx_dev_runtime461.jsxDEV(REPL2, {
|
|
720697
721441
|
...replProps
|
|
720698
721442
|
}, undefined, false, undefined, this)
|
|
720699
721443
|
}, undefined, false, undefined, this));
|
|
720700
721444
|
}
|
|
720701
|
-
var
|
|
721445
|
+
var jsx_dev_runtime461;
|
|
720702
721446
|
var init_replLauncher = __esm(() => {
|
|
720703
|
-
|
|
721447
|
+
jsx_dev_runtime461 = __toESM(require_jsx_dev_runtime(), 1);
|
|
720704
721448
|
});
|
|
720705
721449
|
|
|
720706
721450
|
// src/services/api/bootstrap.ts
|
|
@@ -720863,11 +721607,11 @@ function MCPServerDialogCopy() {
|
|
|
720863
721607
|
const $4 = import_compiler_runtime348.c(1);
|
|
720864
721608
|
let t0;
|
|
720865
721609
|
if ($4[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
720866
|
-
t0 = /* @__PURE__ */
|
|
721610
|
+
t0 = /* @__PURE__ */ jsx_dev_runtime462.jsxDEV(ThemedText, {
|
|
720867
721611
|
children: [
|
|
720868
721612
|
"MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the",
|
|
720869
721613
|
" ",
|
|
720870
|
-
/* @__PURE__ */
|
|
721614
|
+
/* @__PURE__ */ jsx_dev_runtime462.jsxDEV(Link, {
|
|
720871
721615
|
url: "https://code.claude.com/docs/en/mcp",
|
|
720872
721616
|
children: "MCP documentation"
|
|
720873
721617
|
}, undefined, false, undefined, this),
|
|
@@ -720880,11 +721624,11 @@ function MCPServerDialogCopy() {
|
|
|
720880
721624
|
}
|
|
720881
721625
|
return t0;
|
|
720882
721626
|
}
|
|
720883
|
-
var import_compiler_runtime348,
|
|
721627
|
+
var import_compiler_runtime348, jsx_dev_runtime462;
|
|
720884
721628
|
var init_MCPServerDialogCopy = __esm(() => {
|
|
720885
721629
|
init_ink2();
|
|
720886
721630
|
import_compiler_runtime348 = __toESM(require_compiler_runtime(), 1);
|
|
720887
|
-
|
|
721631
|
+
jsx_dev_runtime462 = __toESM(require_jsx_dev_runtime(), 1);
|
|
720888
721632
|
});
|
|
720889
721633
|
|
|
720890
721634
|
// src/components/MCPServerApprovalDialog.tsx
|
|
@@ -720949,7 +721693,7 @@ function MCPServerApprovalDialog(t0) {
|
|
|
720949
721693
|
}
|
|
720950
721694
|
let t4;
|
|
720951
721695
|
if ($4[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
720952
|
-
t4 = /* @__PURE__ */
|
|
721696
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime463.jsxDEV(MCPServerDialogCopy, {}, undefined, false, undefined, this);
|
|
720953
721697
|
$4[5] = t4;
|
|
720954
721698
|
} else {
|
|
720955
721699
|
t4 = $4[5];
|
|
@@ -720972,7 +721716,7 @@ function MCPServerApprovalDialog(t0) {
|
|
|
720972
721716
|
}
|
|
720973
721717
|
let t6;
|
|
720974
721718
|
if ($4[7] !== onChange) {
|
|
720975
|
-
t6 = /* @__PURE__ */
|
|
721719
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime463.jsxDEV(Select, {
|
|
720976
721720
|
options: t5,
|
|
720977
721721
|
onChange: (value_0) => onChange(value_0),
|
|
720978
721722
|
onCancel: () => onChange("no")
|
|
@@ -720984,7 +721728,7 @@ function MCPServerApprovalDialog(t0) {
|
|
|
720984
721728
|
}
|
|
720985
721729
|
let t7;
|
|
720986
721730
|
if ($4[9] !== t22 || $4[10] !== t32 || $4[11] !== t6) {
|
|
720987
|
-
t7 = /* @__PURE__ */
|
|
721731
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime463.jsxDEV(Dialog, {
|
|
720988
721732
|
title: t22,
|
|
720989
721733
|
color: "warning",
|
|
720990
721734
|
onCancel: t32,
|
|
@@ -721002,7 +721746,7 @@ function MCPServerApprovalDialog(t0) {
|
|
|
721002
721746
|
}
|
|
721003
721747
|
return t7;
|
|
721004
721748
|
}
|
|
721005
|
-
var import_compiler_runtime349,
|
|
721749
|
+
var import_compiler_runtime349, jsx_dev_runtime463;
|
|
721006
721750
|
var init_MCPServerApprovalDialog = __esm(() => {
|
|
721007
721751
|
init_analytics();
|
|
721008
721752
|
init_settings2();
|
|
@@ -721010,7 +721754,7 @@ var init_MCPServerApprovalDialog = __esm(() => {
|
|
|
721010
721754
|
init_Dialog();
|
|
721011
721755
|
init_MCPServerDialogCopy();
|
|
721012
721756
|
import_compiler_runtime349 = __toESM(require_compiler_runtime(), 1);
|
|
721013
|
-
|
|
721757
|
+
jsx_dev_runtime463 = __toESM(require_jsx_dev_runtime(), 1);
|
|
721014
721758
|
});
|
|
721015
721759
|
|
|
721016
721760
|
// src/components/MCPServerMultiselectDialog.tsx
|
|
@@ -721073,7 +721817,7 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
721073
721817
|
const t32 = `${serverNames.length} new MCP servers found in .mcp.json`;
|
|
721074
721818
|
let t4;
|
|
721075
721819
|
if ($4[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721076
|
-
t4 = /* @__PURE__ */
|
|
721820
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(MCPServerDialogCopy, {}, undefined, false, undefined, this);
|
|
721077
721821
|
$4[6] = t4;
|
|
721078
721822
|
} else {
|
|
721079
721823
|
t4 = $4[6];
|
|
@@ -721088,7 +721832,7 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
721088
721832
|
}
|
|
721089
721833
|
let t6;
|
|
721090
721834
|
if ($4[9] !== handleEscRejectAll || $4[10] !== onSubmit || $4[11] !== serverNames || $4[12] !== t5) {
|
|
721091
|
-
t6 = /* @__PURE__ */
|
|
721835
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(SelectMulti, {
|
|
721092
721836
|
options: t5,
|
|
721093
721837
|
defaultValue: serverNames,
|
|
721094
721838
|
onSubmit,
|
|
@@ -721105,7 +721849,7 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
721105
721849
|
}
|
|
721106
721850
|
let t7;
|
|
721107
721851
|
if ($4[14] !== handleEscRejectAll || $4[15] !== t32 || $4[16] !== t6) {
|
|
721108
|
-
t7 = /* @__PURE__ */
|
|
721852
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(Dialog, {
|
|
721109
721853
|
title: t32,
|
|
721110
721854
|
subtitle: "Select any you wish to enable.",
|
|
721111
721855
|
color: "warning",
|
|
@@ -721125,22 +721869,22 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
721125
721869
|
}
|
|
721126
721870
|
let t8;
|
|
721127
721871
|
if ($4[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721128
|
-
t8 = /* @__PURE__ */
|
|
721872
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(ThemedBox_default, {
|
|
721129
721873
|
paddingX: 1,
|
|
721130
|
-
children: /* @__PURE__ */
|
|
721874
|
+
children: /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(ThemedText, {
|
|
721131
721875
|
dimColor: true,
|
|
721132
721876
|
italic: true,
|
|
721133
|
-
children: /* @__PURE__ */
|
|
721877
|
+
children: /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(Byline, {
|
|
721134
721878
|
children: [
|
|
721135
|
-
/* @__PURE__ */
|
|
721879
|
+
/* @__PURE__ */ jsx_dev_runtime464.jsxDEV(KeyboardShortcutHint, {
|
|
721136
721880
|
shortcut: "Space",
|
|
721137
721881
|
action: "select"
|
|
721138
721882
|
}, undefined, false, undefined, this),
|
|
721139
|
-
/* @__PURE__ */
|
|
721883
|
+
/* @__PURE__ */ jsx_dev_runtime464.jsxDEV(KeyboardShortcutHint, {
|
|
721140
721884
|
shortcut: "Enter",
|
|
721141
721885
|
action: "confirm"
|
|
721142
721886
|
}, undefined, false, undefined, this),
|
|
721143
|
-
/* @__PURE__ */
|
|
721887
|
+
/* @__PURE__ */ jsx_dev_runtime464.jsxDEV(ConfigurableShortcutHint, {
|
|
721144
721888
|
action: "confirm:no",
|
|
721145
721889
|
context: "Confirmation",
|
|
721146
721890
|
fallback: "Esc",
|
|
@@ -721156,7 +721900,7 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
721156
721900
|
}
|
|
721157
721901
|
let t9;
|
|
721158
721902
|
if ($4[19] !== t7) {
|
|
721159
|
-
t9 = /* @__PURE__ */
|
|
721903
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(jsx_dev_runtime464.Fragment, {
|
|
721160
721904
|
children: [
|
|
721161
721905
|
t7,
|
|
721162
721906
|
t8
|
|
@@ -721175,7 +721919,7 @@ function _temp303(server_0) {
|
|
|
721175
721919
|
value: server_0
|
|
721176
721920
|
};
|
|
721177
721921
|
}
|
|
721178
|
-
var import_compiler_runtime350,
|
|
721922
|
+
var import_compiler_runtime350, jsx_dev_runtime464;
|
|
721179
721923
|
var init_MCPServerMultiselectDialog = __esm(() => {
|
|
721180
721924
|
init_partition();
|
|
721181
721925
|
init_analytics();
|
|
@@ -721188,7 +721932,7 @@ var init_MCPServerMultiselectDialog = __esm(() => {
|
|
|
721188
721932
|
init_KeyboardShortcutHint();
|
|
721189
721933
|
init_MCPServerDialogCopy();
|
|
721190
721934
|
import_compiler_runtime350 = __toESM(require_compiler_runtime(), 1);
|
|
721191
|
-
|
|
721935
|
+
jsx_dev_runtime464 = __toESM(require_jsx_dev_runtime(), 1);
|
|
721192
721936
|
});
|
|
721193
721937
|
|
|
721194
721938
|
// src/services/mcpServerApproval.tsx
|
|
@@ -721204,18 +721948,18 @@ async function handleMcpjsonServerApprovals(root3) {
|
|
|
721204
721948
|
const done = () => void resolve53();
|
|
721205
721949
|
if (pendingServers.length === 1 && pendingServers[0] !== undefined) {
|
|
721206
721950
|
const serverName = pendingServers[0];
|
|
721207
|
-
root3.render(/* @__PURE__ */
|
|
721208
|
-
children: /* @__PURE__ */
|
|
721209
|
-
children: /* @__PURE__ */
|
|
721951
|
+
root3.render(/* @__PURE__ */ jsx_dev_runtime465.jsxDEV(AppStateProvider, {
|
|
721952
|
+
children: /* @__PURE__ */ jsx_dev_runtime465.jsxDEV(KeybindingSetup, {
|
|
721953
|
+
children: /* @__PURE__ */ jsx_dev_runtime465.jsxDEV(MCPServerApprovalDialog, {
|
|
721210
721954
|
serverName,
|
|
721211
721955
|
onDone: done
|
|
721212
721956
|
}, undefined, false, undefined, this)
|
|
721213
721957
|
}, undefined, false, undefined, this)
|
|
721214
721958
|
}, undefined, false, undefined, this));
|
|
721215
721959
|
} else {
|
|
721216
|
-
root3.render(/* @__PURE__ */
|
|
721217
|
-
children: /* @__PURE__ */
|
|
721218
|
-
children: /* @__PURE__ */
|
|
721960
|
+
root3.render(/* @__PURE__ */ jsx_dev_runtime465.jsxDEV(AppStateProvider, {
|
|
721961
|
+
children: /* @__PURE__ */ jsx_dev_runtime465.jsxDEV(KeybindingSetup, {
|
|
721962
|
+
children: /* @__PURE__ */ jsx_dev_runtime465.jsxDEV(MCPServerMultiselectDialog, {
|
|
721219
721963
|
serverNames: pendingServers,
|
|
721220
721964
|
onDone: done
|
|
721221
721965
|
}, undefined, false, undefined, this)
|
|
@@ -721224,7 +721968,7 @@ async function handleMcpjsonServerApprovals(root3) {
|
|
|
721224
721968
|
}
|
|
721225
721969
|
});
|
|
721226
721970
|
}
|
|
721227
|
-
var
|
|
721971
|
+
var jsx_dev_runtime465;
|
|
721228
721972
|
var init_mcpServerApproval = __esm(() => {
|
|
721229
721973
|
init_MCPServerApprovalDialog();
|
|
721230
721974
|
init_MCPServerMultiselectDialog();
|
|
@@ -721232,7 +721976,7 @@ var init_mcpServerApproval = __esm(() => {
|
|
|
721232
721976
|
init_AppState();
|
|
721233
721977
|
init_config6();
|
|
721234
721978
|
init_utils9();
|
|
721235
|
-
|
|
721979
|
+
jsx_dev_runtime465 = __toESM(require_jsx_dev_runtime(), 1);
|
|
721236
721980
|
});
|
|
721237
721981
|
|
|
721238
721982
|
// src/utils/deepLink/terminalPreference.ts
|
|
@@ -721516,50 +722260,50 @@ function PreflightStep(t0) {
|
|
|
721516
722260
|
import_react318.useEffect(t32, t4);
|
|
721517
722261
|
let t5;
|
|
721518
722262
|
if ($4[6] !== isChecking || $4[7] !== result || $4[8] !== showSpinner) {
|
|
721519
|
-
t5 = isChecking && showSpinner ? /* @__PURE__ */
|
|
722263
|
+
t5 = isChecking && showSpinner ? /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedBox_default, {
|
|
721520
722264
|
paddingLeft: 1,
|
|
721521
722265
|
children: [
|
|
721522
|
-
/* @__PURE__ */
|
|
721523
|
-
/* @__PURE__ */
|
|
722266
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
722267
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721524
722268
|
children: "Checking connectivity..."
|
|
721525
722269
|
}, undefined, false, undefined, this)
|
|
721526
722270
|
]
|
|
721527
|
-
}, undefined, true, undefined, this) : !result?.success && !isChecking && /* @__PURE__ */
|
|
722271
|
+
}, undefined, true, undefined, this) : !result?.success && !isChecking && /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedBox_default, {
|
|
721528
722272
|
flexDirection: "column",
|
|
721529
722273
|
gap: 1,
|
|
721530
722274
|
children: [
|
|
721531
|
-
/* @__PURE__ */
|
|
722275
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721532
722276
|
color: "error",
|
|
721533
722277
|
children: "Unable to connect to Anthropic services"
|
|
721534
722278
|
}, undefined, false, undefined, this),
|
|
721535
|
-
/* @__PURE__ */
|
|
722279
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721536
722280
|
color: "error",
|
|
721537
722281
|
children: result?.error
|
|
721538
722282
|
}, undefined, false, undefined, this),
|
|
721539
|
-
result?.sslHint ? /* @__PURE__ */
|
|
722283
|
+
result?.sslHint ? /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedBox_default, {
|
|
721540
722284
|
flexDirection: "column",
|
|
721541
722285
|
gap: 1,
|
|
721542
722286
|
children: [
|
|
721543
|
-
/* @__PURE__ */
|
|
722287
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721544
722288
|
children: result.sslHint
|
|
721545
722289
|
}, undefined, false, undefined, this),
|
|
721546
|
-
/* @__PURE__ */
|
|
722290
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721547
722291
|
color: "suggestion",
|
|
721548
722292
|
children: "See https://code.claude.com/docs/en/network-config"
|
|
721549
722293
|
}, undefined, false, undefined, this)
|
|
721550
722294
|
]
|
|
721551
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
722295
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedBox_default, {
|
|
721552
722296
|
flexDirection: "column",
|
|
721553
722297
|
gap: 1,
|
|
721554
722298
|
children: [
|
|
721555
|
-
/* @__PURE__ */
|
|
722299
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721556
722300
|
children: "Please check your internet connection and network settings."
|
|
721557
722301
|
}, undefined, false, undefined, this),
|
|
721558
|
-
/* @__PURE__ */
|
|
722302
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721559
722303
|
children: [
|
|
721560
722304
|
"Note: Claude Code might not be available in your country. Check supported countries at",
|
|
721561
722305
|
" ",
|
|
721562
|
-
/* @__PURE__ */
|
|
722306
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721563
722307
|
color: "suggestion",
|
|
721564
722308
|
children: "https://anthropic.com/supported-countries"
|
|
721565
722309
|
}, undefined, false, undefined, this)
|
|
@@ -721578,7 +722322,7 @@ function PreflightStep(t0) {
|
|
|
721578
722322
|
}
|
|
721579
722323
|
let t6;
|
|
721580
722324
|
if ($4[10] !== t5) {
|
|
721581
|
-
t6 = /* @__PURE__ */
|
|
722325
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedBox_default, {
|
|
721582
722326
|
flexDirection: "column",
|
|
721583
722327
|
gap: 1,
|
|
721584
722328
|
paddingLeft: 1,
|
|
@@ -721594,7 +722338,7 @@ function PreflightStep(t0) {
|
|
|
721594
722338
|
function _temp304() {
|
|
721595
722339
|
return process.exit(1);
|
|
721596
722340
|
}
|
|
721597
|
-
var import_compiler_runtime351, import_react318,
|
|
722341
|
+
var import_compiler_runtime351, import_react318, jsx_dev_runtime466;
|
|
721598
722342
|
var init_preflightChecks = __esm(() => {
|
|
721599
722343
|
init_axios2();
|
|
721600
722344
|
init_analytics();
|
|
@@ -721607,7 +722351,7 @@ var init_preflightChecks = __esm(() => {
|
|
|
721607
722351
|
init_log3();
|
|
721608
722352
|
import_compiler_runtime351 = __toESM(require_compiler_runtime(), 1);
|
|
721609
722353
|
import_react318 = __toESM(require_react(), 1);
|
|
721610
|
-
|
|
722354
|
+
jsx_dev_runtime466 = __toESM(require_jsx_dev_runtime(), 1);
|
|
721611
722355
|
});
|
|
721612
722356
|
|
|
721613
722357
|
// src/components/ApproveApiKey.tsx
|
|
@@ -721666,7 +722410,7 @@ function ApproveApiKey(t0) {
|
|
|
721666
722410
|
}
|
|
721667
722411
|
let t32;
|
|
721668
722412
|
if ($4[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721669
|
-
t32 = /* @__PURE__ */
|
|
722413
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721670
722414
|
bold: true,
|
|
721671
722415
|
children: "ANTHROPIC_API_KEY"
|
|
721672
722416
|
}, undefined, false, undefined, this);
|
|
@@ -721676,10 +722420,10 @@ function ApproveApiKey(t0) {
|
|
|
721676
722420
|
}
|
|
721677
722421
|
let t4;
|
|
721678
722422
|
if ($4[6] !== customApiKeyTruncated) {
|
|
721679
|
-
t4 = /* @__PURE__ */
|
|
722423
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721680
722424
|
children: [
|
|
721681
722425
|
t32,
|
|
721682
|
-
/* @__PURE__ */
|
|
722426
|
+
/* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721683
722427
|
children: [
|
|
721684
722428
|
": sk-ant-...",
|
|
721685
722429
|
customApiKeyTruncated
|
|
@@ -721694,7 +722438,7 @@ function ApproveApiKey(t0) {
|
|
|
721694
722438
|
}
|
|
721695
722439
|
let t5;
|
|
721696
722440
|
if ($4[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721697
|
-
t5 = /* @__PURE__ */
|
|
722441
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721698
722442
|
children: "Do you want to use this API key?"
|
|
721699
722443
|
}, undefined, false, undefined, this);
|
|
721700
722444
|
$4[8] = t5;
|
|
@@ -721714,10 +722458,10 @@ function ApproveApiKey(t0) {
|
|
|
721714
722458
|
let t7;
|
|
721715
722459
|
if ($4[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721716
722460
|
t7 = [t6, {
|
|
721717
|
-
label: /* @__PURE__ */
|
|
722461
|
+
label: /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721718
722462
|
children: [
|
|
721719
722463
|
"No (",
|
|
721720
|
-
/* @__PURE__ */
|
|
722464
|
+
/* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721721
722465
|
bold: true,
|
|
721722
722466
|
children: "recommended"
|
|
721723
722467
|
}, undefined, false, undefined, this),
|
|
@@ -721732,7 +722476,7 @@ function ApproveApiKey(t0) {
|
|
|
721732
722476
|
}
|
|
721733
722477
|
let t8;
|
|
721734
722478
|
if ($4[11] !== onChange) {
|
|
721735
|
-
t8 = /* @__PURE__ */
|
|
722479
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(Select, {
|
|
721736
722480
|
defaultValue: "no",
|
|
721737
722481
|
defaultFocusValue: "no",
|
|
721738
722482
|
options: t7,
|
|
@@ -721746,7 +722490,7 @@ function ApproveApiKey(t0) {
|
|
|
721746
722490
|
}
|
|
721747
722491
|
let t9;
|
|
721748
722492
|
if ($4[13] !== t22 || $4[14] !== t4 || $4[15] !== t8) {
|
|
721749
|
-
t9 = /* @__PURE__ */
|
|
722493
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(Dialog, {
|
|
721750
722494
|
title: "Detected a custom API key in your environment",
|
|
721751
722495
|
color: "warning",
|
|
721752
722496
|
onCancel: t22,
|
|
@@ -721765,14 +722509,14 @@ function ApproveApiKey(t0) {
|
|
|
721765
722509
|
}
|
|
721766
722510
|
return t9;
|
|
721767
722511
|
}
|
|
721768
|
-
var import_compiler_runtime352,
|
|
722512
|
+
var import_compiler_runtime352, jsx_dev_runtime467;
|
|
721769
722513
|
var init_ApproveApiKey = __esm(() => {
|
|
721770
722514
|
init_ink2();
|
|
721771
722515
|
init_config4();
|
|
721772
722516
|
init_CustomSelect();
|
|
721773
722517
|
init_Dialog();
|
|
721774
722518
|
import_compiler_runtime352 = __toESM(require_compiler_runtime(), 1);
|
|
721775
|
-
|
|
722519
|
+
jsx_dev_runtime467 = __toESM(require_jsx_dev_runtime(), 1);
|
|
721776
722520
|
});
|
|
721777
722521
|
|
|
721778
722522
|
// src/components/LogoV2/WelcomeV2.tsx
|
|
@@ -721782,7 +722526,7 @@ function WelcomeV2() {
|
|
|
721782
722526
|
if (env4.terminal === "Apple_Terminal") {
|
|
721783
722527
|
let t02;
|
|
721784
722528
|
if ($4[0] !== theme2) {
|
|
721785
|
-
t02 = /* @__PURE__ */
|
|
722529
|
+
t02 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(AppleTerminalWelcomeV2, {
|
|
721786
722530
|
theme: theme2,
|
|
721787
722531
|
welcomeMessage: "Welcome to OCC"
|
|
721788
722532
|
}, undefined, false, undefined, this);
|
|
@@ -721804,16 +722548,16 @@ function WelcomeV2() {
|
|
|
721804
722548
|
let t72;
|
|
721805
722549
|
let t82;
|
|
721806
722550
|
if ($4[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721807
|
-
t02 = /* @__PURE__ */
|
|
722551
|
+
t02 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721808
722552
|
children: [
|
|
721809
|
-
/* @__PURE__ */
|
|
722553
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721810
722554
|
color: "claude",
|
|
721811
722555
|
children: [
|
|
721812
722556
|
"Welcome to OCC",
|
|
721813
722557
|
" "
|
|
721814
722558
|
]
|
|
721815
722559
|
}, undefined, true, undefined, this),
|
|
721816
|
-
/* @__PURE__ */
|
|
722560
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721817
722561
|
dimColor: true,
|
|
721818
722562
|
children: [
|
|
721819
722563
|
"v",
|
|
@@ -721823,28 +722567,28 @@ function WelcomeV2() {
|
|
|
721823
722567
|
}, undefined, true, undefined, this)
|
|
721824
722568
|
]
|
|
721825
722569
|
}, undefined, true, undefined, this);
|
|
721826
|
-
t17 = /* @__PURE__ */
|
|
722570
|
+
t17 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721827
722571
|
children: "\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"
|
|
721828
722572
|
}, undefined, false, undefined, this);
|
|
721829
|
-
t23 = /* @__PURE__ */
|
|
722573
|
+
t23 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721830
722574
|
children: " "
|
|
721831
722575
|
}, undefined, false, undefined, this);
|
|
721832
|
-
t33 = /* @__PURE__ */
|
|
722576
|
+
t33 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721833
722577
|
children: " "
|
|
721834
722578
|
}, undefined, false, undefined, this);
|
|
721835
|
-
t42 = /* @__PURE__ */
|
|
722579
|
+
t42 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721836
722580
|
children: " "
|
|
721837
722581
|
}, undefined, false, undefined, this);
|
|
721838
|
-
t52 = /* @__PURE__ */
|
|
722582
|
+
t52 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721839
722583
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
721840
722584
|
}, undefined, false, undefined, this);
|
|
721841
|
-
t62 = /* @__PURE__ */
|
|
722585
|
+
t62 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721842
722586
|
children: " \u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
721843
722587
|
}, undefined, false, undefined, this);
|
|
721844
|
-
t72 = /* @__PURE__ */
|
|
722588
|
+
t72 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721845
722589
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
721846
722590
|
}, undefined, false, undefined, this);
|
|
721847
|
-
t82 = /* @__PURE__ */
|
|
722591
|
+
t82 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721848
722592
|
children: " "
|
|
721849
722593
|
}, undefined, false, undefined, this);
|
|
721850
722594
|
$4[2] = t02;
|
|
@@ -721869,13 +722613,13 @@ function WelcomeV2() {
|
|
|
721869
722613
|
}
|
|
721870
722614
|
let t92;
|
|
721871
722615
|
if ($4[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721872
|
-
t92 = /* @__PURE__ */
|
|
722616
|
+
t92 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721873
722617
|
children: [
|
|
721874
|
-
/* @__PURE__ */
|
|
722618
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721875
722619
|
dimColor: true,
|
|
721876
722620
|
children: " \u2591\u2591\u2591\u2591"
|
|
721877
722621
|
}, undefined, false, undefined, this),
|
|
721878
|
-
/* @__PURE__ */
|
|
722622
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721879
722623
|
children: " \u2588\u2588 "
|
|
721880
722624
|
}, undefined, false, undefined, this)
|
|
721881
722625
|
]
|
|
@@ -721887,18 +722631,18 @@ function WelcomeV2() {
|
|
|
721887
722631
|
let t102;
|
|
721888
722632
|
let t112;
|
|
721889
722633
|
if ($4[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721890
|
-
t102 = /* @__PURE__ */
|
|
722634
|
+
t102 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721891
722635
|
children: [
|
|
721892
|
-
/* @__PURE__ */
|
|
722636
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721893
722637
|
dimColor: true,
|
|
721894
722638
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591"
|
|
721895
722639
|
}, undefined, false, undefined, this),
|
|
721896
|
-
/* @__PURE__ */
|
|
722640
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721897
722641
|
children: " \u2588\u2588\u2592\u2592\u2588\u2588 "
|
|
721898
722642
|
}, undefined, false, undefined, this)
|
|
721899
722643
|
]
|
|
721900
722644
|
}, undefined, true, undefined, this);
|
|
721901
|
-
t112 = /* @__PURE__ */
|
|
722645
|
+
t112 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721902
722646
|
children: " \u2592\u2592 \u2588\u2588 \u2592"
|
|
721903
722647
|
}, undefined, false, undefined, this);
|
|
721904
722648
|
$4[12] = t102;
|
|
@@ -721909,10 +722653,10 @@ function WelcomeV2() {
|
|
|
721909
722653
|
}
|
|
721910
722654
|
let t122;
|
|
721911
722655
|
if ($4[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721912
|
-
t122 = /* @__PURE__ */
|
|
722656
|
+
t122 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721913
722657
|
children: [
|
|
721914
722658
|
" ",
|
|
721915
|
-
/* @__PURE__ */
|
|
722659
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721916
722660
|
color: "clawd_body",
|
|
721917
722661
|
children: " \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "
|
|
721918
722662
|
}, undefined, false, undefined, this),
|
|
@@ -721925,10 +722669,10 @@ function WelcomeV2() {
|
|
|
721925
722669
|
}
|
|
721926
722670
|
let t132;
|
|
721927
722671
|
if ($4[15] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721928
|
-
t132 = /* @__PURE__ */
|
|
722672
|
+
t132 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721929
722673
|
children: [
|
|
721930
722674
|
" ",
|
|
721931
|
-
/* @__PURE__ */
|
|
722675
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721932
722676
|
color: "clawd_body",
|
|
721933
722677
|
backgroundColor: "clawd_background",
|
|
721934
722678
|
children: "\u2588\u2588\u2584\u2588\u2588\u2588\u2588\u2588\u2584\u2588\u2588"
|
|
@@ -721942,10 +722686,10 @@ function WelcomeV2() {
|
|
|
721942
722686
|
}
|
|
721943
722687
|
let t142;
|
|
721944
722688
|
if ($4[16] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721945
|
-
t142 = /* @__PURE__ */
|
|
722689
|
+
t142 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721946
722690
|
children: [
|
|
721947
722691
|
" ",
|
|
721948
|
-
/* @__PURE__ */
|
|
722692
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721949
722693
|
color: "clawd_body",
|
|
721950
722694
|
children: " \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "
|
|
721951
722695
|
}, undefined, false, undefined, this),
|
|
@@ -721958,9 +722702,9 @@ function WelcomeV2() {
|
|
|
721958
722702
|
}
|
|
721959
722703
|
let t152;
|
|
721960
722704
|
if ($4[17] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721961
|
-
t152 = /* @__PURE__ */
|
|
722705
|
+
t152 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedBox_default, {
|
|
721962
722706
|
width: WELCOME_V2_WIDTH,
|
|
721963
|
-
children: /* @__PURE__ */
|
|
722707
|
+
children: /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721964
722708
|
children: [
|
|
721965
722709
|
t02,
|
|
721966
722710
|
t17,
|
|
@@ -721977,10 +722721,10 @@ function WelcomeV2() {
|
|
|
721977
722721
|
t122,
|
|
721978
722722
|
t132,
|
|
721979
722723
|
t142,
|
|
721980
|
-
/* @__PURE__ */
|
|
722724
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721981
722725
|
children: [
|
|
721982
722726
|
"\u2026\u2026\u2026\u2026\u2026\u2026\u2026",
|
|
721983
|
-
/* @__PURE__ */
|
|
722727
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721984
722728
|
color: "clawd_body",
|
|
721985
722729
|
children: "\u2588 \u2588 \u2588 \u2588"
|
|
721986
722730
|
}, undefined, false, undefined, this),
|
|
@@ -722004,16 +722748,16 @@ function WelcomeV2() {
|
|
|
722004
722748
|
let t5;
|
|
722005
722749
|
let t6;
|
|
722006
722750
|
if ($4[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722007
|
-
t0 = /* @__PURE__ */
|
|
722751
|
+
t0 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722008
722752
|
children: [
|
|
722009
|
-
/* @__PURE__ */
|
|
722753
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722010
722754
|
color: "claude",
|
|
722011
722755
|
children: [
|
|
722012
722756
|
"Welcome to OCC",
|
|
722013
722757
|
" "
|
|
722014
722758
|
]
|
|
722015
722759
|
}, undefined, true, undefined, this),
|
|
722016
|
-
/* @__PURE__ */
|
|
722760
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722017
722761
|
dimColor: true,
|
|
722018
722762
|
children: [
|
|
722019
722763
|
"v",
|
|
@@ -722023,22 +722767,22 @@ function WelcomeV2() {
|
|
|
722023
722767
|
}, undefined, true, undefined, this)
|
|
722024
722768
|
]
|
|
722025
722769
|
}, undefined, true, undefined, this);
|
|
722026
|
-
t1 = /* @__PURE__ */
|
|
722770
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722027
722771
|
children: "\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"
|
|
722028
722772
|
}, undefined, false, undefined, this);
|
|
722029
|
-
t22 = /* @__PURE__ */
|
|
722773
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722030
722774
|
children: " "
|
|
722031
722775
|
}, undefined, false, undefined, this);
|
|
722032
|
-
t32 = /* @__PURE__ */
|
|
722776
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722033
722777
|
children: " * \u2588\u2588\u2588\u2588\u2588\u2593\u2593\u2591 "
|
|
722034
722778
|
}, undefined, false, undefined, this);
|
|
722035
|
-
t4 = /* @__PURE__ */
|
|
722779
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722036
722780
|
children: " * \u2588\u2588\u2588\u2593\u2591 \u2591\u2591 "
|
|
722037
722781
|
}, undefined, false, undefined, this);
|
|
722038
|
-
t5 = /* @__PURE__ */
|
|
722782
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722039
722783
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591 \u2588\u2588\u2588\u2593\u2591 "
|
|
722040
722784
|
}, undefined, false, undefined, this);
|
|
722041
|
-
t6 = /* @__PURE__ */
|
|
722785
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722042
722786
|
children: " \u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2588\u2588\u2588\u2593\u2591 "
|
|
722043
722787
|
}, undefined, false, undefined, this);
|
|
722044
722788
|
$4[18] = t0;
|
|
@@ -722063,32 +722807,32 @@ function WelcomeV2() {
|
|
|
722063
722807
|
let t8;
|
|
722064
722808
|
let t9;
|
|
722065
722809
|
if ($4[25] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722066
|
-
t7 = /* @__PURE__ */
|
|
722810
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722067
722811
|
children: [
|
|
722068
|
-
/* @__PURE__ */
|
|
722812
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722069
722813
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722070
722814
|
}, undefined, false, undefined, this),
|
|
722071
|
-
/* @__PURE__ */
|
|
722815
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722072
722816
|
bold: true,
|
|
722073
722817
|
children: "*"
|
|
722074
722818
|
}, undefined, false, undefined, this),
|
|
722075
|
-
/* @__PURE__ */
|
|
722819
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722076
722820
|
children: " \u2588\u2588\u2593\u2591\u2591 \u2593 "
|
|
722077
722821
|
}, undefined, false, undefined, this)
|
|
722078
722822
|
]
|
|
722079
722823
|
}, undefined, true, undefined, this);
|
|
722080
|
-
t8 = /* @__PURE__ */
|
|
722824
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722081
722825
|
children: " \u2591\u2593\u2593\u2588\u2588\u2588\u2593\u2593\u2591 "
|
|
722082
722826
|
}, undefined, false, undefined, this);
|
|
722083
|
-
t9 = /* @__PURE__ */
|
|
722827
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722084
722828
|
dimColor: true,
|
|
722085
722829
|
children: " * \u2591\u2591\u2591\u2591 "
|
|
722086
722830
|
}, undefined, false, undefined, this);
|
|
722087
|
-
t10 = /* @__PURE__ */
|
|
722831
|
+
t10 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722088
722832
|
dimColor: true,
|
|
722089
722833
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722090
722834
|
}, undefined, false, undefined, this);
|
|
722091
|
-
t11 = /* @__PURE__ */
|
|
722835
|
+
t11 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722092
722836
|
dimColor: true,
|
|
722093
722837
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722094
722838
|
}, undefined, false, undefined, this);
|
|
@@ -722106,7 +722850,7 @@ function WelcomeV2() {
|
|
|
722106
722850
|
}
|
|
722107
722851
|
let t12;
|
|
722108
722852
|
if ($4[30] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722109
|
-
t12 = /* @__PURE__ */
|
|
722853
|
+
t12 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722110
722854
|
color: "clawd_body",
|
|
722111
722855
|
children: " \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "
|
|
722112
722856
|
}, undefined, false, undefined, this);
|
|
@@ -722116,16 +722860,16 @@ function WelcomeV2() {
|
|
|
722116
722860
|
}
|
|
722117
722861
|
let t13;
|
|
722118
722862
|
if ($4[31] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722119
|
-
t13 = /* @__PURE__ */
|
|
722863
|
+
t13 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722120
722864
|
children: [
|
|
722121
722865
|
" ",
|
|
722122
722866
|
t12,
|
|
722123
722867
|
" ",
|
|
722124
|
-
/* @__PURE__ */
|
|
722868
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722125
722869
|
dimColor: true,
|
|
722126
722870
|
children: "*"
|
|
722127
722871
|
}, undefined, false, undefined, this),
|
|
722128
|
-
/* @__PURE__ */
|
|
722872
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722129
722873
|
children: " "
|
|
722130
722874
|
}, undefined, false, undefined, this)
|
|
722131
722875
|
]
|
|
@@ -722136,21 +722880,21 @@ function WelcomeV2() {
|
|
|
722136
722880
|
}
|
|
722137
722881
|
let t14;
|
|
722138
722882
|
if ($4[32] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722139
|
-
t14 = /* @__PURE__ */
|
|
722883
|
+
t14 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722140
722884
|
children: [
|
|
722141
722885
|
" ",
|
|
722142
|
-
/* @__PURE__ */
|
|
722886
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722143
722887
|
color: "clawd_body",
|
|
722144
722888
|
children: "\u2588\u2588\u2584\u2588\u2588\u2588\u2588\u2588\u2584\u2588\u2588"
|
|
722145
722889
|
}, undefined, false, undefined, this),
|
|
722146
|
-
/* @__PURE__ */
|
|
722890
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722147
722891
|
children: " "
|
|
722148
722892
|
}, undefined, false, undefined, this),
|
|
722149
|
-
/* @__PURE__ */
|
|
722893
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722150
722894
|
bold: true,
|
|
722151
722895
|
children: "*"
|
|
722152
722896
|
}, undefined, false, undefined, this),
|
|
722153
|
-
/* @__PURE__ */
|
|
722897
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722154
722898
|
children: " "
|
|
722155
722899
|
}, undefined, false, undefined, this)
|
|
722156
722900
|
]
|
|
@@ -722161,10 +722905,10 @@ function WelcomeV2() {
|
|
|
722161
722905
|
}
|
|
722162
722906
|
let t15;
|
|
722163
722907
|
if ($4[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722164
|
-
t15 = /* @__PURE__ */
|
|
722908
|
+
t15 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722165
722909
|
children: [
|
|
722166
722910
|
" ",
|
|
722167
|
-
/* @__PURE__ */
|
|
722911
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722168
722912
|
color: "clawd_body",
|
|
722169
722913
|
children: " \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "
|
|
722170
722914
|
}, undefined, false, undefined, this),
|
|
@@ -722177,9 +722921,9 @@ function WelcomeV2() {
|
|
|
722177
722921
|
}
|
|
722178
722922
|
let t16;
|
|
722179
722923
|
if ($4[34] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722180
|
-
t16 = /* @__PURE__ */
|
|
722924
|
+
t16 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedBox_default, {
|
|
722181
722925
|
width: WELCOME_V2_WIDTH,
|
|
722182
|
-
children: /* @__PURE__ */
|
|
722926
|
+
children: /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722183
722927
|
children: [
|
|
722184
722928
|
t0,
|
|
722185
722929
|
t1,
|
|
@@ -722196,10 +722940,10 @@ function WelcomeV2() {
|
|
|
722196
722940
|
t13,
|
|
722197
722941
|
t14,
|
|
722198
722942
|
t15,
|
|
722199
|
-
/* @__PURE__ */
|
|
722943
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722200
722944
|
children: [
|
|
722201
722945
|
"\u2026\u2026\u2026\u2026\u2026\u2026\u2026",
|
|
722202
|
-
/* @__PURE__ */
|
|
722946
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722203
722947
|
color: "clawd_body",
|
|
722204
722948
|
children: "\u2588 \u2588 \u2588 \u2588"
|
|
722205
722949
|
}, undefined, false, undefined, this),
|
|
@@ -722225,7 +722969,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722225
722969
|
if (isLightTheme) {
|
|
722226
722970
|
let t110;
|
|
722227
722971
|
if ($4[0] !== welcomeMessage) {
|
|
722228
|
-
t110 = /* @__PURE__ */
|
|
722972
|
+
t110 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722229
722973
|
color: "claude",
|
|
722230
722974
|
children: [
|
|
722231
722975
|
welcomeMessage,
|
|
@@ -722239,7 +722983,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722239
722983
|
}
|
|
722240
722984
|
let t23;
|
|
722241
722985
|
if ($4[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722242
|
-
t23 = /* @__PURE__ */
|
|
722986
|
+
t23 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722243
722987
|
dimColor: true,
|
|
722244
722988
|
children: [
|
|
722245
722989
|
"v",
|
|
@@ -722253,7 +722997,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722253
722997
|
}
|
|
722254
722998
|
let t33;
|
|
722255
722999
|
if ($4[3] !== t110) {
|
|
722256
|
-
t33 = /* @__PURE__ */
|
|
723000
|
+
t33 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722257
723001
|
children: [
|
|
722258
723002
|
t110,
|
|
722259
723003
|
t23
|
|
@@ -722273,28 +723017,28 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722273
723017
|
let t82;
|
|
722274
723018
|
let t92;
|
|
722275
723019
|
if ($4[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722276
|
-
t42 = /* @__PURE__ */
|
|
723020
|
+
t42 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722277
723021
|
children: "\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"
|
|
722278
723022
|
}, undefined, false, undefined, this);
|
|
722279
|
-
t52 = /* @__PURE__ */
|
|
723023
|
+
t52 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722280
723024
|
children: " "
|
|
722281
723025
|
}, undefined, false, undefined, this);
|
|
722282
|
-
t62 = /* @__PURE__ */
|
|
723026
|
+
t62 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722283
723027
|
children: " "
|
|
722284
723028
|
}, undefined, false, undefined, this);
|
|
722285
|
-
t72 = /* @__PURE__ */
|
|
723029
|
+
t72 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722286
723030
|
children: " "
|
|
722287
723031
|
}, undefined, false, undefined, this);
|
|
722288
|
-
t82 = /* @__PURE__ */
|
|
723032
|
+
t82 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722289
723033
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722290
723034
|
}, undefined, false, undefined, this);
|
|
722291
|
-
t92 = /* @__PURE__ */
|
|
723035
|
+
t92 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722292
723036
|
children: " \u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722293
723037
|
}, undefined, false, undefined, this);
|
|
722294
|
-
t102 = /* @__PURE__ */
|
|
723038
|
+
t102 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722295
723039
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722296
723040
|
}, undefined, false, undefined, this);
|
|
722297
|
-
t112 = /* @__PURE__ */
|
|
723041
|
+
t112 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722298
723042
|
children: " "
|
|
722299
723043
|
}, undefined, false, undefined, this);
|
|
722300
723044
|
$4[5] = t102;
|
|
@@ -722317,13 +723061,13 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722317
723061
|
}
|
|
722318
723062
|
let t122;
|
|
722319
723063
|
if ($4[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722320
|
-
t122 = /* @__PURE__ */
|
|
723064
|
+
t122 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722321
723065
|
children: [
|
|
722322
|
-
/* @__PURE__ */
|
|
723066
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722323
723067
|
dimColor: true,
|
|
722324
723068
|
children: " \u2591\u2591\u2591\u2591"
|
|
722325
723069
|
}, undefined, false, undefined, this),
|
|
722326
|
-
/* @__PURE__ */
|
|
723070
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722327
723071
|
children: " \u2588\u2588 "
|
|
722328
723072
|
}, undefined, false, undefined, this)
|
|
722329
723073
|
]
|
|
@@ -722336,21 +723080,21 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722336
723080
|
let t142;
|
|
722337
723081
|
let t152;
|
|
722338
723082
|
if ($4[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722339
|
-
t132 = /* @__PURE__ */
|
|
723083
|
+
t132 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722340
723084
|
children: [
|
|
722341
|
-
/* @__PURE__ */
|
|
723085
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722342
723086
|
dimColor: true,
|
|
722343
723087
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591"
|
|
722344
723088
|
}, undefined, false, undefined, this),
|
|
722345
|
-
/* @__PURE__ */
|
|
723089
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722346
723090
|
children: " \u2588\u2588\u2592\u2592\u2588\u2588 "
|
|
722347
723091
|
}, undefined, false, undefined, this)
|
|
722348
723092
|
]
|
|
722349
723093
|
}, undefined, true, undefined, this);
|
|
722350
|
-
t142 = /* @__PURE__ */
|
|
723094
|
+
t142 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722351
723095
|
children: " \u2592\u2592 \u2588\u2588 \u2592"
|
|
722352
723096
|
}, undefined, false, undefined, this);
|
|
722353
|
-
t152 = /* @__PURE__ */
|
|
723097
|
+
t152 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722354
723098
|
children: " \u2592\u2592\u2591\u2591\u2592\u2592 \u2592 \u2592\u2592"
|
|
722355
723099
|
}, undefined, false, undefined, this);
|
|
722356
723100
|
$4[14] = t132;
|
|
@@ -722363,14 +723107,14 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722363
723107
|
}
|
|
722364
723108
|
let t162;
|
|
722365
723109
|
if ($4[17] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722366
|
-
t162 = /* @__PURE__ */
|
|
723110
|
+
t162 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722367
723111
|
children: [
|
|
722368
723112
|
" ",
|
|
722369
|
-
/* @__PURE__ */
|
|
723113
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722370
723114
|
color: "clawd_body",
|
|
722371
723115
|
children: "\u2597"
|
|
722372
723116
|
}, undefined, false, undefined, this),
|
|
722373
|
-
/* @__PURE__ */
|
|
723117
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722374
723118
|
color: "clawd_background",
|
|
722375
723119
|
backgroundColor: "clawd_body",
|
|
722376
723120
|
children: [
|
|
@@ -722381,7 +723125,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722381
723125
|
" "
|
|
722382
723126
|
]
|
|
722383
723127
|
}, undefined, true, undefined, this),
|
|
722384
|
-
/* @__PURE__ */
|
|
723128
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722385
723129
|
color: "clawd_body",
|
|
722386
723130
|
children: "\u2596"
|
|
722387
723131
|
}, undefined, false, undefined, this),
|
|
@@ -722394,10 +723138,10 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722394
723138
|
}
|
|
722395
723139
|
let t172;
|
|
722396
723140
|
if ($4[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722397
|
-
t172 = /* @__PURE__ */
|
|
723141
|
+
t172 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722398
723142
|
children: [
|
|
722399
723143
|
" ",
|
|
722400
|
-
/* @__PURE__ */
|
|
723144
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722401
723145
|
backgroundColor: "clawd_body",
|
|
722402
723146
|
children: " ".repeat(9)
|
|
722403
723147
|
}, undefined, false, undefined, this),
|
|
@@ -722410,31 +723154,31 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722410
723154
|
}
|
|
722411
723155
|
let t182;
|
|
722412
723156
|
if ($4[19] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722413
|
-
t182 = /* @__PURE__ */
|
|
723157
|
+
t182 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722414
723158
|
children: [
|
|
722415
723159
|
"\u2026\u2026\u2026\u2026\u2026\u2026\u2026",
|
|
722416
|
-
/* @__PURE__ */
|
|
723160
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722417
723161
|
backgroundColor: "clawd_body",
|
|
722418
723162
|
children: " "
|
|
722419
723163
|
}, undefined, false, undefined, this),
|
|
722420
|
-
/* @__PURE__ */
|
|
723164
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722421
723165
|
children: " "
|
|
722422
723166
|
}, undefined, false, undefined, this),
|
|
722423
|
-
/* @__PURE__ */
|
|
723167
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722424
723168
|
backgroundColor: "clawd_body",
|
|
722425
723169
|
children: " "
|
|
722426
723170
|
}, undefined, false, undefined, this),
|
|
722427
|
-
/* @__PURE__ */
|
|
723171
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722428
723172
|
children: " "
|
|
722429
723173
|
}, undefined, false, undefined, this),
|
|
722430
|
-
/* @__PURE__ */
|
|
723174
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722431
723175
|
backgroundColor: "clawd_body",
|
|
722432
723176
|
children: " "
|
|
722433
723177
|
}, undefined, false, undefined, this),
|
|
722434
|
-
/* @__PURE__ */
|
|
723178
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722435
723179
|
children: " "
|
|
722436
723180
|
}, undefined, false, undefined, this),
|
|
722437
|
-
/* @__PURE__ */
|
|
723181
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722438
723182
|
backgroundColor: "clawd_body",
|
|
722439
723183
|
children: " "
|
|
722440
723184
|
}, undefined, false, undefined, this),
|
|
@@ -722447,9 +723191,9 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722447
723191
|
}
|
|
722448
723192
|
let t192;
|
|
722449
723193
|
if ($4[20] !== t33) {
|
|
722450
|
-
t192 = /* @__PURE__ */
|
|
723194
|
+
t192 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedBox_default, {
|
|
722451
723195
|
width: WELCOME_V2_WIDTH,
|
|
722452
|
-
children: /* @__PURE__ */
|
|
723196
|
+
children: /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722453
723197
|
children: [
|
|
722454
723198
|
t33,
|
|
722455
723199
|
t42,
|
|
@@ -722479,7 +723223,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722479
723223
|
}
|
|
722480
723224
|
let t1;
|
|
722481
723225
|
if ($4[22] !== welcomeMessage) {
|
|
722482
|
-
t1 = /* @__PURE__ */
|
|
723226
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722483
723227
|
color: "claude",
|
|
722484
723228
|
children: [
|
|
722485
723229
|
welcomeMessage,
|
|
@@ -722493,7 +723237,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722493
723237
|
}
|
|
722494
723238
|
let t22;
|
|
722495
723239
|
if ($4[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722496
|
-
t22 = /* @__PURE__ */
|
|
723240
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722497
723241
|
dimColor: true,
|
|
722498
723242
|
children: [
|
|
722499
723243
|
"v",
|
|
@@ -722507,7 +723251,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722507
723251
|
}
|
|
722508
723252
|
let t32;
|
|
722509
723253
|
if ($4[25] !== t1) {
|
|
722510
|
-
t32 = /* @__PURE__ */
|
|
723254
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722511
723255
|
children: [
|
|
722512
723256
|
t1,
|
|
722513
723257
|
t22
|
|
@@ -722525,22 +723269,22 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722525
723269
|
let t8;
|
|
722526
723270
|
let t9;
|
|
722527
723271
|
if ($4[27] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722528
|
-
t4 = /* @__PURE__ */
|
|
723272
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722529
723273
|
children: "\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"
|
|
722530
723274
|
}, undefined, false, undefined, this);
|
|
722531
|
-
t5 = /* @__PURE__ */
|
|
723275
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722532
723276
|
children: " "
|
|
722533
723277
|
}, undefined, false, undefined, this);
|
|
722534
|
-
t6 = /* @__PURE__ */
|
|
723278
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722535
723279
|
children: " * \u2588\u2588\u2588\u2588\u2588\u2593\u2593\u2591 "
|
|
722536
723280
|
}, undefined, false, undefined, this);
|
|
722537
|
-
t7 = /* @__PURE__ */
|
|
723281
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722538
723282
|
children: " * \u2588\u2588\u2588\u2593\u2591 \u2591\u2591 "
|
|
722539
723283
|
}, undefined, false, undefined, this);
|
|
722540
|
-
t8 = /* @__PURE__ */
|
|
723284
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722541
723285
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591 \u2588\u2588\u2588\u2593\u2591 "
|
|
722542
723286
|
}, undefined, false, undefined, this);
|
|
722543
|
-
t9 = /* @__PURE__ */
|
|
723287
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722544
723288
|
children: " \u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2588\u2588\u2588\u2593\u2591 "
|
|
722545
723289
|
}, undefined, false, undefined, this);
|
|
722546
723290
|
$4[27] = t4;
|
|
@@ -722563,32 +723307,32 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722563
723307
|
let t13;
|
|
722564
723308
|
let t14;
|
|
722565
723309
|
if ($4[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722566
|
-
t10 = /* @__PURE__ */
|
|
723310
|
+
t10 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722567
723311
|
children: [
|
|
722568
|
-
/* @__PURE__ */
|
|
723312
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722569
723313
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722570
723314
|
}, undefined, false, undefined, this),
|
|
722571
|
-
/* @__PURE__ */
|
|
723315
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722572
723316
|
bold: true,
|
|
722573
723317
|
children: "*"
|
|
722574
723318
|
}, undefined, false, undefined, this),
|
|
722575
|
-
/* @__PURE__ */
|
|
723319
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722576
723320
|
children: " \u2588\u2588\u2593\u2591\u2591 \u2593 "
|
|
722577
723321
|
}, undefined, false, undefined, this)
|
|
722578
723322
|
]
|
|
722579
723323
|
}, undefined, true, undefined, this);
|
|
722580
|
-
t11 = /* @__PURE__ */
|
|
723324
|
+
t11 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722581
723325
|
children: " \u2591\u2593\u2593\u2588\u2588\u2588\u2593\u2593\u2591 "
|
|
722582
723326
|
}, undefined, false, undefined, this);
|
|
722583
|
-
t12 = /* @__PURE__ */
|
|
723327
|
+
t12 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722584
723328
|
dimColor: true,
|
|
722585
723329
|
children: " * \u2591\u2591\u2591\u2591 "
|
|
722586
723330
|
}, undefined, false, undefined, this);
|
|
722587
|
-
t13 = /* @__PURE__ */
|
|
723331
|
+
t13 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722588
723332
|
dimColor: true,
|
|
722589
723333
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722590
723334
|
}, undefined, false, undefined, this);
|
|
722591
|
-
t14 = /* @__PURE__ */
|
|
723335
|
+
t14 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722592
723336
|
dimColor: true,
|
|
722593
723337
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722594
723338
|
}, undefined, false, undefined, this);
|
|
@@ -722606,14 +723350,14 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722606
723350
|
}
|
|
722607
723351
|
let t15;
|
|
722608
723352
|
if ($4[38] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722609
|
-
t15 = /* @__PURE__ */
|
|
723353
|
+
t15 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722610
723354
|
children: [
|
|
722611
723355
|
" ",
|
|
722612
|
-
/* @__PURE__ */
|
|
723356
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722613
723357
|
dimColor: true,
|
|
722614
723358
|
children: "*"
|
|
722615
723359
|
}, undefined, false, undefined, this),
|
|
722616
|
-
/* @__PURE__ */
|
|
723360
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722617
723361
|
children: " "
|
|
722618
723362
|
}, undefined, false, undefined, this)
|
|
722619
723363
|
]
|
|
@@ -722624,14 +723368,14 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722624
723368
|
}
|
|
722625
723369
|
let t16;
|
|
722626
723370
|
if ($4[39] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722627
|
-
t16 = /* @__PURE__ */
|
|
723371
|
+
t16 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722628
723372
|
children: [
|
|
722629
723373
|
" ",
|
|
722630
|
-
/* @__PURE__ */
|
|
723374
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722631
723375
|
color: "clawd_body",
|
|
722632
723376
|
children: "\u2597"
|
|
722633
723377
|
}, undefined, false, undefined, this),
|
|
722634
|
-
/* @__PURE__ */
|
|
723378
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722635
723379
|
color: "clawd_background",
|
|
722636
723380
|
backgroundColor: "clawd_body",
|
|
722637
723381
|
children: [
|
|
@@ -722642,18 +723386,18 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722642
723386
|
" "
|
|
722643
723387
|
]
|
|
722644
723388
|
}, undefined, true, undefined, this),
|
|
722645
|
-
/* @__PURE__ */
|
|
723389
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722646
723390
|
color: "clawd_body",
|
|
722647
723391
|
children: "\u2596"
|
|
722648
723392
|
}, undefined, false, undefined, this),
|
|
722649
|
-
/* @__PURE__ */
|
|
723393
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722650
723394
|
children: " "
|
|
722651
723395
|
}, undefined, false, undefined, this),
|
|
722652
|
-
/* @__PURE__ */
|
|
723396
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722653
723397
|
bold: true,
|
|
722654
723398
|
children: "*"
|
|
722655
723399
|
}, undefined, false, undefined, this),
|
|
722656
|
-
/* @__PURE__ */
|
|
723400
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722657
723401
|
children: " "
|
|
722658
723402
|
}, undefined, false, undefined, this)
|
|
722659
723403
|
]
|
|
@@ -722664,10 +723408,10 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722664
723408
|
}
|
|
722665
723409
|
let t17;
|
|
722666
723410
|
if ($4[40] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722667
|
-
t17 = /* @__PURE__ */
|
|
723411
|
+
t17 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722668
723412
|
children: [
|
|
722669
723413
|
" ",
|
|
722670
|
-
/* @__PURE__ */
|
|
723414
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722671
723415
|
backgroundColor: "clawd_body",
|
|
722672
723416
|
children: " ".repeat(9)
|
|
722673
723417
|
}, undefined, false, undefined, this),
|
|
@@ -722680,31 +723424,31 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722680
723424
|
}
|
|
722681
723425
|
let t18;
|
|
722682
723426
|
if ($4[41] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722683
|
-
t18 = /* @__PURE__ */
|
|
723427
|
+
t18 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722684
723428
|
children: [
|
|
722685
723429
|
"\u2026\u2026\u2026\u2026\u2026\u2026\u2026",
|
|
722686
|
-
/* @__PURE__ */
|
|
723430
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722687
723431
|
backgroundColor: "clawd_body",
|
|
722688
723432
|
children: " "
|
|
722689
723433
|
}, undefined, false, undefined, this),
|
|
722690
|
-
/* @__PURE__ */
|
|
723434
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722691
723435
|
children: " "
|
|
722692
723436
|
}, undefined, false, undefined, this),
|
|
722693
|
-
/* @__PURE__ */
|
|
723437
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722694
723438
|
backgroundColor: "clawd_body",
|
|
722695
723439
|
children: " "
|
|
722696
723440
|
}, undefined, false, undefined, this),
|
|
722697
|
-
/* @__PURE__ */
|
|
723441
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722698
723442
|
children: " "
|
|
722699
723443
|
}, undefined, false, undefined, this),
|
|
722700
|
-
/* @__PURE__ */
|
|
723444
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722701
723445
|
backgroundColor: "clawd_body",
|
|
722702
723446
|
children: " "
|
|
722703
723447
|
}, undefined, false, undefined, this),
|
|
722704
|
-
/* @__PURE__ */
|
|
723448
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722705
723449
|
children: " "
|
|
722706
723450
|
}, undefined, false, undefined, this),
|
|
722707
|
-
/* @__PURE__ */
|
|
723451
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722708
723452
|
backgroundColor: "clawd_body",
|
|
722709
723453
|
children: " "
|
|
722710
723454
|
}, undefined, false, undefined, this),
|
|
@@ -722717,9 +723461,9 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722717
723461
|
}
|
|
722718
723462
|
let t19;
|
|
722719
723463
|
if ($4[42] !== t32) {
|
|
722720
|
-
t19 = /* @__PURE__ */
|
|
723464
|
+
t19 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedBox_default, {
|
|
722721
723465
|
width: WELCOME_V2_WIDTH,
|
|
722722
|
-
children: /* @__PURE__ */
|
|
723466
|
+
children: /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722723
723467
|
children: [
|
|
722724
723468
|
t32,
|
|
722725
723469
|
t4,
|
|
@@ -722747,12 +723491,12 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722747
723491
|
}
|
|
722748
723492
|
return t19;
|
|
722749
723493
|
}
|
|
722750
|
-
var import_compiler_runtime353,
|
|
723494
|
+
var import_compiler_runtime353, jsx_dev_runtime468, WELCOME_V2_WIDTH = 58;
|
|
722751
723495
|
var init_WelcomeV2 = __esm(() => {
|
|
722752
723496
|
init_ink2();
|
|
722753
723497
|
init_env();
|
|
722754
723498
|
import_compiler_runtime353 = __toESM(require_compiler_runtime(), 1);
|
|
722755
|
-
|
|
723499
|
+
jsx_dev_runtime468 = __toESM(require_jsx_dev_runtime(), 1);
|
|
722756
723500
|
});
|
|
722757
723501
|
|
|
722758
723502
|
// src/components/ui/OrderedListItem.tsx
|
|
@@ -722766,7 +723510,7 @@ function OrderedListItem(t0) {
|
|
|
722766
723510
|
} = import_react319.useContext(OrderedListItemContext);
|
|
722767
723511
|
let t1;
|
|
722768
723512
|
if ($4[0] !== marker) {
|
|
722769
|
-
t1 = /* @__PURE__ */
|
|
723513
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime469.jsxDEV(ThemedText, {
|
|
722770
723514
|
dimColor: true,
|
|
722771
723515
|
children: marker
|
|
722772
723516
|
}, undefined, false, undefined, this);
|
|
@@ -722777,7 +723521,7 @@ function OrderedListItem(t0) {
|
|
|
722777
723521
|
}
|
|
722778
723522
|
let t22;
|
|
722779
723523
|
if ($4[2] !== children2) {
|
|
722780
|
-
t22 = /* @__PURE__ */
|
|
723524
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime469.jsxDEV(ThemedBox_default, {
|
|
722781
723525
|
flexDirection: "column",
|
|
722782
723526
|
children: children2
|
|
722783
723527
|
}, undefined, false, undefined, this);
|
|
@@ -722788,7 +723532,7 @@ function OrderedListItem(t0) {
|
|
|
722788
723532
|
}
|
|
722789
723533
|
let t32;
|
|
722790
723534
|
if ($4[4] !== t1 || $4[5] !== t22) {
|
|
722791
|
-
t32 = /* @__PURE__ */
|
|
723535
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime469.jsxDEV(ThemedBox_default, {
|
|
722792
723536
|
gap: 1,
|
|
722793
723537
|
children: [
|
|
722794
723538
|
t1,
|
|
@@ -722803,12 +723547,12 @@ function OrderedListItem(t0) {
|
|
|
722803
723547
|
}
|
|
722804
723548
|
return t32;
|
|
722805
723549
|
}
|
|
722806
|
-
var import_compiler_runtime354, import_react319,
|
|
723550
|
+
var import_compiler_runtime354, import_react319, jsx_dev_runtime469, OrderedListItemContext;
|
|
722807
723551
|
var init_OrderedListItem = __esm(() => {
|
|
722808
723552
|
init_ink2();
|
|
722809
723553
|
import_compiler_runtime354 = __toESM(require_compiler_runtime(), 1);
|
|
722810
723554
|
import_react319 = __toESM(require_react(), 1);
|
|
722811
|
-
|
|
723555
|
+
jsx_dev_runtime469 = __toESM(require_jsx_dev_runtime(), 1);
|
|
722812
723556
|
OrderedListItemContext = import_react319.createContext({
|
|
722813
723557
|
marker: ""
|
|
722814
723558
|
});
|
|
@@ -722841,11 +723585,11 @@ function OrderedListComponent(t0) {
|
|
|
722841
723585
|
}
|
|
722842
723586
|
const paddedMarker = `${String(index2 + 1).padStart(maxMarkerWidth)}.`;
|
|
722843
723587
|
const marker = `${parentMarker}${paddedMarker}`;
|
|
722844
|
-
return /* @__PURE__ */
|
|
723588
|
+
return /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(OrderedListContext.Provider, {
|
|
722845
723589
|
value: {
|
|
722846
723590
|
marker
|
|
722847
723591
|
},
|
|
722848
|
-
children: /* @__PURE__ */
|
|
723592
|
+
children: /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(OrderedListItemContext.Provider, {
|
|
722849
723593
|
value: {
|
|
722850
723594
|
marker
|
|
722851
723595
|
},
|
|
@@ -722869,7 +723613,7 @@ function OrderedListComponent(t0) {
|
|
|
722869
723613
|
}
|
|
722870
723614
|
let t22;
|
|
722871
723615
|
if ($4[7] !== t1) {
|
|
722872
|
-
t22 = /* @__PURE__ */
|
|
723616
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(ThemedBox_default, {
|
|
722873
723617
|
flexDirection: "column",
|
|
722874
723618
|
children: t1
|
|
722875
723619
|
}, undefined, false, undefined, this);
|
|
@@ -722880,13 +723624,13 @@ function OrderedListComponent(t0) {
|
|
|
722880
723624
|
}
|
|
722881
723625
|
return t22;
|
|
722882
723626
|
}
|
|
722883
|
-
var import_compiler_runtime355, import_react320,
|
|
723627
|
+
var import_compiler_runtime355, import_react320, jsx_dev_runtime470, OrderedListContext, OrderedList;
|
|
722884
723628
|
var init_OrderedList = __esm(() => {
|
|
722885
723629
|
init_ink2();
|
|
722886
723630
|
init_OrderedListItem();
|
|
722887
723631
|
import_compiler_runtime355 = __toESM(require_compiler_runtime(), 1);
|
|
722888
723632
|
import_react320 = __toESM(require_react(), 1);
|
|
722889
|
-
|
|
723633
|
+
jsx_dev_runtime470 = __toESM(require_jsx_dev_runtime(), 1);
|
|
722890
723634
|
OrderedListContext = import_react320.createContext({
|
|
722891
723635
|
marker: ""
|
|
722892
723636
|
});
|
|
@@ -722929,9 +723673,9 @@ function Onboarding({
|
|
|
722929
723673
|
goToNextStep();
|
|
722930
723674
|
}
|
|
722931
723675
|
const exitState = useExitOnCtrlCDWithKeybindings();
|
|
722932
|
-
const themeStep = /* @__PURE__ */
|
|
723676
|
+
const themeStep = /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
722933
723677
|
marginX: 1,
|
|
722934
|
-
children: /* @__PURE__ */
|
|
723678
|
+
children: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemePicker, {
|
|
722935
723679
|
onThemeSelect: handleThemeSelection,
|
|
722936
723680
|
showIntroText: true,
|
|
722937
723681
|
helpText: "To change this later, run /theme",
|
|
@@ -722939,49 +723683,49 @@ function Onboarding({
|
|
|
722939
723683
|
skipExitHandling: true
|
|
722940
723684
|
}, undefined, false, undefined, this)
|
|
722941
723685
|
}, undefined, false, undefined, this);
|
|
722942
|
-
const securityStep = /* @__PURE__ */
|
|
723686
|
+
const securityStep = /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
722943
723687
|
flexDirection: "column",
|
|
722944
723688
|
gap: 1,
|
|
722945
723689
|
paddingLeft: 1,
|
|
722946
723690
|
children: [
|
|
722947
|
-
/* @__PURE__ */
|
|
723691
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
722948
723692
|
bold: true,
|
|
722949
723693
|
children: "Security notes:"
|
|
722950
723694
|
}, undefined, false, undefined, this),
|
|
722951
|
-
/* @__PURE__ */
|
|
723695
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
722952
723696
|
flexDirection: "column",
|
|
722953
723697
|
width: 70,
|
|
722954
|
-
children: /* @__PURE__ */
|
|
723698
|
+
children: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(OrderedList, {
|
|
722955
723699
|
children: [
|
|
722956
|
-
/* @__PURE__ */
|
|
723700
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(OrderedList.Item, {
|
|
722957
723701
|
children: [
|
|
722958
|
-
/* @__PURE__ */
|
|
723702
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
722959
723703
|
children: "Claude can make mistakes"
|
|
722960
723704
|
}, undefined, false, undefined, this),
|
|
722961
|
-
/* @__PURE__ */
|
|
723705
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
722962
723706
|
dimColor: true,
|
|
722963
723707
|
wrap: "wrap",
|
|
722964
723708
|
children: [
|
|
722965
723709
|
"You should always review Claude's responses, especially when",
|
|
722966
|
-
/* @__PURE__ */
|
|
723710
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
722967
723711
|
"running code.",
|
|
722968
|
-
/* @__PURE__ */
|
|
723712
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Newline, {}, undefined, false, undefined, this)
|
|
722969
723713
|
]
|
|
722970
723714
|
}, undefined, true, undefined, this)
|
|
722971
723715
|
]
|
|
722972
723716
|
}, undefined, true, undefined, this),
|
|
722973
|
-
/* @__PURE__ */
|
|
723717
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(OrderedList.Item, {
|
|
722974
723718
|
children: [
|
|
722975
|
-
/* @__PURE__ */
|
|
723719
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
722976
723720
|
children: "Due to prompt injection risks, only use it with code you trust"
|
|
722977
723721
|
}, undefined, false, undefined, this),
|
|
722978
|
-
/* @__PURE__ */
|
|
723722
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
722979
723723
|
dimColor: true,
|
|
722980
723724
|
wrap: "wrap",
|
|
722981
723725
|
children: [
|
|
722982
723726
|
"For more details see:",
|
|
722983
|
-
/* @__PURE__ */
|
|
722984
|
-
/* @__PURE__ */
|
|
723727
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
723728
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Link, {
|
|
722985
723729
|
url: "https://code.claude.com/docs/en/security"
|
|
722986
723730
|
}, undefined, false, undefined, this)
|
|
722987
723731
|
]
|
|
@@ -722991,10 +723735,10 @@ function Onboarding({
|
|
|
722991
723735
|
]
|
|
722992
723736
|
}, undefined, true, undefined, this)
|
|
722993
723737
|
}, undefined, false, undefined, this),
|
|
722994
|
-
/* @__PURE__ */
|
|
723738
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(PressEnterToContinue, {}, undefined, false, undefined, this)
|
|
722995
723739
|
]
|
|
722996
723740
|
}, undefined, true, undefined, this);
|
|
722997
|
-
const preflightStep = /* @__PURE__ */
|
|
723741
|
+
const preflightStep = /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(PreflightStep, {
|
|
722998
723742
|
onSuccess: goToNextStep
|
|
722999
723743
|
}, undefined, false, undefined, this);
|
|
723000
723744
|
const apiKeyNeedingApproval = import_react321.useMemo(() => {
|
|
@@ -723026,7 +723770,7 @@ function Onboarding({
|
|
|
723026
723770
|
if (apiKeyNeedingApproval) {
|
|
723027
723771
|
steps.push({
|
|
723028
723772
|
id: "api-key",
|
|
723029
|
-
component: /* @__PURE__ */
|
|
723773
|
+
component: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ApproveApiKey, {
|
|
723030
723774
|
customApiKeyTruncated: apiKeyNeedingApproval,
|
|
723031
723775
|
onDone: handleApiKeyDone
|
|
723032
723776
|
}, undefined, false, undefined, this)
|
|
@@ -723035,10 +723779,10 @@ function Onboarding({
|
|
|
723035
723779
|
if (oauthEnabled) {
|
|
723036
723780
|
steps.push({
|
|
723037
723781
|
id: "oauth",
|
|
723038
|
-
component: /* @__PURE__ */
|
|
723782
|
+
component: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(SkippableStep, {
|
|
723039
723783
|
skip: skipOAuth,
|
|
723040
723784
|
onSkip: goToNextStep,
|
|
723041
|
-
children: /* @__PURE__ */
|
|
723785
|
+
children: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ConsoleOAuthFlow, {
|
|
723042
723786
|
onDone: goToNextStep
|
|
723043
723787
|
}, undefined, false, undefined, this)
|
|
723044
723788
|
}, undefined, false, undefined, this)
|
|
@@ -723051,30 +723795,30 @@ function Onboarding({
|
|
|
723051
723795
|
if (shouldOfferTerminalSetup()) {
|
|
723052
723796
|
steps.push({
|
|
723053
723797
|
id: "terminal-setup",
|
|
723054
|
-
component: /* @__PURE__ */
|
|
723798
|
+
component: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
723055
723799
|
flexDirection: "column",
|
|
723056
723800
|
gap: 1,
|
|
723057
723801
|
paddingLeft: 1,
|
|
723058
723802
|
children: [
|
|
723059
|
-
/* @__PURE__ */
|
|
723803
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
723060
723804
|
bold: true,
|
|
723061
723805
|
children: "Use Claude Code's terminal setup?"
|
|
723062
723806
|
}, undefined, false, undefined, this),
|
|
723063
|
-
/* @__PURE__ */
|
|
723807
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
723064
723808
|
flexDirection: "column",
|
|
723065
723809
|
width: 70,
|
|
723066
723810
|
gap: 1,
|
|
723067
723811
|
children: [
|
|
723068
|
-
/* @__PURE__ */
|
|
723812
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
723069
723813
|
children: [
|
|
723070
723814
|
"For the optimal coding experience, enable the recommended settings",
|
|
723071
|
-
/* @__PURE__ */
|
|
723815
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
723072
723816
|
"for your terminal:",
|
|
723073
723817
|
" ",
|
|
723074
723818
|
env4.terminal === "Apple_Terminal" ? "Option+Enter for newlines and visual bell" : "Shift+Enter for newlines"
|
|
723075
723819
|
]
|
|
723076
723820
|
}, undefined, true, undefined, this),
|
|
723077
|
-
/* @__PURE__ */
|
|
723821
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Select, {
|
|
723078
723822
|
options: [{
|
|
723079
723823
|
label: "Yes, use recommended settings",
|
|
723080
723824
|
value: "install"
|
|
@@ -723091,15 +723835,15 @@ function Onboarding({
|
|
|
723091
723835
|
},
|
|
723092
723836
|
onCancel: () => goToNextStep()
|
|
723093
723837
|
}, undefined, false, undefined, this),
|
|
723094
|
-
/* @__PURE__ */
|
|
723838
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
723095
723839
|
dimColor: true,
|
|
723096
|
-
children: exitState.pending ? /* @__PURE__ */
|
|
723840
|
+
children: exitState.pending ? /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(jsx_dev_runtime471.Fragment, {
|
|
723097
723841
|
children: [
|
|
723098
723842
|
"Press ",
|
|
723099
723843
|
exitState.keyName,
|
|
723100
723844
|
" again to exit"
|
|
723101
723845
|
]
|
|
723102
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
723846
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(jsx_dev_runtime471.Fragment, {
|
|
723103
723847
|
children: "Enter to confirm \xB7 Esc to skip"
|
|
723104
723848
|
}, undefined, false, undefined, this)
|
|
723105
723849
|
}, undefined, false, undefined, this)
|
|
@@ -723132,18 +723876,18 @@ function Onboarding({
|
|
|
723132
723876
|
context: "Confirmation",
|
|
723133
723877
|
isActive: currentStep?.id === "terminal-setup"
|
|
723134
723878
|
});
|
|
723135
|
-
return /* @__PURE__ */
|
|
723879
|
+
return /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
723136
723880
|
flexDirection: "column",
|
|
723137
723881
|
children: [
|
|
723138
|
-
/* @__PURE__ */
|
|
723139
|
-
/* @__PURE__ */
|
|
723882
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(WelcomeV2, {}, undefined, false, undefined, this),
|
|
723883
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
723140
723884
|
flexDirection: "column",
|
|
723141
723885
|
marginTop: 1,
|
|
723142
723886
|
children: [
|
|
723143
723887
|
currentStep?.component,
|
|
723144
|
-
exitState.pending && /* @__PURE__ */
|
|
723888
|
+
exitState.pending && /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
723145
723889
|
padding: 1,
|
|
723146
|
-
children: /* @__PURE__ */
|
|
723890
|
+
children: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
723147
723891
|
dimColor: true,
|
|
723148
723892
|
children: [
|
|
723149
723893
|
"Press ",
|
|
@@ -723187,7 +723931,7 @@ function SkippableStep(t0) {
|
|
|
723187
723931
|
}
|
|
723188
723932
|
return children2;
|
|
723189
723933
|
}
|
|
723190
|
-
var import_compiler_runtime356, import_react321,
|
|
723934
|
+
var import_compiler_runtime356, import_react321, jsx_dev_runtime471;
|
|
723191
723935
|
var init_Onboarding = __esm(() => {
|
|
723192
723936
|
init_analytics();
|
|
723193
723937
|
init_terminalSetup();
|
|
@@ -723209,7 +723953,7 @@ var init_Onboarding = __esm(() => {
|
|
|
723209
723953
|
init_OrderedList();
|
|
723210
723954
|
import_compiler_runtime356 = __toESM(require_compiler_runtime(), 1);
|
|
723211
723955
|
import_react321 = __toESM(require_react(), 1);
|
|
723212
|
-
|
|
723956
|
+
jsx_dev_runtime471 = __toESM(require_jsx_dev_runtime(), 1);
|
|
723213
723957
|
});
|
|
723214
723958
|
|
|
723215
723959
|
// src/components/TrustDialog/utils.ts
|
|
@@ -723534,18 +724278,18 @@ function TrustDialog(t0) {
|
|
|
723534
724278
|
let t17;
|
|
723535
724279
|
let t18;
|
|
723536
724280
|
if ($4[20] === Symbol.for("react.memo_cache_sentinel")) {
|
|
723537
|
-
t16 = /* @__PURE__ */
|
|
724281
|
+
t16 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
723538
724282
|
bold: true,
|
|
723539
724283
|
children: getFsImplementation().cwd()
|
|
723540
724284
|
}, undefined, false, undefined, this);
|
|
723541
|
-
t17 = /* @__PURE__ */
|
|
724285
|
+
t17 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
723542
724286
|
children: [
|
|
723543
724287
|
"Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what",
|
|
723544
724288
|
"'",
|
|
723545
724289
|
"s in this folder first."
|
|
723546
724290
|
]
|
|
723547
724291
|
}, undefined, true, undefined, this);
|
|
723548
|
-
t18 = /* @__PURE__ */
|
|
724292
|
+
t18 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
723549
724293
|
children: [
|
|
723550
724294
|
"Claude Code",
|
|
723551
724295
|
"'",
|
|
@@ -723562,9 +724306,9 @@ function TrustDialog(t0) {
|
|
|
723562
724306
|
}
|
|
723563
724307
|
let t19;
|
|
723564
724308
|
if ($4[23] === Symbol.for("react.memo_cache_sentinel")) {
|
|
723565
|
-
t19 = /* @__PURE__ */
|
|
724309
|
+
t19 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
723566
724310
|
dimColor: true,
|
|
723567
|
-
children: /* @__PURE__ */
|
|
724311
|
+
children: /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(Link, {
|
|
723568
724312
|
url: "https://code.claude.com/docs/en/security",
|
|
723569
724313
|
children: "Security guide"
|
|
723570
724314
|
}, undefined, false, undefined, this)
|
|
@@ -723588,7 +724332,7 @@ function TrustDialog(t0) {
|
|
|
723588
724332
|
}
|
|
723589
724333
|
let t21;
|
|
723590
724334
|
if ($4[25] !== onChange) {
|
|
723591
|
-
t21 = /* @__PURE__ */
|
|
724335
|
+
t21 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(Select, {
|
|
723592
724336
|
options: t20,
|
|
723593
724337
|
onChange: (value_0) => onChange(value_0),
|
|
723594
724338
|
onCancel: () => onChange("exit")
|
|
@@ -723600,15 +724344,15 @@ function TrustDialog(t0) {
|
|
|
723600
724344
|
}
|
|
723601
724345
|
let t222;
|
|
723602
724346
|
if ($4[27] !== exitState.keyName || $4[28] !== exitState.pending) {
|
|
723603
|
-
t222 = /* @__PURE__ */
|
|
724347
|
+
t222 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
723604
724348
|
dimColor: true,
|
|
723605
|
-
children: exitState.pending ? /* @__PURE__ */
|
|
724349
|
+
children: exitState.pending ? /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(jsx_dev_runtime472.Fragment, {
|
|
723606
724350
|
children: [
|
|
723607
724351
|
"Press ",
|
|
723608
724352
|
exitState.keyName,
|
|
723609
724353
|
" again to exit"
|
|
723610
724354
|
]
|
|
723611
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
724355
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(jsx_dev_runtime472.Fragment, {
|
|
723612
724356
|
children: "Enter to confirm \xB7 Esc to cancel"
|
|
723613
724357
|
}, undefined, false, undefined, this)
|
|
723614
724358
|
}, undefined, false, undefined, this);
|
|
@@ -723620,11 +724364,11 @@ function TrustDialog(t0) {
|
|
|
723620
724364
|
}
|
|
723621
724365
|
let t23;
|
|
723622
724366
|
if ($4[30] !== t21 || $4[31] !== t222) {
|
|
723623
|
-
t23 = /* @__PURE__ */
|
|
724367
|
+
t23 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(PermissionDialog, {
|
|
723624
724368
|
color: "warning",
|
|
723625
724369
|
titleColor: "warning",
|
|
723626
724370
|
title: "Accessing workspace:",
|
|
723627
|
-
children: /* @__PURE__ */
|
|
724371
|
+
children: /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedBox_default, {
|
|
723628
724372
|
flexDirection: "column",
|
|
723629
724373
|
gap: 1,
|
|
723630
724374
|
paddingTop: 1,
|
|
@@ -723670,7 +724414,7 @@ function _temp2104(command10) {
|
|
|
723670
724414
|
function _temp305(tool) {
|
|
723671
724415
|
return tool === BASH_TOOL_NAME || tool.startsWith(BASH_TOOL_NAME + "(");
|
|
723672
724416
|
}
|
|
723673
|
-
var import_compiler_runtime357, import_react322,
|
|
724417
|
+
var import_compiler_runtime357, import_react322, jsx_dev_runtime472;
|
|
723674
724418
|
var init_TrustDialog = __esm(() => {
|
|
723675
724419
|
init_analytics();
|
|
723676
724420
|
init_state();
|
|
@@ -723687,7 +724431,7 @@ var init_TrustDialog = __esm(() => {
|
|
|
723687
724431
|
init_utils15();
|
|
723688
724432
|
import_compiler_runtime357 = __toESM(require_compiler_runtime(), 1);
|
|
723689
724433
|
import_react322 = __toESM(require_react(), 1);
|
|
723690
|
-
|
|
724434
|
+
jsx_dev_runtime472 = __toESM(require_jsx_dev_runtime(), 1);
|
|
723691
724435
|
});
|
|
723692
724436
|
|
|
723693
724437
|
// src/components/BypassPermissionsModeDialog.tsx
|
|
@@ -723735,21 +724479,21 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
723735
724479
|
const handleEscape = _temp2105;
|
|
723736
724480
|
let t32;
|
|
723737
724481
|
if ($4[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
723738
|
-
t32 = /* @__PURE__ */
|
|
724482
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime473.jsxDEV(ThemedBox_default, {
|
|
723739
724483
|
flexDirection: "column",
|
|
723740
724484
|
gap: 1,
|
|
723741
724485
|
children: [
|
|
723742
|
-
/* @__PURE__ */
|
|
724486
|
+
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(ThemedText, {
|
|
723743
724487
|
children: [
|
|
723744
724488
|
"In Bypass Permissions mode, Claude Code will not ask for your approval before running potentially dangerous commands.",
|
|
723745
|
-
/* @__PURE__ */
|
|
724489
|
+
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
723746
724490
|
"This mode should only be used in a sandboxed container/VM that has restricted internet access and can easily be restored if damaged."
|
|
723747
724491
|
]
|
|
723748
724492
|
}, undefined, true, undefined, this),
|
|
723749
|
-
/* @__PURE__ */
|
|
724493
|
+
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(ThemedText, {
|
|
723750
724494
|
children: "By proceeding, you accept all responsibility for actions taken while running in Bypass Permissions mode."
|
|
723751
724495
|
}, undefined, false, undefined, this),
|
|
723752
|
-
/* @__PURE__ */
|
|
724496
|
+
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(Link, {
|
|
723753
724497
|
url: "https://code.claude.com/docs/en/security"
|
|
723754
724498
|
}, undefined, false, undefined, this)
|
|
723755
724499
|
]
|
|
@@ -723773,13 +724517,13 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
723773
724517
|
}
|
|
723774
724518
|
let t5;
|
|
723775
724519
|
if ($4[5] !== onChange) {
|
|
723776
|
-
t5 = /* @__PURE__ */
|
|
724520
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime473.jsxDEV(Dialog, {
|
|
723777
724521
|
title: "WARNING: Claude Code running in Bypass Permissions mode",
|
|
723778
724522
|
color: "error",
|
|
723779
724523
|
onCancel: handleEscape,
|
|
723780
724524
|
children: [
|
|
723781
724525
|
t32,
|
|
723782
|
-
/* @__PURE__ */
|
|
724526
|
+
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(Select, {
|
|
723783
724527
|
options: t4,
|
|
723784
724528
|
onChange: (value_0) => onChange(value_0)
|
|
723785
724529
|
}, undefined, false, undefined, this)
|
|
@@ -723798,7 +724542,7 @@ function _temp2105() {
|
|
|
723798
724542
|
function _temp306() {
|
|
723799
724543
|
logEvent("tengu_bypass_permissions_mode_dialog_shown", {});
|
|
723800
724544
|
}
|
|
723801
|
-
var import_compiler_runtime358, import_react323,
|
|
724545
|
+
var import_compiler_runtime358, import_react323, jsx_dev_runtime473;
|
|
723802
724546
|
var init_BypassPermissionsModeDialog = __esm(() => {
|
|
723803
724547
|
init_analytics();
|
|
723804
724548
|
init_ink2();
|
|
@@ -723808,7 +724552,7 @@ var init_BypassPermissionsModeDialog = __esm(() => {
|
|
|
723808
724552
|
init_Dialog();
|
|
723809
724553
|
import_compiler_runtime358 = __toESM(require_compiler_runtime(), 1);
|
|
723810
724554
|
import_react323 = __toESM(require_react(), 1);
|
|
723811
|
-
|
|
724555
|
+
jsx_dev_runtime473 = __toESM(require_jsx_dev_runtime(), 1);
|
|
723812
724556
|
});
|
|
723813
724557
|
|
|
723814
724558
|
// src/components/DevChannelsDialog.tsx
|
|
@@ -723846,10 +724590,10 @@ function DevChannelsDialog(t0) {
|
|
|
723846
724590
|
let t22;
|
|
723847
724591
|
let t32;
|
|
723848
724592
|
if ($4[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
723849
|
-
t22 = /* @__PURE__ */
|
|
724593
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime474.jsxDEV(ThemedText, {
|
|
723850
724594
|
children: "--dangerously-load-development-channels is for local channel development only. Do not use this option to run channels you have downloaded off the internet."
|
|
723851
724595
|
}, undefined, false, undefined, this);
|
|
723852
|
-
t32 = /* @__PURE__ */
|
|
724596
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime474.jsxDEV(ThemedText, {
|
|
723853
724597
|
children: "Please use --channels to run a list of approved channels."
|
|
723854
724598
|
}, undefined, false, undefined, this);
|
|
723855
724599
|
$4[2] = t22;
|
|
@@ -723868,13 +724612,13 @@ function DevChannelsDialog(t0) {
|
|
|
723868
724612
|
}
|
|
723869
724613
|
let t5;
|
|
723870
724614
|
if ($4[6] !== t4) {
|
|
723871
|
-
t5 = /* @__PURE__ */
|
|
724615
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime474.jsxDEV(ThemedBox_default, {
|
|
723872
724616
|
flexDirection: "column",
|
|
723873
724617
|
gap: 1,
|
|
723874
724618
|
children: [
|
|
723875
724619
|
t22,
|
|
723876
724620
|
t32,
|
|
723877
|
-
/* @__PURE__ */
|
|
724621
|
+
/* @__PURE__ */ jsx_dev_runtime474.jsxDEV(ThemedText, {
|
|
723878
724622
|
dimColor: true,
|
|
723879
724623
|
children: [
|
|
723880
724624
|
"Channels:",
|
|
@@ -723904,7 +724648,7 @@ function DevChannelsDialog(t0) {
|
|
|
723904
724648
|
}
|
|
723905
724649
|
let t7;
|
|
723906
724650
|
if ($4[9] !== onChange) {
|
|
723907
|
-
t7 = /* @__PURE__ */
|
|
724651
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime474.jsxDEV(Select, {
|
|
723908
724652
|
options: t6,
|
|
723909
724653
|
onChange: (value_0) => onChange(value_0)
|
|
723910
724654
|
}, undefined, false, undefined, this);
|
|
@@ -723915,7 +724659,7 @@ function DevChannelsDialog(t0) {
|
|
|
723915
724659
|
}
|
|
723916
724660
|
let t8;
|
|
723917
724661
|
if ($4[11] !== t5 || $4[12] !== t7) {
|
|
723918
|
-
t8 = /* @__PURE__ */
|
|
724662
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime474.jsxDEV(Dialog, {
|
|
723919
724663
|
title: "WARNING: Loading development channels",
|
|
723920
724664
|
color: "error",
|
|
723921
724665
|
onCancel: handleEscape,
|
|
@@ -723938,14 +724682,14 @@ function _temp2106(c9) {
|
|
|
723938
724682
|
function _temp307() {
|
|
723939
724683
|
gracefulShutdownSync(0);
|
|
723940
724684
|
}
|
|
723941
|
-
var import_compiler_runtime359,
|
|
724685
|
+
var import_compiler_runtime359, jsx_dev_runtime474;
|
|
723942
724686
|
var init_DevChannelsDialog = __esm(() => {
|
|
723943
724687
|
init_ink2();
|
|
723944
724688
|
init_gracefulShutdown();
|
|
723945
724689
|
init_CustomSelect();
|
|
723946
724690
|
init_Dialog();
|
|
723947
724691
|
import_compiler_runtime359 = __toESM(require_compiler_runtime(), 1);
|
|
723948
|
-
|
|
724692
|
+
jsx_dev_runtime474 = __toESM(require_jsx_dev_runtime(), 1);
|
|
723949
724693
|
});
|
|
723950
724694
|
|
|
723951
724695
|
// src/components/ClaudeInChromeOnboarding.tsx
|
|
@@ -723990,13 +724734,13 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
723990
724734
|
use_input_default(t32);
|
|
723991
724735
|
let t4;
|
|
723992
724736
|
if ($4[4] !== isExtensionInstalled) {
|
|
723993
|
-
t4 = !isExtensionInstalled && /* @__PURE__ */
|
|
724737
|
+
t4 = !isExtensionInstalled && /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(jsx_dev_runtime475.Fragment, {
|
|
723994
724738
|
children: [
|
|
723995
|
-
/* @__PURE__ */
|
|
723996
|
-
/* @__PURE__ */
|
|
724739
|
+
/* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
724740
|
+
/* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
723997
724741
|
"Requires the Chrome extension. Get started at",
|
|
723998
724742
|
" ",
|
|
723999
|
-
/* @__PURE__ */
|
|
724743
|
+
/* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Link, {
|
|
724000
724744
|
url: CHROME_EXTENSION_URL2
|
|
724001
724745
|
}, undefined, false, undefined, this)
|
|
724002
724746
|
]
|
|
@@ -724008,7 +724752,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724008
724752
|
}
|
|
724009
724753
|
let t5;
|
|
724010
724754
|
if ($4[6] !== t4) {
|
|
724011
|
-
t5 = /* @__PURE__ */
|
|
724755
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedText, {
|
|
724012
724756
|
children: [
|
|
724013
724757
|
"Claude in Chrome works with the Chrome extension to let you control your browser directly from Claude Code. You can navigate websites, fill forms, capture screenshots, record GIFs, and debug with console logs and network requests.",
|
|
724014
724758
|
t4
|
|
@@ -724021,11 +724765,11 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724021
724765
|
}
|
|
724022
724766
|
let t6;
|
|
724023
724767
|
if ($4[8] !== isExtensionInstalled) {
|
|
724024
|
-
t6 = isExtensionInstalled && /* @__PURE__ */
|
|
724768
|
+
t6 = isExtensionInstalled && /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(jsx_dev_runtime475.Fragment, {
|
|
724025
724769
|
children: [
|
|
724026
724770
|
" ",
|
|
724027
724771
|
"(",
|
|
724028
|
-
/* @__PURE__ */
|
|
724772
|
+
/* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Link, {
|
|
724029
724773
|
url: CHROME_PERMISSIONS_URL2
|
|
724030
724774
|
}, undefined, false, undefined, this),
|
|
724031
724775
|
")"
|
|
@@ -724038,7 +724782,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724038
724782
|
}
|
|
724039
724783
|
let t7;
|
|
724040
724784
|
if ($4[10] !== t6) {
|
|
724041
|
-
t7 = /* @__PURE__ */
|
|
724785
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedText, {
|
|
724042
724786
|
dimColor: true,
|
|
724043
724787
|
children: [
|
|
724044
724788
|
"Site-level permissions are inherited from the Chrome extension. Manage permissions in the Chrome extension settings to control which sites Claude can browse, click, and type on",
|
|
@@ -724053,7 +724797,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724053
724797
|
}
|
|
724054
724798
|
let t8;
|
|
724055
724799
|
if ($4[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
724056
|
-
t8 = /* @__PURE__ */
|
|
724800
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedText, {
|
|
724057
724801
|
bold: true,
|
|
724058
724802
|
color: "chromeYellow",
|
|
724059
724803
|
children: "/chrome"
|
|
@@ -724064,7 +724808,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724064
724808
|
}
|
|
724065
724809
|
let t9;
|
|
724066
724810
|
if ($4[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
724067
|
-
t9 = /* @__PURE__ */
|
|
724811
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedText, {
|
|
724068
724812
|
dimColor: true,
|
|
724069
724813
|
children: [
|
|
724070
724814
|
"For more info, use",
|
|
@@ -724072,7 +724816,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724072
724816
|
t8,
|
|
724073
724817
|
" ",
|
|
724074
724818
|
"or visit ",
|
|
724075
|
-
/* @__PURE__ */
|
|
724819
|
+
/* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Link, {
|
|
724076
724820
|
url: "https://code.claude.com/docs/en/chrome"
|
|
724077
724821
|
}, undefined, false, undefined, this)
|
|
724078
724822
|
]
|
|
@@ -724083,7 +724827,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724083
724827
|
}
|
|
724084
724828
|
let t10;
|
|
724085
724829
|
if ($4[14] !== t5 || $4[15] !== t7) {
|
|
724086
|
-
t10 = /* @__PURE__ */
|
|
724830
|
+
t10 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedBox_default, {
|
|
724087
724831
|
flexDirection: "column",
|
|
724088
724832
|
gap: 1,
|
|
724089
724833
|
children: [
|
|
@@ -724100,7 +724844,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724100
724844
|
}
|
|
724101
724845
|
let t11;
|
|
724102
724846
|
if ($4[17] !== onDone || $4[18] !== t10) {
|
|
724103
|
-
t11 = /* @__PURE__ */
|
|
724847
|
+
t11 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Dialog, {
|
|
724104
724848
|
title: "Claude in Chrome (Beta)",
|
|
724105
724849
|
onCancel: onDone,
|
|
724106
724850
|
color: "chromeYellow",
|
|
@@ -724120,7 +724864,7 @@ function _temp308(current) {
|
|
|
724120
724864
|
hasCompletedClaudeInChromeOnboarding: true
|
|
724121
724865
|
};
|
|
724122
724866
|
}
|
|
724123
|
-
var import_compiler_runtime360, import_react324,
|
|
724867
|
+
var import_compiler_runtime360, import_react324, jsx_dev_runtime475, CHROME_EXTENSION_URL2 = "https://claude.ai/chrome", CHROME_PERMISSIONS_URL2 = "https://clau.de/chrome/permissions";
|
|
724124
724868
|
var init_ClaudeInChromeOnboarding = __esm(() => {
|
|
724125
724869
|
init_analytics();
|
|
724126
724870
|
init_ink2();
|
|
@@ -724129,7 +724873,7 @@ var init_ClaudeInChromeOnboarding = __esm(() => {
|
|
|
724129
724873
|
init_Dialog();
|
|
724130
724874
|
import_compiler_runtime360 = __toESM(require_compiler_runtime(), 1);
|
|
724131
724875
|
import_react324 = __toESM(require_react(), 1);
|
|
724132
|
-
|
|
724876
|
+
jsx_dev_runtime475 = __toESM(require_jsx_dev_runtime(), 1);
|
|
724133
724877
|
});
|
|
724134
724878
|
|
|
724135
724879
|
// src/interactiveHelpers.tsx
|
|
@@ -724155,14 +724899,14 @@ async function exitWithError2(root3, message, beforeExit) {
|
|
|
724155
724899
|
}
|
|
724156
724900
|
async function exitWithMessage2(root3, message, options) {
|
|
724157
724901
|
const {
|
|
724158
|
-
Text:
|
|
724902
|
+
Text: Text3
|
|
724159
724903
|
} = await Promise.resolve().then(() => (init_ink2(), exports_ink));
|
|
724160
724904
|
const color3 = options?.color;
|
|
724161
724905
|
const exitCode = options?.exitCode ?? 1;
|
|
724162
|
-
root3.render(color3 ? /* @__PURE__ */
|
|
724906
|
+
root3.render(color3 ? /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(Text3, {
|
|
724163
724907
|
color: color3,
|
|
724164
724908
|
children: message
|
|
724165
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
724909
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(Text3, {
|
|
724166
724910
|
children: message
|
|
724167
724911
|
}, undefined, false, undefined, this));
|
|
724168
724912
|
root3.unmount();
|
|
@@ -724170,9 +724914,9 @@ async function exitWithMessage2(root3, message, options) {
|
|
|
724170
724914
|
process.exit(exitCode);
|
|
724171
724915
|
}
|
|
724172
724916
|
function showSetupDialog(root3, renderer, options) {
|
|
724173
|
-
return showDialog(root3, (done) => /* @__PURE__ */
|
|
724917
|
+
return showDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(AppStateProvider, {
|
|
724174
724918
|
onChangeAppState: options?.onChangeAppState,
|
|
724175
|
-
children: /* @__PURE__ */
|
|
724919
|
+
children: /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(KeybindingSetup, {
|
|
724176
724920
|
children: renderer(done)
|
|
724177
724921
|
}, undefined, false, undefined, this)
|
|
724178
724922
|
}, undefined, false, undefined, this));
|
|
@@ -724194,7 +724938,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724194
724938
|
const {
|
|
724195
724939
|
Onboarding: Onboarding2
|
|
724196
724940
|
} = await Promise.resolve().then(() => (init_Onboarding(), exports_Onboarding));
|
|
724197
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
724941
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(Onboarding2, {
|
|
724198
724942
|
onDone: () => {
|
|
724199
724943
|
completeOnboarding();
|
|
724200
724944
|
done();
|
|
@@ -724208,7 +724952,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724208
724952
|
const {
|
|
724209
724953
|
TrustDialog: TrustDialog2
|
|
724210
724954
|
} = await Promise.resolve().then(() => (init_TrustDialog(), exports_TrustDialog));
|
|
724211
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
724955
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(TrustDialog2, {
|
|
724212
724956
|
commands: commands7,
|
|
724213
724957
|
onDone: done
|
|
724214
724958
|
}, undefined, false, undefined, this));
|
|
@@ -724228,7 +724972,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724228
724972
|
const {
|
|
724229
724973
|
ClaudeMdExternalIncludesDialog: ClaudeMdExternalIncludesDialog2
|
|
724230
724974
|
} = await Promise.resolve().then(() => (init_ClaudeMdExternalIncludesDialog(), exports_ClaudeMdExternalIncludesDialog));
|
|
724231
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
724975
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(ClaudeMdExternalIncludesDialog2, {
|
|
724232
724976
|
onDone: done,
|
|
724233
724977
|
isStandaloneDialog: true,
|
|
724234
724978
|
externalIncludes
|
|
@@ -724245,7 +724989,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724245
724989
|
const {
|
|
724246
724990
|
GroveDialog: GroveDialog2
|
|
724247
724991
|
} = await Promise.resolve().then(() => (init_Grove(), exports_Grove));
|
|
724248
|
-
const decision = await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
724992
|
+
const decision = await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(GroveDialog2, {
|
|
724249
724993
|
showIfAlreadyViewed: false,
|
|
724250
724994
|
location: onboardingShown ? "onboarding" : "policy_update_modal",
|
|
724251
724995
|
onDone: done
|
|
@@ -724263,7 +725007,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724263
725007
|
const {
|
|
724264
725008
|
ApproveApiKey: ApproveApiKey2
|
|
724265
725009
|
} = await Promise.resolve().then(() => (init_ApproveApiKey(), exports_ApproveApiKey));
|
|
724266
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
725010
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(ApproveApiKey2, {
|
|
724267
725011
|
customApiKeyTruncated,
|
|
724268
725012
|
onDone: done
|
|
724269
725013
|
}, undefined, false, undefined, this), {
|
|
@@ -724275,7 +725019,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724275
725019
|
const {
|
|
724276
725020
|
BypassPermissionsModeDialog: BypassPermissionsModeDialog2
|
|
724277
725021
|
} = await Promise.resolve().then(() => (init_BypassPermissionsModeDialog(), exports_BypassPermissionsModeDialog));
|
|
724278
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
725022
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(BypassPermissionsModeDialog2, {
|
|
724279
725023
|
onAccept: done
|
|
724280
725024
|
}, undefined, false, undefined, this));
|
|
724281
725025
|
}
|
|
@@ -724284,7 +725028,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724284
725028
|
const {
|
|
724285
725029
|
AutoModeOptInDialog: AutoModeOptInDialog2
|
|
724286
725030
|
} = await Promise.resolve().then(() => (init_AutoModeOptInDialog(), exports_AutoModeOptInDialog));
|
|
724287
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
725031
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(AutoModeOptInDialog2, {
|
|
724288
725032
|
onAccept: done,
|
|
724289
725033
|
onDecline: () => gracefulShutdownSync(1),
|
|
724290
725034
|
declineExits: true
|
|
@@ -724311,7 +725055,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724311
725055
|
const {
|
|
724312
725056
|
DevChannelsDialog: DevChannelsDialog2
|
|
724313
725057
|
} = await Promise.resolve().then(() => (init_DevChannelsDialog(), exports_DevChannelsDialog));
|
|
724314
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
725058
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(DevChannelsDialog2, {
|
|
724315
725059
|
channels: devChannels,
|
|
724316
725060
|
onAccept: () => {
|
|
724317
725061
|
setAllowedChannels([...getAllowedChannels(), ...devChannels.map((c9) => ({
|
|
@@ -724329,7 +725073,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724329
725073
|
const {
|
|
724330
725074
|
ClaudeInChromeOnboarding: ClaudeInChromeOnboarding2
|
|
724331
725075
|
} = await Promise.resolve().then(() => (init_ClaudeInChromeOnboarding(), exports_ClaudeInChromeOnboarding));
|
|
724332
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
725076
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(ClaudeInChromeOnboarding2, {
|
|
724333
725077
|
onDone: done
|
|
724334
725078
|
}, undefined, false, undefined, this));
|
|
724335
725079
|
}
|
|
@@ -724384,7 +725128,7 @@ function getRenderContext(exitOnCtrlC) {
|
|
|
724384
725128
|
}
|
|
724385
725129
|
};
|
|
724386
725130
|
}
|
|
724387
|
-
var
|
|
725131
|
+
var jsx_dev_runtime476;
|
|
724388
725132
|
var init_interactiveHelpers = __esm(() => {
|
|
724389
725133
|
init_featureFlags();
|
|
724390
725134
|
init_analytics();
|
|
@@ -724411,7 +725155,7 @@ var init_interactiveHelpers = __esm(() => {
|
|
|
724411
725155
|
init_renderOptions();
|
|
724412
725156
|
init_allErrors();
|
|
724413
725157
|
init_settings2();
|
|
724414
|
-
|
|
725158
|
+
jsx_dev_runtime476 = __toESM(require_jsx_dev_runtime(), 1);
|
|
724415
725159
|
});
|
|
724416
725160
|
|
|
724417
725161
|
// src/components/agents/SnapshotUpdateDialog.ts
|
|
@@ -724453,7 +725197,7 @@ function InvalidSettingsDialog(t0) {
|
|
|
724453
725197
|
const handleSelect = t1;
|
|
724454
725198
|
let t22;
|
|
724455
725199
|
if ($4[3] !== settingsErrors) {
|
|
724456
|
-
t22 = /* @__PURE__ */
|
|
725200
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime477.jsxDEV(ValidationErrorsList, {
|
|
724457
725201
|
errors: settingsErrors
|
|
724458
725202
|
}, undefined, false, undefined, this);
|
|
724459
725203
|
$4[3] = settingsErrors;
|
|
@@ -724463,7 +725207,7 @@ function InvalidSettingsDialog(t0) {
|
|
|
724463
725207
|
}
|
|
724464
725208
|
let t32;
|
|
724465
725209
|
if ($4[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
724466
|
-
t32 = /* @__PURE__ */
|
|
725210
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime477.jsxDEV(ThemedText, {
|
|
724467
725211
|
dimColor: true,
|
|
724468
725212
|
children: "Files with errors are skipped entirely, not just the invalid settings."
|
|
724469
725213
|
}, undefined, false, undefined, this);
|
|
@@ -724486,7 +725230,7 @@ function InvalidSettingsDialog(t0) {
|
|
|
724486
725230
|
}
|
|
724487
725231
|
let t5;
|
|
724488
725232
|
if ($4[7] !== handleSelect) {
|
|
724489
|
-
t5 = /* @__PURE__ */
|
|
725233
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime477.jsxDEV(Select, {
|
|
724490
725234
|
options: t4,
|
|
724491
725235
|
onChange: handleSelect
|
|
724492
725236
|
}, undefined, false, undefined, this);
|
|
@@ -724497,7 +725241,7 @@ function InvalidSettingsDialog(t0) {
|
|
|
724497
725241
|
}
|
|
724498
725242
|
let t6;
|
|
724499
725243
|
if ($4[9] !== onExit2 || $4[10] !== t22 || $4[11] !== t5) {
|
|
724500
|
-
t6 = /* @__PURE__ */
|
|
725244
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime477.jsxDEV(Dialog, {
|
|
724501
725245
|
title: "Settings Error",
|
|
724502
725246
|
onCancel: onExit2,
|
|
724503
725247
|
color: "warning",
|
|
@@ -724516,14 +725260,14 @@ function InvalidSettingsDialog(t0) {
|
|
|
724516
725260
|
}
|
|
724517
725261
|
return t6;
|
|
724518
725262
|
}
|
|
724519
|
-
var import_compiler_runtime361,
|
|
725263
|
+
var import_compiler_runtime361, jsx_dev_runtime477;
|
|
724520
725264
|
var init_InvalidSettingsDialog = __esm(() => {
|
|
724521
725265
|
init_ink2();
|
|
724522
725266
|
init_CustomSelect();
|
|
724523
725267
|
init_Dialog();
|
|
724524
725268
|
init_ValidationErrorsList();
|
|
724525
725269
|
import_compiler_runtime361 = __toESM(require_compiler_runtime(), 1);
|
|
724526
|
-
|
|
725270
|
+
jsx_dev_runtime477 = __toESM(require_jsx_dev_runtime(), 1);
|
|
724527
725271
|
});
|
|
724528
725272
|
|
|
724529
725273
|
// src/assistant/AssistantSessionChooser.ts
|
|
@@ -724699,26 +725443,26 @@ function ResumeTask({
|
|
|
724699
725443
|
loadSessions();
|
|
724700
725444
|
}, [setHasCompletedTeleportErrorFlow, loadSessions]);
|
|
724701
725445
|
if (!hasCompletedTeleportErrorFlow) {
|
|
724702
|
-
return /* @__PURE__ */
|
|
725446
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(TeleportError, {
|
|
724703
725447
|
onComplete: handleErrorComplete
|
|
724704
725448
|
}, undefined, false, undefined, this);
|
|
724705
725449
|
}
|
|
724706
725450
|
if (loading) {
|
|
724707
|
-
return /* @__PURE__ */
|
|
725451
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724708
725452
|
flexDirection: "column",
|
|
724709
725453
|
padding: 1,
|
|
724710
725454
|
children: [
|
|
724711
|
-
/* @__PURE__ */
|
|
725455
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724712
725456
|
flexDirection: "row",
|
|
724713
725457
|
children: [
|
|
724714
|
-
/* @__PURE__ */
|
|
724715
|
-
/* @__PURE__ */
|
|
725458
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
725459
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724716
725460
|
bold: true,
|
|
724717
725461
|
children: "Loading Claude Code sessions\u2026"
|
|
724718
725462
|
}, undefined, false, undefined, this)
|
|
724719
725463
|
]
|
|
724720
725464
|
}, undefined, true, undefined, this),
|
|
724721
|
-
/* @__PURE__ */
|
|
725465
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724722
725466
|
dimColor: true,
|
|
724723
725467
|
children: retrying ? "Retrying\u2026" : "Fetching your Claude Code sessions\u2026"
|
|
724724
725468
|
}, undefined, false, undefined, this)
|
|
@@ -724726,27 +725470,27 @@ function ResumeTask({
|
|
|
724726
725470
|
}, undefined, true, undefined, this);
|
|
724727
725471
|
}
|
|
724728
725472
|
if (loadErrorType) {
|
|
724729
|
-
return /* @__PURE__ */
|
|
725473
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724730
725474
|
flexDirection: "column",
|
|
724731
725475
|
padding: 1,
|
|
724732
725476
|
children: [
|
|
724733
|
-
/* @__PURE__ */
|
|
725477
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724734
725478
|
bold: true,
|
|
724735
725479
|
color: "error",
|
|
724736
725480
|
children: "Error loading Claude Code sessions"
|
|
724737
725481
|
}, undefined, false, undefined, this),
|
|
724738
725482
|
renderErrorSpecificGuidance(loadErrorType),
|
|
724739
|
-
/* @__PURE__ */
|
|
725483
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724740
725484
|
dimColor: true,
|
|
724741
725485
|
children: [
|
|
724742
725486
|
"Press ",
|
|
724743
|
-
/* @__PURE__ */
|
|
725487
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724744
725488
|
bold: true,
|
|
724745
725489
|
children: "Ctrl+R"
|
|
724746
725490
|
}, undefined, false, undefined, this),
|
|
724747
725491
|
" to retry \xB7 Press",
|
|
724748
725492
|
" ",
|
|
724749
|
-
/* @__PURE__ */
|
|
725493
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724750
725494
|
bold: true,
|
|
724751
725495
|
children: escKey
|
|
724752
725496
|
}, undefined, false, undefined, this),
|
|
@@ -724757,15 +725501,15 @@ function ResumeTask({
|
|
|
724757
725501
|
}, undefined, true, undefined, this);
|
|
724758
725502
|
}
|
|
724759
725503
|
if (sessions.length === 0) {
|
|
724760
|
-
return /* @__PURE__ */
|
|
725504
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724761
725505
|
flexDirection: "column",
|
|
724762
725506
|
padding: 1,
|
|
724763
725507
|
children: [
|
|
724764
|
-
/* @__PURE__ */
|
|
725508
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724765
725509
|
bold: true,
|
|
724766
725510
|
children: [
|
|
724767
725511
|
"No Claude Code sessions found",
|
|
724768
|
-
currentRepo && /* @__PURE__ */
|
|
725512
|
+
currentRepo && /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724769
725513
|
children: [
|
|
724770
725514
|
" for ",
|
|
724771
725515
|
currentRepo
|
|
@@ -724773,13 +725517,13 @@ function ResumeTask({
|
|
|
724773
725517
|
}, undefined, true, undefined, this)
|
|
724774
725518
|
]
|
|
724775
725519
|
}, undefined, true, undefined, this),
|
|
724776
|
-
/* @__PURE__ */
|
|
725520
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724777
725521
|
marginTop: 1,
|
|
724778
|
-
children: /* @__PURE__ */
|
|
725522
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724779
725523
|
dimColor: true,
|
|
724780
725524
|
children: [
|
|
724781
725525
|
"Press ",
|
|
724782
|
-
/* @__PURE__ */
|
|
725526
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724783
725527
|
bold: true,
|
|
724784
725528
|
children: escKey
|
|
724785
725529
|
}, undefined, false, undefined, this),
|
|
@@ -724810,16 +725554,16 @@ function ResumeTask({
|
|
|
724810
725554
|
const maxVisibleOptions = Math.max(1, isEmbedded ? Math.min(sessions.length, 5, rows - 6 - layoutOverhead) : Math.min(sessions.length, rows - 1 - layoutOverhead));
|
|
724811
725555
|
const maxHeight = maxVisibleOptions + layoutOverhead;
|
|
724812
725556
|
const showScrollPosition = sessions.length > maxVisibleOptions;
|
|
724813
|
-
return /* @__PURE__ */
|
|
725557
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724814
725558
|
flexDirection: "column",
|
|
724815
725559
|
padding: 1,
|
|
724816
725560
|
height: maxHeight,
|
|
724817
725561
|
children: [
|
|
724818
|
-
/* @__PURE__ */
|
|
725562
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724819
725563
|
bold: true,
|
|
724820
725564
|
children: [
|
|
724821
725565
|
"Select a session to resume",
|
|
724822
|
-
showScrollPosition && /* @__PURE__ */
|
|
725566
|
+
showScrollPosition && /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724823
725567
|
dimColor: true,
|
|
724824
725568
|
children: [
|
|
724825
725569
|
" ",
|
|
@@ -724830,7 +725574,7 @@ function ResumeTask({
|
|
|
724830
725574
|
")"
|
|
724831
725575
|
]
|
|
724832
725576
|
}, undefined, true, undefined, this),
|
|
724833
|
-
currentRepo && /* @__PURE__ */
|
|
725577
|
+
currentRepo && /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724834
725578
|
dimColor: true,
|
|
724835
725579
|
children: [
|
|
724836
725580
|
" (",
|
|
@@ -724841,14 +725585,14 @@ function ResumeTask({
|
|
|
724841
725585
|
":"
|
|
724842
725586
|
]
|
|
724843
725587
|
}, undefined, true, undefined, this),
|
|
724844
|
-
/* @__PURE__ */
|
|
725588
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724845
725589
|
flexDirection: "column",
|
|
724846
725590
|
marginTop: 1,
|
|
724847
725591
|
flexGrow: 1,
|
|
724848
725592
|
children: [
|
|
724849
|
-
/* @__PURE__ */
|
|
725593
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724850
725594
|
marginLeft: 2,
|
|
724851
|
-
children: /* @__PURE__ */
|
|
725595
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724852
725596
|
bold: true,
|
|
724853
725597
|
children: [
|
|
724854
725598
|
UPDATED_STRING.padEnd(maxTimeStringLength, " "),
|
|
@@ -724857,7 +725601,7 @@ function ResumeTask({
|
|
|
724857
725601
|
]
|
|
724858
725602
|
}, undefined, true, undefined, this)
|
|
724859
725603
|
}, undefined, false, undefined, this),
|
|
724860
|
-
/* @__PURE__ */
|
|
725604
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(Select, {
|
|
724861
725605
|
visibleOptionCount: maxVisibleOptions,
|
|
724862
725606
|
options,
|
|
724863
725607
|
onChange: (value) => {
|
|
@@ -724875,21 +725619,21 @@ function ResumeTask({
|
|
|
724875
725619
|
}, undefined, false, undefined, this)
|
|
724876
725620
|
]
|
|
724877
725621
|
}, undefined, true, undefined, this),
|
|
724878
|
-
/* @__PURE__ */
|
|
725622
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724879
725623
|
flexDirection: "row",
|
|
724880
|
-
children: /* @__PURE__ */
|
|
725624
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724881
725625
|
dimColor: true,
|
|
724882
|
-
children: /* @__PURE__ */
|
|
725626
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(Byline, {
|
|
724883
725627
|
children: [
|
|
724884
|
-
/* @__PURE__ */
|
|
725628
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(KeyboardShortcutHint, {
|
|
724885
725629
|
shortcut: "\u2191/\u2193",
|
|
724886
725630
|
action: "select"
|
|
724887
725631
|
}, undefined, false, undefined, this),
|
|
724888
|
-
/* @__PURE__ */
|
|
725632
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(KeyboardShortcutHint, {
|
|
724889
725633
|
shortcut: "Enter",
|
|
724890
725634
|
action: "confirm"
|
|
724891
725635
|
}, undefined, false, undefined, this),
|
|
724892
|
-
/* @__PURE__ */
|
|
725636
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ConfigurableShortcutHint, {
|
|
724893
725637
|
action: "confirm:no",
|
|
724894
725638
|
context: "Confirmation",
|
|
724895
725639
|
fallback: "Esc",
|
|
@@ -724918,28 +725662,28 @@ function determineErrorType(errorMessage3) {
|
|
|
724918
725662
|
function renderErrorSpecificGuidance(errorType) {
|
|
724919
725663
|
switch (errorType) {
|
|
724920
725664
|
case "network":
|
|
724921
|
-
return /* @__PURE__ */
|
|
725665
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724922
725666
|
marginY: 1,
|
|
724923
725667
|
flexDirection: "column",
|
|
724924
|
-
children: /* @__PURE__ */
|
|
725668
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724925
725669
|
dimColor: true,
|
|
724926
725670
|
children: "Check your internet connection"
|
|
724927
725671
|
}, undefined, false, undefined, this)
|
|
724928
725672
|
}, undefined, false, undefined, this);
|
|
724929
725673
|
case "auth":
|
|
724930
|
-
return /* @__PURE__ */
|
|
725674
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724931
725675
|
marginY: 1,
|
|
724932
725676
|
flexDirection: "column",
|
|
724933
725677
|
children: [
|
|
724934
|
-
/* @__PURE__ */
|
|
725678
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724935
725679
|
dimColor: true,
|
|
724936
725680
|
children: "Teleport requires a Claude account"
|
|
724937
725681
|
}, undefined, false, undefined, this),
|
|
724938
|
-
/* @__PURE__ */
|
|
725682
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724939
725683
|
dimColor: true,
|
|
724940
725684
|
children: [
|
|
724941
725685
|
"Run ",
|
|
724942
|
-
/* @__PURE__ */
|
|
725686
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724943
725687
|
bold: true,
|
|
724944
725688
|
children: "/login"
|
|
724945
725689
|
}, undefined, false, undefined, this),
|
|
@@ -724949,26 +725693,26 @@ function renderErrorSpecificGuidance(errorType) {
|
|
|
724949
725693
|
]
|
|
724950
725694
|
}, undefined, true, undefined, this);
|
|
724951
725695
|
case "api":
|
|
724952
|
-
return /* @__PURE__ */
|
|
725696
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724953
725697
|
marginY: 1,
|
|
724954
725698
|
flexDirection: "column",
|
|
724955
|
-
children: /* @__PURE__ */
|
|
725699
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724956
725700
|
dimColor: true,
|
|
724957
725701
|
children: "Sorry, Claude encountered an error"
|
|
724958
725702
|
}, undefined, false, undefined, this)
|
|
724959
725703
|
}, undefined, false, undefined, this);
|
|
724960
725704
|
case "other":
|
|
724961
|
-
return /* @__PURE__ */
|
|
725705
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724962
725706
|
marginY: 1,
|
|
724963
725707
|
flexDirection: "row",
|
|
724964
|
-
children: /* @__PURE__ */
|
|
725708
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724965
725709
|
dimColor: true,
|
|
724966
725710
|
children: "Sorry, Claude Code encountered an error"
|
|
724967
725711
|
}, undefined, false, undefined, this)
|
|
724968
725712
|
}, undefined, false, undefined, this);
|
|
724969
725713
|
}
|
|
724970
725714
|
}
|
|
724971
|
-
var import_react326,
|
|
725715
|
+
var import_react326, jsx_dev_runtime478, UPDATED_STRING = "Updated", SPACE_BETWEEN_TABLE_COLUMNS = " ";
|
|
724972
725716
|
var init_ResumeTask = __esm(() => {
|
|
724973
725717
|
init_useTerminalSize();
|
|
724974
725718
|
init_api2();
|
|
@@ -724985,7 +725729,7 @@ var init_ResumeTask = __esm(() => {
|
|
|
724985
725729
|
init_Spinner2();
|
|
724986
725730
|
init_TeleportError();
|
|
724987
725731
|
import_react326 = __toESM(require_react(), 1);
|
|
724988
|
-
|
|
725732
|
+
jsx_dev_runtime478 = __toESM(require_jsx_dev_runtime(), 1);
|
|
724989
725733
|
});
|
|
724990
725734
|
|
|
724991
725735
|
// src/components/TeleportResumeWrapper.tsx
|
|
@@ -725077,11 +725821,11 @@ function TeleportResumeWrapper(t0) {
|
|
|
725077
725821
|
if (isResuming && selectedSession) {
|
|
725078
725822
|
let t82;
|
|
725079
725823
|
if ($4[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725080
|
-
t82 = /* @__PURE__ */
|
|
725824
|
+
t82 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedBox_default, {
|
|
725081
725825
|
flexDirection: "row",
|
|
725082
725826
|
children: [
|
|
725083
|
-
/* @__PURE__ */
|
|
725084
|
-
/* @__PURE__ */
|
|
725827
|
+
/* @__PURE__ */ jsx_dev_runtime479.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
725828
|
+
/* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725085
725829
|
bold: true,
|
|
725086
725830
|
children: "Resuming session\u2026"
|
|
725087
725831
|
}, undefined, false, undefined, this)
|
|
@@ -725093,12 +725837,12 @@ function TeleportResumeWrapper(t0) {
|
|
|
725093
725837
|
}
|
|
725094
725838
|
let t9;
|
|
725095
725839
|
if ($4[13] !== selectedSession.title) {
|
|
725096
|
-
t9 = /* @__PURE__ */
|
|
725840
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedBox_default, {
|
|
725097
725841
|
flexDirection: "column",
|
|
725098
725842
|
padding: 1,
|
|
725099
725843
|
children: [
|
|
725100
725844
|
t82,
|
|
725101
|
-
/* @__PURE__ */
|
|
725845
|
+
/* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725102
725846
|
dimColor: true,
|
|
725103
725847
|
children: [
|
|
725104
725848
|
'Loading "',
|
|
@@ -725118,7 +725862,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
725118
725862
|
if (error52 && !onError) {
|
|
725119
725863
|
let t82;
|
|
725120
725864
|
if ($4[15] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725121
|
-
t82 = /* @__PURE__ */
|
|
725865
|
+
t82 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725122
725866
|
bold: true,
|
|
725123
725867
|
color: "error",
|
|
725124
725868
|
children: "Failed to resume session"
|
|
@@ -725129,7 +725873,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
725129
725873
|
}
|
|
725130
725874
|
let t9;
|
|
725131
725875
|
if ($4[16] !== error52.message) {
|
|
725132
|
-
t9 = /* @__PURE__ */
|
|
725876
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725133
725877
|
dimColor: true,
|
|
725134
725878
|
children: error52.message
|
|
725135
725879
|
}, undefined, false, undefined, this);
|
|
@@ -725140,13 +725884,13 @@ function TeleportResumeWrapper(t0) {
|
|
|
725140
725884
|
}
|
|
725141
725885
|
let t10;
|
|
725142
725886
|
if ($4[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725143
|
-
t10 = /* @__PURE__ */
|
|
725887
|
+
t10 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedBox_default, {
|
|
725144
725888
|
marginTop: 1,
|
|
725145
|
-
children: /* @__PURE__ */
|
|
725889
|
+
children: /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725146
725890
|
dimColor: true,
|
|
725147
725891
|
children: [
|
|
725148
725892
|
"Press ",
|
|
725149
|
-
/* @__PURE__ */
|
|
725893
|
+
/* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725150
725894
|
bold: true,
|
|
725151
725895
|
children: "Esc"
|
|
725152
725896
|
}, undefined, false, undefined, this),
|
|
@@ -725160,7 +725904,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
725160
725904
|
}
|
|
725161
725905
|
let t11;
|
|
725162
725906
|
if ($4[19] !== t9) {
|
|
725163
|
-
t11 = /* @__PURE__ */
|
|
725907
|
+
t11 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedBox_default, {
|
|
725164
725908
|
flexDirection: "column",
|
|
725165
725909
|
padding: 1,
|
|
725166
725910
|
children: [
|
|
@@ -725178,7 +725922,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
725178
725922
|
}
|
|
725179
725923
|
let t8;
|
|
725180
725924
|
if ($4[21] !== handleCancel || $4[22] !== handleSelect || $4[23] !== isEmbedded) {
|
|
725181
|
-
t8 = /* @__PURE__ */
|
|
725925
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ResumeTask, {
|
|
725182
725926
|
onSelect: handleSelect,
|
|
725183
725927
|
onCancel: handleCancel,
|
|
725184
725928
|
isEmbedded
|
|
@@ -725192,7 +725936,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
725192
725936
|
}
|
|
725193
725937
|
return t8;
|
|
725194
725938
|
}
|
|
725195
|
-
var import_compiler_runtime363, import_react327,
|
|
725939
|
+
var import_compiler_runtime363, import_react327, jsx_dev_runtime479;
|
|
725196
725940
|
var init_TeleportResumeWrapper = __esm(() => {
|
|
725197
725941
|
init_analytics();
|
|
725198
725942
|
init_useTeleportResume();
|
|
@@ -725202,7 +725946,7 @@ var init_TeleportResumeWrapper = __esm(() => {
|
|
|
725202
725946
|
init_Spinner2();
|
|
725203
725947
|
import_compiler_runtime363 = __toESM(require_compiler_runtime(), 1);
|
|
725204
725948
|
import_react327 = __toESM(require_react(), 1);
|
|
725205
|
-
|
|
725949
|
+
jsx_dev_runtime479 = __toESM(require_jsx_dev_runtime(), 1);
|
|
725206
725950
|
});
|
|
725207
725951
|
|
|
725208
725952
|
// src/components/TeleportRepoMismatchDialog.tsx
|
|
@@ -725271,20 +726015,20 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
725271
726015
|
const options = t22;
|
|
725272
726016
|
let t32;
|
|
725273
726017
|
if ($4[8] !== availablePaths.length || $4[9] !== errorMessage3 || $4[10] !== handleChange5 || $4[11] !== options || $4[12] !== targetRepo || $4[13] !== validating) {
|
|
725274
|
-
t32 = availablePaths.length > 0 ? /* @__PURE__ */
|
|
726018
|
+
t32 = availablePaths.length > 0 ? /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(jsx_dev_runtime480.Fragment, {
|
|
725275
726019
|
children: [
|
|
725276
|
-
/* @__PURE__ */
|
|
726020
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedBox_default, {
|
|
725277
726021
|
flexDirection: "column",
|
|
725278
726022
|
gap: 1,
|
|
725279
726023
|
children: [
|
|
725280
|
-
errorMessage3 && /* @__PURE__ */
|
|
726024
|
+
errorMessage3 && /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725281
726025
|
color: "error",
|
|
725282
726026
|
children: errorMessage3
|
|
725283
726027
|
}, undefined, false, undefined, this),
|
|
725284
|
-
/* @__PURE__ */
|
|
726028
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725285
726029
|
children: [
|
|
725286
726030
|
"Open Claude Code in ",
|
|
725287
|
-
/* @__PURE__ */
|
|
726031
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725288
726032
|
bold: true,
|
|
725289
726033
|
children: targetRepo
|
|
725290
726034
|
}, undefined, false, undefined, this),
|
|
@@ -725293,27 +726037,27 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
725293
726037
|
}, undefined, true, undefined, this)
|
|
725294
726038
|
]
|
|
725295
726039
|
}, undefined, true, undefined, this),
|
|
725296
|
-
validating ? /* @__PURE__ */
|
|
726040
|
+
validating ? /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedBox_default, {
|
|
725297
726041
|
children: [
|
|
725298
|
-
/* @__PURE__ */
|
|
725299
|
-
/* @__PURE__ */
|
|
726042
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
726043
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725300
726044
|
children: " Validating repository\u2026"
|
|
725301
726045
|
}, undefined, false, undefined, this)
|
|
725302
726046
|
]
|
|
725303
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
726047
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Select, {
|
|
725304
726048
|
options,
|
|
725305
726049
|
onChange: (value_0) => void handleChange5(value_0)
|
|
725306
726050
|
}, undefined, false, undefined, this)
|
|
725307
726051
|
]
|
|
725308
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
726052
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedBox_default, {
|
|
725309
726053
|
flexDirection: "column",
|
|
725310
726054
|
gap: 1,
|
|
725311
726055
|
children: [
|
|
725312
|
-
errorMessage3 && /* @__PURE__ */
|
|
726056
|
+
errorMessage3 && /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725313
726057
|
color: "error",
|
|
725314
726058
|
children: errorMessage3
|
|
725315
726059
|
}, undefined, false, undefined, this),
|
|
725316
|
-
/* @__PURE__ */
|
|
726060
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725317
726061
|
dimColor: true,
|
|
725318
726062
|
children: [
|
|
725319
726063
|
"Run claude --teleport from a checkout of ",
|
|
@@ -725334,7 +726078,7 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
725334
726078
|
}
|
|
725335
726079
|
let t4;
|
|
725336
726080
|
if ($4[15] !== onCancel || $4[16] !== t32) {
|
|
725337
|
-
t4 = /* @__PURE__ */
|
|
726081
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Dialog, {
|
|
725338
726082
|
title: "Teleport to Repo",
|
|
725339
726083
|
onCancel,
|
|
725340
726084
|
color: "background",
|
|
@@ -725350,10 +726094,10 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
725350
726094
|
}
|
|
725351
726095
|
function _temp309(path32) {
|
|
725352
726096
|
return {
|
|
725353
|
-
label: /* @__PURE__ */
|
|
726097
|
+
label: /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725354
726098
|
children: [
|
|
725355
726099
|
"Use ",
|
|
725356
|
-
/* @__PURE__ */
|
|
726100
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725357
726101
|
bold: true,
|
|
725358
726102
|
children: getDisplayPath(path32)
|
|
725359
726103
|
}, undefined, false, undefined, this)
|
|
@@ -725362,7 +726106,7 @@ function _temp309(path32) {
|
|
|
725362
726106
|
value: path32
|
|
725363
726107
|
};
|
|
725364
726108
|
}
|
|
725365
|
-
var import_compiler_runtime364, import_react328,
|
|
726109
|
+
var import_compiler_runtime364, import_react328, jsx_dev_runtime480;
|
|
725366
726110
|
var init_TeleportRepoMismatchDialog = __esm(() => {
|
|
725367
726111
|
init_ink2();
|
|
725368
726112
|
init_file();
|
|
@@ -725372,7 +726116,7 @@ var init_TeleportRepoMismatchDialog = __esm(() => {
|
|
|
725372
726116
|
init_Spinner2();
|
|
725373
726117
|
import_compiler_runtime364 = __toESM(require_compiler_runtime(), 1);
|
|
725374
726118
|
import_react328 = __toESM(require_react(), 1);
|
|
725375
|
-
|
|
726119
|
+
jsx_dev_runtime480 = __toESM(require_jsx_dev_runtime(), 1);
|
|
725376
726120
|
});
|
|
725377
726121
|
|
|
725378
726122
|
// src/screens/ResumeConversation.tsx
|
|
@@ -725600,12 +726344,12 @@ function ResumeConversation({
|
|
|
725600
726344
|
}
|
|
725601
726345
|
}
|
|
725602
726346
|
if (crossProjectCommand) {
|
|
725603
|
-
return /* @__PURE__ */
|
|
726347
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(CrossProjectMessage, {
|
|
725604
726348
|
command: crossProjectCommand
|
|
725605
726349
|
}, undefined, false, undefined, this);
|
|
725606
726350
|
}
|
|
725607
726351
|
if (resumeData) {
|
|
725608
|
-
return /* @__PURE__ */
|
|
726352
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(REPL, {
|
|
725609
726353
|
debug: debug5,
|
|
725610
726354
|
commands: commands7,
|
|
725611
726355
|
initialTools,
|
|
@@ -725628,29 +726372,29 @@ function ResumeConversation({
|
|
|
725628
726372
|
}, undefined, false, undefined, this);
|
|
725629
726373
|
}
|
|
725630
726374
|
if (loading) {
|
|
725631
|
-
return /* @__PURE__ */
|
|
726375
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedBox_default, {
|
|
725632
726376
|
children: [
|
|
725633
|
-
/* @__PURE__ */
|
|
725634
|
-
/* @__PURE__ */
|
|
726377
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
726378
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725635
726379
|
children: " Loading conversations\u2026"
|
|
725636
726380
|
}, undefined, false, undefined, this)
|
|
725637
726381
|
]
|
|
725638
726382
|
}, undefined, true, undefined, this);
|
|
725639
726383
|
}
|
|
725640
726384
|
if (resuming) {
|
|
725641
|
-
return /* @__PURE__ */
|
|
726385
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedBox_default, {
|
|
725642
726386
|
children: [
|
|
725643
|
-
/* @__PURE__ */
|
|
725644
|
-
/* @__PURE__ */
|
|
726387
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
726388
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725645
726389
|
children: " Resuming conversation\u2026"
|
|
725646
726390
|
}, undefined, false, undefined, this)
|
|
725647
726391
|
]
|
|
725648
726392
|
}, undefined, true, undefined, this);
|
|
725649
726393
|
}
|
|
725650
726394
|
if (filteredLogs.length === 0) {
|
|
725651
|
-
return /* @__PURE__ */
|
|
726395
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(NoConversationsMessage, {}, undefined, false, undefined, this);
|
|
725652
726396
|
}
|
|
725653
|
-
return /* @__PURE__ */
|
|
726397
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(LogSelector, {
|
|
725654
726398
|
logs: filteredLogs,
|
|
725655
726399
|
maxHeight: rows,
|
|
725656
726400
|
onCancel,
|
|
@@ -725677,13 +726421,13 @@ function NoConversationsMessage() {
|
|
|
725677
726421
|
useKeybinding("app:interrupt", _temp357, t0);
|
|
725678
726422
|
let t1;
|
|
725679
726423
|
if ($4[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725680
|
-
t1 = /* @__PURE__ */
|
|
726424
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedBox_default, {
|
|
725681
726425
|
flexDirection: "column",
|
|
725682
726426
|
children: [
|
|
725683
|
-
/* @__PURE__ */
|
|
726427
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725684
726428
|
children: "No conversations found to resume."
|
|
725685
726429
|
}, undefined, false, undefined, this),
|
|
725686
|
-
/* @__PURE__ */
|
|
726430
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725687
726431
|
dimColor: true,
|
|
725688
726432
|
children: "Press Ctrl+C to exit and start a new conversation."
|
|
725689
726433
|
}, undefined, false, undefined, this)
|
|
@@ -725713,7 +726457,7 @@ function CrossProjectMessage(t0) {
|
|
|
725713
726457
|
import_react329.default.useEffect(_temp358, t1);
|
|
725714
726458
|
let t22;
|
|
725715
726459
|
if ($4[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725716
|
-
t22 = /* @__PURE__ */
|
|
726460
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725717
726461
|
children: "This conversation is from a different directory."
|
|
725718
726462
|
}, undefined, false, undefined, this);
|
|
725719
726463
|
$4[1] = t22;
|
|
@@ -725722,7 +726466,7 @@ function CrossProjectMessage(t0) {
|
|
|
725722
726466
|
}
|
|
725723
726467
|
let t32;
|
|
725724
726468
|
if ($4[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725725
|
-
t32 = /* @__PURE__ */
|
|
726469
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725726
726470
|
children: "To resume, run:"
|
|
725727
726471
|
}, undefined, false, undefined, this);
|
|
725728
726472
|
$4[2] = t32;
|
|
@@ -725731,11 +726475,11 @@ function CrossProjectMessage(t0) {
|
|
|
725731
726475
|
}
|
|
725732
726476
|
let t4;
|
|
725733
726477
|
if ($4[3] !== command10) {
|
|
725734
|
-
t4 = /* @__PURE__ */
|
|
726478
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedBox_default, {
|
|
725735
726479
|
flexDirection: "column",
|
|
725736
726480
|
children: [
|
|
725737
726481
|
t32,
|
|
725738
|
-
/* @__PURE__ */
|
|
726482
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725739
726483
|
children: [
|
|
725740
726484
|
" ",
|
|
725741
726485
|
command10
|
|
@@ -725750,7 +726494,7 @@ function CrossProjectMessage(t0) {
|
|
|
725750
726494
|
}
|
|
725751
726495
|
let t5;
|
|
725752
726496
|
if ($4[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725753
|
-
t5 = /* @__PURE__ */
|
|
726497
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725754
726498
|
dimColor: true,
|
|
725755
726499
|
children: "(Command copied to clipboard)"
|
|
725756
726500
|
}, undefined, false, undefined, this);
|
|
@@ -725760,7 +726504,7 @@ function CrossProjectMessage(t0) {
|
|
|
725760
726504
|
}
|
|
725761
726505
|
let t6;
|
|
725762
726506
|
if ($4[6] !== t4) {
|
|
725763
|
-
t6 = /* @__PURE__ */
|
|
726507
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedBox_default, {
|
|
725764
726508
|
flexDirection: "column",
|
|
725765
726509
|
gap: 1,
|
|
725766
726510
|
children: [
|
|
@@ -725783,7 +726527,7 @@ function _temp358() {
|
|
|
725783
726527
|
function _temp2107() {
|
|
725784
726528
|
process.exit(0);
|
|
725785
726529
|
}
|
|
725786
|
-
var import_compiler_runtime365, import_react329,
|
|
726530
|
+
var import_compiler_runtime365, import_react329, jsx_dev_runtime481;
|
|
725787
726531
|
var init_ResumeConversation = __esm(() => {
|
|
725788
726532
|
init_featureFlags();
|
|
725789
726533
|
init_useTerminalSize();
|
|
@@ -725809,7 +726553,7 @@ var init_ResumeConversation = __esm(() => {
|
|
|
725809
726553
|
init_REPL();
|
|
725810
726554
|
import_compiler_runtime365 = __toESM(require_compiler_runtime(), 1);
|
|
725811
726555
|
import_react329 = __toESM(require_react(), 1);
|
|
725812
|
-
|
|
726556
|
+
jsx_dev_runtime481 = __toESM(require_jsx_dev_runtime(), 1);
|
|
725813
726557
|
});
|
|
725814
726558
|
|
|
725815
726559
|
// src/dialogLaunchers.tsx
|
|
@@ -725817,7 +726561,7 @@ async function launchSnapshotUpdateDialog(root3, props) {
|
|
|
725817
726561
|
const {
|
|
725818
726562
|
SnapshotUpdateDialog: SnapshotUpdateDialog2
|
|
725819
726563
|
} = await Promise.resolve().then(() => (init_SnapshotUpdateDialog(), exports_SnapshotUpdateDialog));
|
|
725820
|
-
return showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726564
|
+
return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(SnapshotUpdateDialog2, {
|
|
725821
726565
|
agentType: props.agentType,
|
|
725822
726566
|
scope: props.scope,
|
|
725823
726567
|
snapshotTimestamp: props.snapshotTimestamp,
|
|
@@ -725829,7 +726573,7 @@ async function launchInvalidSettingsDialog(root3, props) {
|
|
|
725829
726573
|
const {
|
|
725830
726574
|
InvalidSettingsDialog: InvalidSettingsDialog2
|
|
725831
726575
|
} = await Promise.resolve().then(() => (init_InvalidSettingsDialog(), exports_InvalidSettingsDialog));
|
|
725832
|
-
return showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726576
|
+
return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(InvalidSettingsDialog2, {
|
|
725833
726577
|
settingsErrors: props.settingsErrors,
|
|
725834
726578
|
onContinue: done,
|
|
725835
726579
|
onExit: props.onExit
|
|
@@ -725839,7 +726583,7 @@ async function launchAssistantSessionChooser(root3, props) {
|
|
|
725839
726583
|
const {
|
|
725840
726584
|
AssistantSessionChooser: AssistantSessionChooser2
|
|
725841
726585
|
} = await Promise.resolve().then(() => (init_AssistantSessionChooser(), exports_AssistantSessionChooser));
|
|
725842
|
-
return showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726586
|
+
return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(AssistantSessionChooser2, {
|
|
725843
726587
|
sessions: props.sessions,
|
|
725844
726588
|
onSelect: (id) => done(id),
|
|
725845
726589
|
onCancel: () => done(null)
|
|
@@ -725855,7 +726599,7 @@ async function launchAssistantInstallWizard(root3) {
|
|
|
725855
726599
|
const errorPromise = new Promise((_2, reject2) => {
|
|
725856
726600
|
rejectWithError = reject2;
|
|
725857
726601
|
});
|
|
725858
|
-
const resultPromise = showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726602
|
+
const resultPromise = showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(NewInstallWizard2, {
|
|
725859
726603
|
defaultDir,
|
|
725860
726604
|
onInstalled: (dir) => done(dir),
|
|
725861
726605
|
onCancel: () => done(null),
|
|
@@ -725867,7 +726611,7 @@ async function launchTeleportResumeWrapper(root3) {
|
|
|
725867
726611
|
const {
|
|
725868
726612
|
TeleportResumeWrapper: TeleportResumeWrapper2
|
|
725869
726613
|
} = await Promise.resolve().then(() => (init_TeleportResumeWrapper(), exports_TeleportResumeWrapper));
|
|
725870
|
-
return showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726614
|
+
return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(TeleportResumeWrapper2, {
|
|
725871
726615
|
onComplete: done,
|
|
725872
726616
|
onCancel: () => done(null),
|
|
725873
726617
|
source: "cliArg"
|
|
@@ -725877,7 +726621,7 @@ async function launchTeleportRepoMismatchDialog(root3, props) {
|
|
|
725877
726621
|
const {
|
|
725878
726622
|
TeleportRepoMismatchDialog: TeleportRepoMismatchDialog2
|
|
725879
726623
|
} = await Promise.resolve().then(() => (init_TeleportRepoMismatchDialog(), exports_TeleportRepoMismatchDialog));
|
|
725880
|
-
return showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726624
|
+
return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(TeleportRepoMismatchDialog2, {
|
|
725881
726625
|
targetRepo: props.targetRepo,
|
|
725882
726626
|
initialPaths: props.initialPaths,
|
|
725883
726627
|
onSelectPath: done,
|
|
@@ -725890,23 +726634,23 @@ async function launchResumeChooser(root3, appProps, worktreePathsPromise, resume
|
|
|
725890
726634
|
}, {
|
|
725891
726635
|
App: App3
|
|
725892
726636
|
}] = await Promise.all([worktreePathsPromise, Promise.resolve().then(() => (init_ResumeConversation(), exports_ResumeConversation)), Promise.resolve().then(() => (init_App2(), exports_App))]);
|
|
725893
|
-
await renderAndRun(root3, /* @__PURE__ */
|
|
726637
|
+
await renderAndRun(root3, /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(App3, {
|
|
725894
726638
|
getFpsMetrics: appProps.getFpsMetrics,
|
|
725895
726639
|
stats: appProps.stats,
|
|
725896
726640
|
initialState: appProps.initialState,
|
|
725897
|
-
children: /* @__PURE__ */
|
|
725898
|
-
children: /* @__PURE__ */
|
|
726641
|
+
children: /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(KeybindingSetup, {
|
|
726642
|
+
children: /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(ResumeConversation2, {
|
|
725899
726643
|
...resumeProps,
|
|
725900
726644
|
worktreePaths
|
|
725901
726645
|
}, undefined, false, undefined, this)
|
|
725902
726646
|
}, undefined, false, undefined, this)
|
|
725903
726647
|
}, undefined, false, undefined, this));
|
|
725904
726648
|
}
|
|
725905
|
-
var
|
|
726649
|
+
var jsx_dev_runtime482;
|
|
725906
726650
|
var init_dialogLaunchers = __esm(() => {
|
|
725907
726651
|
init_interactiveHelpers();
|
|
725908
726652
|
init_KeybindingProviderSetup();
|
|
725909
|
-
|
|
726653
|
+
jsx_dev_runtime482 = __toESM(require_jsx_dev_runtime(), 1);
|
|
725910
726654
|
});
|
|
725911
726655
|
|
|
725912
726656
|
// src/plugins/bundled/index.ts
|
|
@@ -735530,9 +736274,9 @@ function TeleportProgress(t0) {
|
|
|
735530
736274
|
const t22 = SPINNER_FRAMES3[frame];
|
|
735531
736275
|
let t32;
|
|
735532
736276
|
if ($4[2] !== t22) {
|
|
735533
|
-
t32 = /* @__PURE__ */
|
|
736277
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735534
736278
|
marginBottom: 1,
|
|
735535
|
-
children: /* @__PURE__ */
|
|
736279
|
+
children: /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedText, {
|
|
735536
736280
|
bold: true,
|
|
735537
736281
|
color: "claude",
|
|
735538
736282
|
children: [
|
|
@@ -735548,9 +736292,9 @@ function TeleportProgress(t0) {
|
|
|
735548
736292
|
}
|
|
735549
736293
|
let t4;
|
|
735550
736294
|
if ($4[4] !== sessionId) {
|
|
735551
|
-
t4 = sessionId && /* @__PURE__ */
|
|
736295
|
+
t4 = sessionId && /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735552
736296
|
marginBottom: 1,
|
|
735553
|
-
children: /* @__PURE__ */
|
|
736297
|
+
children: /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedText, {
|
|
735554
736298
|
dimColor: true,
|
|
735555
736299
|
children: sessionId
|
|
735556
736300
|
}, undefined, false, undefined, this)
|
|
@@ -735580,18 +736324,18 @@ function TeleportProgress(t0) {
|
|
|
735580
736324
|
color3 = undefined;
|
|
735581
736325
|
}
|
|
735582
736326
|
}
|
|
735583
|
-
return /* @__PURE__ */
|
|
736327
|
+
return /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735584
736328
|
flexDirection: "row",
|
|
735585
736329
|
children: [
|
|
735586
|
-
/* @__PURE__ */
|
|
736330
|
+
/* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735587
736331
|
width: 2,
|
|
735588
|
-
children: /* @__PURE__ */
|
|
736332
|
+
children: /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedText, {
|
|
735589
736333
|
color: color3,
|
|
735590
736334
|
dimColor: isPending,
|
|
735591
736335
|
children: icon
|
|
735592
736336
|
}, undefined, false, undefined, this)
|
|
735593
736337
|
}, undefined, false, undefined, this),
|
|
735594
|
-
/* @__PURE__ */
|
|
736338
|
+
/* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedText, {
|
|
735595
736339
|
dimColor: isPending,
|
|
735596
736340
|
bold: isCurrent,
|
|
735597
736341
|
children: step.label
|
|
@@ -735607,7 +736351,7 @@ function TeleportProgress(t0) {
|
|
|
735607
736351
|
}
|
|
735608
736352
|
let t6;
|
|
735609
736353
|
if ($4[9] !== t5) {
|
|
735610
|
-
t6 = /* @__PURE__ */
|
|
736354
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735611
736355
|
flexDirection: "column",
|
|
735612
736356
|
marginLeft: 2,
|
|
735613
736357
|
children: t5
|
|
@@ -735619,7 +736363,7 @@ function TeleportProgress(t0) {
|
|
|
735619
736363
|
}
|
|
735620
736364
|
let t7;
|
|
735621
736365
|
if ($4[11] !== ref || $4[12] !== t32 || $4[13] !== t4 || $4[14] !== t6) {
|
|
735622
|
-
t7 = /* @__PURE__ */
|
|
736366
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735623
736367
|
ref,
|
|
735624
736368
|
flexDirection: "column",
|
|
735625
736369
|
paddingX: 1,
|
|
@@ -735645,13 +736389,13 @@ async function teleportWithProgress(root3, sessionId) {
|
|
|
735645
736389
|
function TeleportProgressWrapper() {
|
|
735646
736390
|
const [step, _setStep] = import_react330.useState("validating");
|
|
735647
736391
|
setStep = _setStep;
|
|
735648
|
-
return /* @__PURE__ */
|
|
736392
|
+
return /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(TeleportProgress, {
|
|
735649
736393
|
currentStep: step,
|
|
735650
736394
|
sessionId
|
|
735651
736395
|
}, undefined, false, undefined, this);
|
|
735652
736396
|
}
|
|
735653
|
-
root3.render(/* @__PURE__ */
|
|
735654
|
-
children: /* @__PURE__ */
|
|
736397
|
+
root3.render(/* @__PURE__ */ jsx_dev_runtime483.jsxDEV(AppStateProvider, {
|
|
736398
|
+
children: /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(TeleportProgressWrapper, {}, undefined, false, undefined, this)
|
|
735655
736399
|
}, undefined, false, undefined, this));
|
|
735656
736400
|
const result = await teleportResumeCodeSession(sessionId, setStep);
|
|
735657
736401
|
setStep("checking_out");
|
|
@@ -735664,7 +736408,7 @@ async function teleportWithProgress(root3, sessionId) {
|
|
|
735664
736408
|
branchName
|
|
735665
736409
|
};
|
|
735666
736410
|
}
|
|
735667
|
-
var import_compiler_runtime366, import_react330,
|
|
736411
|
+
var import_compiler_runtime366, import_react330, jsx_dev_runtime483, SPINNER_FRAMES3, STEPS;
|
|
735668
736412
|
var init_TeleportProgress = __esm(() => {
|
|
735669
736413
|
init_figures();
|
|
735670
736414
|
init_ink2();
|
|
@@ -735672,7 +736416,7 @@ var init_TeleportProgress = __esm(() => {
|
|
|
735672
736416
|
init_teleport();
|
|
735673
736417
|
import_compiler_runtime366 = __toESM(require_compiler_runtime(), 1);
|
|
735674
736418
|
import_react330 = __toESM(require_react(), 1);
|
|
735675
|
-
|
|
736419
|
+
jsx_dev_runtime483 = __toESM(require_jsx_dev_runtime(), 1);
|
|
735676
736420
|
SPINNER_FRAMES3 = ["\u25D0", "\u25D3", "\u25D1", "\u25D2"];
|
|
735677
736421
|
STEPS = [{
|
|
735678
736422
|
key: "validating",
|
|
@@ -735808,7 +736552,7 @@ No servers were imported.`);
|
|
|
735808
736552
|
const t10 = `Found ${t8} MCP ${t9} in Claude Desktop.`;
|
|
735809
736553
|
let t11;
|
|
735810
736554
|
if ($4[16] !== collisions.length) {
|
|
735811
|
-
t11 = collisions.length > 0 && /* @__PURE__ */
|
|
736555
|
+
t11 = collisions.length > 0 && /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ThemedText, {
|
|
735812
736556
|
color: "warning",
|
|
735813
736557
|
children: "Note: Some servers already exist with the same name. If selected, they will be imported with a numbered suffix."
|
|
735814
736558
|
}, undefined, false, undefined, this);
|
|
@@ -735819,7 +736563,7 @@ No servers were imported.`);
|
|
|
735819
736563
|
}
|
|
735820
736564
|
let t12;
|
|
735821
736565
|
if ($4[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
735822
|
-
t12 = /* @__PURE__ */
|
|
736566
|
+
t12 = /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ThemedText, {
|
|
735823
736567
|
children: "Please select the servers you want to import:"
|
|
735824
736568
|
}, undefined, false, undefined, this);
|
|
735825
736569
|
$4[18] = t12;
|
|
@@ -735844,7 +736588,7 @@ No servers were imported.`);
|
|
|
735844
736588
|
}
|
|
735845
736589
|
let t15;
|
|
735846
736590
|
if ($4[23] !== handleEscCancel || $4[24] !== onSubmit || $4[25] !== t13 || $4[26] !== t14) {
|
|
735847
|
-
t15 = /* @__PURE__ */
|
|
736591
|
+
t15 = /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(SelectMulti, {
|
|
735848
736592
|
options: t13,
|
|
735849
736593
|
defaultValue: t14,
|
|
735850
736594
|
onSubmit,
|
|
@@ -735861,7 +736605,7 @@ No servers were imported.`);
|
|
|
735861
736605
|
}
|
|
735862
736606
|
let t16;
|
|
735863
736607
|
if ($4[28] !== handleEscCancel || $4[29] !== t10 || $4[30] !== t11 || $4[31] !== t15) {
|
|
735864
|
-
t16 = /* @__PURE__ */
|
|
736608
|
+
t16 = /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(Dialog, {
|
|
735865
736609
|
title: "Import MCP Servers from Claude Desktop",
|
|
735866
736610
|
subtitle: t10,
|
|
735867
736611
|
color: "success",
|
|
@@ -735883,22 +736627,22 @@ No servers were imported.`);
|
|
|
735883
736627
|
}
|
|
735884
736628
|
let t17;
|
|
735885
736629
|
if ($4[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
735886
|
-
t17 = /* @__PURE__ */
|
|
736630
|
+
t17 = /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ThemedBox_default, {
|
|
735887
736631
|
paddingX: 1,
|
|
735888
|
-
children: /* @__PURE__ */
|
|
736632
|
+
children: /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ThemedText, {
|
|
735889
736633
|
dimColor: true,
|
|
735890
736634
|
italic: true,
|
|
735891
|
-
children: /* @__PURE__ */
|
|
736635
|
+
children: /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(Byline, {
|
|
735892
736636
|
children: [
|
|
735893
|
-
/* @__PURE__ */
|
|
736637
|
+
/* @__PURE__ */ jsx_dev_runtime484.jsxDEV(KeyboardShortcutHint, {
|
|
735894
736638
|
shortcut: "Space",
|
|
735895
736639
|
action: "select"
|
|
735896
736640
|
}, undefined, false, undefined, this),
|
|
735897
|
-
/* @__PURE__ */
|
|
736641
|
+
/* @__PURE__ */ jsx_dev_runtime484.jsxDEV(KeyboardShortcutHint, {
|
|
735898
736642
|
shortcut: "Enter",
|
|
735899
736643
|
action: "confirm"
|
|
735900
736644
|
}, undefined, false, undefined, this),
|
|
735901
|
-
/* @__PURE__ */
|
|
736645
|
+
/* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ConfigurableShortcutHint, {
|
|
735902
736646
|
action: "confirm:no",
|
|
735903
736647
|
context: "Confirmation",
|
|
735904
736648
|
fallback: "Esc",
|
|
@@ -735914,7 +736658,7 @@ No servers were imported.`);
|
|
|
735914
736658
|
}
|
|
735915
736659
|
let t18;
|
|
735916
736660
|
if ($4[34] !== t16) {
|
|
735917
|
-
t18 = /* @__PURE__ */
|
|
736661
|
+
t18 = /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(jsx_dev_runtime484.Fragment, {
|
|
735918
736662
|
children: [
|
|
735919
736663
|
t16,
|
|
735920
736664
|
t17
|
|
@@ -735927,7 +736671,7 @@ No servers were imported.`);
|
|
|
735927
736671
|
}
|
|
735928
736672
|
return t18;
|
|
735929
736673
|
}
|
|
735930
|
-
var import_compiler_runtime367, import_react331,
|
|
736674
|
+
var import_compiler_runtime367, import_react331, jsx_dev_runtime484;
|
|
735931
736675
|
var init_MCPServerDesktopImportDialog = __esm(() => {
|
|
735932
736676
|
init_gracefulShutdown();
|
|
735933
736677
|
init_ink2();
|
|
@@ -735940,7 +736684,7 @@ var init_MCPServerDesktopImportDialog = __esm(() => {
|
|
|
735940
736684
|
init_KeyboardShortcutHint();
|
|
735941
736685
|
import_compiler_runtime367 = __toESM(require_compiler_runtime(), 1);
|
|
735942
736686
|
import_react331 = __toESM(require_react(), 1);
|
|
735943
|
-
|
|
736687
|
+
jsx_dev_runtime484 = __toESM(require_jsx_dev_runtime(), 1);
|
|
735944
736688
|
});
|
|
735945
736689
|
|
|
735946
736690
|
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
@@ -736864,9 +737608,9 @@ async function mcpAddFromDesktopHandler(options) {
|
|
|
736864
737608
|
}
|
|
736865
737609
|
const {
|
|
736866
737610
|
unmount
|
|
736867
|
-
} = await render(/* @__PURE__ */
|
|
736868
|
-
children: /* @__PURE__ */
|
|
736869
|
-
children: /* @__PURE__ */
|
|
737611
|
+
} = await render(/* @__PURE__ */ jsx_dev_runtime485.jsxDEV(AppStateProvider, {
|
|
737612
|
+
children: /* @__PURE__ */ jsx_dev_runtime485.jsxDEV(KeybindingSetup, {
|
|
737613
|
+
children: /* @__PURE__ */ jsx_dev_runtime485.jsxDEV(MCPServerDesktopImportDialog, {
|
|
736870
737614
|
servers,
|
|
736871
737615
|
scope,
|
|
736872
737616
|
onDone: () => {
|
|
@@ -736892,7 +737636,7 @@ async function mcpResetChoicesHandler() {
|
|
|
736892
737636
|
cliOk(`All project-scoped (.mcp.json) server approvals and rejections have been reset.
|
|
736893
737637
|
You will be prompted for approval next time you start Claude Code.`);
|
|
736894
737638
|
}
|
|
736895
|
-
var
|
|
737639
|
+
var jsx_dev_runtime485;
|
|
736896
737640
|
var init_mcp5 = __esm(() => {
|
|
736897
737641
|
init_p_map();
|
|
736898
737642
|
init_MCPServerDesktopImportDialog();
|
|
@@ -736909,7 +737653,7 @@ var init_mcp5 = __esm(() => {
|
|
|
736909
737653
|
init_gracefulShutdown();
|
|
736910
737654
|
init_json();
|
|
736911
737655
|
init_platform2();
|
|
736912
|
-
|
|
737656
|
+
jsx_dev_runtime485 = __toESM(require_jsx_dev_runtime(), 1);
|
|
736913
737657
|
});
|
|
736914
737658
|
|
|
736915
737659
|
// src/server/server.ts
|
|
@@ -737523,11 +738267,11 @@ function SetupNotes(t0) {
|
|
|
737523
738267
|
}
|
|
737524
738268
|
let t1;
|
|
737525
738269
|
if ($4[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
737526
|
-
t1 = /* @__PURE__ */
|
|
737527
|
-
children: /* @__PURE__ */
|
|
738270
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
738271
|
+
children: /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737528
738272
|
color: "warning",
|
|
737529
738273
|
children: [
|
|
737530
|
-
/* @__PURE__ */
|
|
738274
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(StatusIcon, {
|
|
737531
738275
|
status: "warning",
|
|
737532
738276
|
withSpace: true
|
|
737533
738277
|
}, undefined, false, undefined, this),
|
|
@@ -737549,7 +738293,7 @@ function SetupNotes(t0) {
|
|
|
737549
738293
|
}
|
|
737550
738294
|
let t32;
|
|
737551
738295
|
if ($4[3] !== t22) {
|
|
737552
|
-
t32 = /* @__PURE__ */
|
|
738296
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737553
738297
|
flexDirection: "column",
|
|
737554
738298
|
gap: 0,
|
|
737555
738299
|
marginBottom: 1,
|
|
@@ -737566,9 +738310,9 @@ function SetupNotes(t0) {
|
|
|
737566
738310
|
return t32;
|
|
737567
738311
|
}
|
|
737568
738312
|
function _temp359(message, index2) {
|
|
737569
|
-
return /* @__PURE__ */
|
|
738313
|
+
return /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737570
738314
|
marginLeft: 2,
|
|
737571
|
-
children: /* @__PURE__ */
|
|
738315
|
+
children: /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737572
738316
|
dimColor: true,
|
|
737573
738317
|
children: [
|
|
737574
738318
|
"\u2022 ",
|
|
@@ -737684,19 +738428,19 @@ function Install({
|
|
|
737684
738428
|
});
|
|
737685
738429
|
}
|
|
737686
738430
|
}, [state4, onDone]);
|
|
737687
|
-
return /* @__PURE__ */
|
|
738431
|
+
return /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737688
738432
|
flexDirection: "column",
|
|
737689
738433
|
marginTop: 1,
|
|
737690
738434
|
children: [
|
|
737691
|
-
state4.type === "checking" && /* @__PURE__ */
|
|
738435
|
+
state4.type === "checking" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737692
738436
|
color: "claude",
|
|
737693
738437
|
children: "Checking installation status..."
|
|
737694
738438
|
}, undefined, false, undefined, this),
|
|
737695
|
-
state4.type === "cleaning-npm" && /* @__PURE__ */
|
|
738439
|
+
state4.type === "cleaning-npm" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737696
738440
|
color: "warning",
|
|
737697
738441
|
children: "Cleaning up old npm installations..."
|
|
737698
738442
|
}, undefined, false, undefined, this),
|
|
737699
|
-
state4.type === "installing" && /* @__PURE__ */
|
|
738443
|
+
state4.type === "installing" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737700
738444
|
color: "claude",
|
|
737701
738445
|
children: [
|
|
737702
738446
|
"Installing Claude Code native build ",
|
|
@@ -737704,54 +738448,54 @@ function Install({
|
|
|
737704
738448
|
"..."
|
|
737705
738449
|
]
|
|
737706
738450
|
}, undefined, true, undefined, this),
|
|
737707
|
-
state4.type === "setting-up" && /* @__PURE__ */
|
|
738451
|
+
state4.type === "setting-up" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737708
738452
|
color: "claude",
|
|
737709
738453
|
children: "Setting up launcher and shell integration..."
|
|
737710
738454
|
}, undefined, false, undefined, this),
|
|
737711
|
-
state4.type === "set-up" && /* @__PURE__ */
|
|
738455
|
+
state4.type === "set-up" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(SetupNotes, {
|
|
737712
738456
|
messages: state4.messages
|
|
737713
738457
|
}, undefined, false, undefined, this),
|
|
737714
|
-
state4.type === "success" && /* @__PURE__ */
|
|
738458
|
+
state4.type === "success" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737715
738459
|
flexDirection: "column",
|
|
737716
738460
|
gap: 1,
|
|
737717
738461
|
children: [
|
|
737718
|
-
/* @__PURE__ */
|
|
738462
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737719
738463
|
children: [
|
|
737720
|
-
/* @__PURE__ */
|
|
738464
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(StatusIcon, {
|
|
737721
738465
|
status: "success",
|
|
737722
738466
|
withSpace: true
|
|
737723
738467
|
}, undefined, false, undefined, this),
|
|
737724
|
-
/* @__PURE__ */
|
|
738468
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737725
738469
|
color: "success",
|
|
737726
738470
|
bold: true,
|
|
737727
738471
|
children: "Claude Code successfully installed!"
|
|
737728
738472
|
}, undefined, false, undefined, this)
|
|
737729
738473
|
]
|
|
737730
738474
|
}, undefined, true, undefined, this),
|
|
737731
|
-
/* @__PURE__ */
|
|
738475
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737732
738476
|
marginLeft: 2,
|
|
737733
738477
|
flexDirection: "column",
|
|
737734
738478
|
gap: 1,
|
|
737735
738479
|
children: [
|
|
737736
|
-
state4.version !== "current" && /* @__PURE__ */
|
|
738480
|
+
state4.version !== "current" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737737
738481
|
children: [
|
|
737738
|
-
/* @__PURE__ */
|
|
738482
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737739
738483
|
dimColor: true,
|
|
737740
738484
|
children: "Version: "
|
|
737741
738485
|
}, undefined, false, undefined, this),
|
|
737742
|
-
/* @__PURE__ */
|
|
738486
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737743
738487
|
color: "claude",
|
|
737744
738488
|
children: state4.version
|
|
737745
738489
|
}, undefined, false, undefined, this)
|
|
737746
738490
|
]
|
|
737747
738491
|
}, undefined, true, undefined, this),
|
|
737748
|
-
/* @__PURE__ */
|
|
738492
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737749
738493
|
children: [
|
|
737750
|
-
/* @__PURE__ */
|
|
738494
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737751
738495
|
dimColor: true,
|
|
737752
738496
|
children: "Location: "
|
|
737753
738497
|
}, undefined, false, undefined, this),
|
|
737754
|
-
/* @__PURE__ */
|
|
738498
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737755
738499
|
color: "text",
|
|
737756
738500
|
children: getInstallationPath2()
|
|
737757
738501
|
}, undefined, false, undefined, this)
|
|
@@ -737759,57 +738503,57 @@ function Install({
|
|
|
737759
738503
|
}, undefined, true, undefined, this)
|
|
737760
738504
|
]
|
|
737761
738505
|
}, undefined, true, undefined, this),
|
|
737762
|
-
/* @__PURE__ */
|
|
738506
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737763
738507
|
marginLeft: 2,
|
|
737764
738508
|
flexDirection: "column",
|
|
737765
738509
|
gap: 1,
|
|
737766
|
-
children: /* @__PURE__ */
|
|
738510
|
+
children: /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737767
738511
|
marginTop: 1,
|
|
737768
738512
|
children: [
|
|
737769
|
-
/* @__PURE__ */
|
|
738513
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737770
738514
|
dimColor: true,
|
|
737771
738515
|
children: "Next: Run "
|
|
737772
738516
|
}, undefined, false, undefined, this),
|
|
737773
|
-
/* @__PURE__ */
|
|
738517
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737774
738518
|
color: "claude",
|
|
737775
738519
|
bold: true,
|
|
737776
738520
|
children: "claude --help"
|
|
737777
738521
|
}, undefined, false, undefined, this),
|
|
737778
|
-
/* @__PURE__ */
|
|
738522
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737779
738523
|
dimColor: true,
|
|
737780
738524
|
children: " to get started"
|
|
737781
738525
|
}, undefined, false, undefined, this)
|
|
737782
738526
|
]
|
|
737783
738527
|
}, undefined, true, undefined, this)
|
|
737784
738528
|
}, undefined, false, undefined, this),
|
|
737785
|
-
state4.setupMessages && /* @__PURE__ */
|
|
738529
|
+
state4.setupMessages && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(SetupNotes, {
|
|
737786
738530
|
messages: state4.setupMessages
|
|
737787
738531
|
}, undefined, false, undefined, this)
|
|
737788
738532
|
]
|
|
737789
738533
|
}, undefined, true, undefined, this),
|
|
737790
|
-
state4.type === "error" && /* @__PURE__ */
|
|
738534
|
+
state4.type === "error" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737791
738535
|
flexDirection: "column",
|
|
737792
738536
|
gap: 1,
|
|
737793
738537
|
children: [
|
|
737794
|
-
/* @__PURE__ */
|
|
738538
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737795
738539
|
children: [
|
|
737796
|
-
/* @__PURE__ */
|
|
738540
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(StatusIcon, {
|
|
737797
738541
|
status: "error",
|
|
737798
738542
|
withSpace: true
|
|
737799
738543
|
}, undefined, false, undefined, this),
|
|
737800
|
-
/* @__PURE__ */
|
|
738544
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737801
738545
|
color: "error",
|
|
737802
738546
|
children: "Installation failed"
|
|
737803
738547
|
}, undefined, false, undefined, this)
|
|
737804
738548
|
]
|
|
737805
738549
|
}, undefined, true, undefined, this),
|
|
737806
|
-
/* @__PURE__ */
|
|
738550
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737807
738551
|
color: "error",
|
|
737808
738552
|
children: state4.message
|
|
737809
738553
|
}, undefined, false, undefined, this),
|
|
737810
|
-
/* @__PURE__ */
|
|
738554
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737811
738555
|
marginTop: 1,
|
|
737812
|
-
children: /* @__PURE__ */
|
|
738556
|
+
children: /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737813
738557
|
dimColor: true,
|
|
737814
738558
|
children: "Try running with --force to override checks"
|
|
737815
738559
|
}, undefined, false, undefined, this)
|
|
@@ -737819,7 +738563,7 @@ function Install({
|
|
|
737819
738563
|
]
|
|
737820
738564
|
}, undefined, true, undefined, this);
|
|
737821
738565
|
}
|
|
737822
|
-
var import_compiler_runtime368, import_react332,
|
|
738566
|
+
var import_compiler_runtime368, import_react332, jsx_dev_runtime486, install;
|
|
737823
738567
|
var init_install = __esm(() => {
|
|
737824
738568
|
init_analytics();
|
|
737825
738569
|
init_StatusIcon();
|
|
@@ -737831,7 +738575,7 @@ var init_install = __esm(() => {
|
|
|
737831
738575
|
init_settings2();
|
|
737832
738576
|
import_compiler_runtime368 = __toESM(require_compiler_runtime(), 1);
|
|
737833
738577
|
import_react332 = __toESM(require_react(), 1);
|
|
737834
|
-
|
|
738578
|
+
jsx_dev_runtime486 = __toESM(require_jsx_dev_runtime(), 1);
|
|
737835
738579
|
install = {
|
|
737836
738580
|
type: "local-jsx",
|
|
737837
738581
|
name: "install",
|
|
@@ -737843,7 +738587,7 @@ var init_install = __esm(() => {
|
|
|
737843
738587
|
const target = nonFlagArgs[0];
|
|
737844
738588
|
const {
|
|
737845
738589
|
unmount
|
|
737846
|
-
} = await render(/* @__PURE__ */
|
|
738590
|
+
} = await render(/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(Install, {
|
|
737847
738591
|
onDone: (result, options) => {
|
|
737848
738592
|
unmount();
|
|
737849
738593
|
onDone(result, options);
|
|
@@ -737870,28 +738614,28 @@ async function setupTokenHandler(root3) {
|
|
|
737870
738614
|
ConsoleOAuthFlow: ConsoleOAuthFlow2
|
|
737871
738615
|
} = await Promise.resolve().then(() => (init_ConsoleOAuthFlow(), exports_ConsoleOAuthFlow));
|
|
737872
738616
|
await new Promise((resolve53) => {
|
|
737873
|
-
root3.render(/* @__PURE__ */
|
|
738617
|
+
root3.render(/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(AppStateProvider, {
|
|
737874
738618
|
onChangeAppState,
|
|
737875
|
-
children: /* @__PURE__ */
|
|
737876
|
-
children: /* @__PURE__ */
|
|
738619
|
+
children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(KeybindingSetup, {
|
|
738620
|
+
children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(ThemedBox_default, {
|
|
737877
738621
|
flexDirection: "column",
|
|
737878
738622
|
gap: 1,
|
|
737879
738623
|
children: [
|
|
737880
|
-
/* @__PURE__ */
|
|
737881
|
-
showAuthWarning && /* @__PURE__ */
|
|
738624
|
+
/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(WelcomeV2, {}, undefined, false, undefined, this),
|
|
738625
|
+
showAuthWarning && /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(ThemedBox_default, {
|
|
737882
738626
|
flexDirection: "column",
|
|
737883
738627
|
children: [
|
|
737884
|
-
/* @__PURE__ */
|
|
738628
|
+
/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(ThemedText, {
|
|
737885
738629
|
color: "warning",
|
|
737886
738630
|
children: "Warning: You already have authentication configured via environment variable or API key helper."
|
|
737887
738631
|
}, undefined, false, undefined, this),
|
|
737888
|
-
/* @__PURE__ */
|
|
738632
|
+
/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(ThemedText, {
|
|
737889
738633
|
color: "warning",
|
|
737890
738634
|
children: "The setup-token command will create a new OAuth token which you can use instead."
|
|
737891
738635
|
}, undefined, false, undefined, this)
|
|
737892
738636
|
]
|
|
737893
738637
|
}, undefined, true, undefined, this),
|
|
737894
|
-
/* @__PURE__ */
|
|
738638
|
+
/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(ConsoleOAuthFlow2, {
|
|
737895
738639
|
onDone: () => {
|
|
737896
738640
|
resolve53();
|
|
737897
738641
|
},
|
|
@@ -737914,9 +738658,9 @@ function DoctorWithPlugins(t0) {
|
|
|
737914
738658
|
useManagePlugins();
|
|
737915
738659
|
let t1;
|
|
737916
738660
|
if ($4[0] !== onDone) {
|
|
737917
|
-
t1 = /* @__PURE__ */
|
|
738661
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(import_react333.default.Suspense, {
|
|
737918
738662
|
fallback: null,
|
|
737919
|
-
children: /* @__PURE__ */
|
|
738663
|
+
children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(DoctorLazy, {
|
|
737920
738664
|
onDone
|
|
737921
738665
|
}, undefined, false, undefined, this)
|
|
737922
738666
|
}, undefined, false, undefined, this);
|
|
@@ -737930,12 +738674,12 @@ function DoctorWithPlugins(t0) {
|
|
|
737930
738674
|
async function doctorHandler(root3) {
|
|
737931
738675
|
logEvent("tengu_doctor_command", {});
|
|
737932
738676
|
await new Promise((resolve53) => {
|
|
737933
|
-
root3.render(/* @__PURE__ */
|
|
737934
|
-
children: /* @__PURE__ */
|
|
737935
|
-
children: /* @__PURE__ */
|
|
738677
|
+
root3.render(/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(AppStateProvider, {
|
|
738678
|
+
children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(KeybindingSetup, {
|
|
738679
|
+
children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(MCPConnectionManager, {
|
|
737936
738680
|
dynamicMcpConfig: undefined,
|
|
737937
738681
|
isStrictMcpConfig: false,
|
|
737938
|
-
children: /* @__PURE__ */
|
|
738682
|
+
children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(DoctorWithPlugins, {
|
|
737939
738683
|
onDone: () => {
|
|
737940
738684
|
resolve53();
|
|
737941
738685
|
}
|
|
@@ -737967,7 +738711,7 @@ async function installHandler(target, options) {
|
|
|
737967
738711
|
}, {}, args);
|
|
737968
738712
|
});
|
|
737969
738713
|
}
|
|
737970
|
-
var import_compiler_runtime369, import_react333,
|
|
738714
|
+
var import_compiler_runtime369, import_react333, jsx_dev_runtime487, DoctorLazy;
|
|
737971
738715
|
var init_util6 = __esm(() => {
|
|
737972
738716
|
init_WelcomeV2();
|
|
737973
738717
|
init_useManagePlugins();
|
|
@@ -737980,7 +738724,7 @@ var init_util6 = __esm(() => {
|
|
|
737980
738724
|
init_auth6();
|
|
737981
738725
|
import_compiler_runtime369 = __toESM(require_compiler_runtime(), 1);
|
|
737982
738726
|
import_react333 = __toESM(require_react(), 1);
|
|
737983
|
-
|
|
738727
|
+
jsx_dev_runtime487 = __toESM(require_jsx_dev_runtime(), 1);
|
|
737984
738728
|
DoctorLazy = import_react333.default.lazy(() => Promise.resolve().then(() => (init_Doctor(), exports_Doctor)).then((m5) => ({
|
|
737985
738729
|
default: m5.Doctor
|
|
737986
738730
|
})));
|