@cnwenf/occ 2.1.252 → 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 +1367 -634
- 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)"),
|
|
@@ -715958,6 +715959,733 @@ var init_ScrollKeybindingHandler = __esm(() => {
|
|
|
715958
715959
|
import_react313 = __toESM(require_react(), 1);
|
|
715959
715960
|
});
|
|
715960
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
|
+
|
|
715961
716689
|
// src/hooks/useVoiceIntegration.tsx
|
|
715962
716690
|
var exports_useVoiceIntegration = {};
|
|
715963
716691
|
__export(exports_useVoiceIntegration, {
|
|
@@ -716902,7 +717630,7 @@ function TranscriptModeFooter(t0) {
|
|
|
716902
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"}`;
|
|
716903
717631
|
let t32;
|
|
716904
717632
|
if ($4[0] !== t22 || $4[1] !== toggleShortcut) {
|
|
716905
|
-
t32 = /* @__PURE__ */
|
|
717633
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
716906
717634
|
dimColor: true,
|
|
716907
717635
|
children: [
|
|
716908
717636
|
"Showing detailed transcript \xB7 ",
|
|
@@ -716919,24 +717647,24 @@ function TranscriptModeFooter(t0) {
|
|
|
716919
717647
|
}
|
|
716920
717648
|
let t4;
|
|
716921
717649
|
if ($4[3] !== searchBadge || $4[4] !== status2) {
|
|
716922
|
-
t4 = status2 ? /* @__PURE__ */
|
|
717650
|
+
t4 = status2 ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
716923
717651
|
children: [
|
|
716924
|
-
/* @__PURE__ */
|
|
717652
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
716925
717653
|
flexGrow: 1
|
|
716926
717654
|
}, undefined, false, undefined, this),
|
|
716927
|
-
/* @__PURE__ */
|
|
717655
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
716928
717656
|
children: [
|
|
716929
717657
|
status2,
|
|
716930
717658
|
" "
|
|
716931
717659
|
]
|
|
716932
717660
|
}, undefined, true, undefined, this)
|
|
716933
717661
|
]
|
|
716934
|
-
}, undefined, true, undefined, this) : searchBadge ? /* @__PURE__ */
|
|
717662
|
+
}, undefined, true, undefined, this) : searchBadge ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
716935
717663
|
children: [
|
|
716936
|
-
/* @__PURE__ */
|
|
717664
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
716937
717665
|
flexGrow: 1
|
|
716938
717666
|
}, undefined, false, undefined, this),
|
|
716939
|
-
/* @__PURE__ */
|
|
717667
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
716940
717668
|
dimColor: true,
|
|
716941
717669
|
children: [
|
|
716942
717670
|
searchBadge.current,
|
|
@@ -716955,7 +717683,7 @@ function TranscriptModeFooter(t0) {
|
|
|
716955
717683
|
}
|
|
716956
717684
|
let t5;
|
|
716957
717685
|
if ($4[6] !== t32 || $4[7] !== t4) {
|
|
716958
|
-
t5 = /* @__PURE__ */
|
|
717686
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
716959
717687
|
noSelect: true,
|
|
716960
717688
|
alignItems: "center",
|
|
716961
717689
|
alignSelf: "center",
|
|
@@ -716998,8 +717726,8 @@ function TranscriptSearchBar({
|
|
|
716998
717726
|
onExit: () => onClose(query2),
|
|
716999
717727
|
onCancel
|
|
717000
717728
|
});
|
|
717001
|
-
const [indexStatus, setIndexStatus] =
|
|
717002
|
-
|
|
717729
|
+
const [indexStatus, setIndexStatus] = React151.useState("building");
|
|
717730
|
+
React151.useEffect(() => {
|
|
717003
717731
|
let alive = true;
|
|
717004
717732
|
const warm = jumpRef.current?.warmSearchIndex;
|
|
717005
717733
|
if (!warm) {
|
|
@@ -717032,7 +717760,7 @@ function TranscriptSearchBar({
|
|
|
717032
717760
|
}, [query2, warmDone]);
|
|
717033
717761
|
const off = cursorOffset;
|
|
717034
717762
|
const cursorChar = off < query2.length ? query2[off] : " ";
|
|
717035
|
-
return /* @__PURE__ */
|
|
717763
|
+
return /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
717036
717764
|
borderTopDimColor: true,
|
|
717037
717765
|
borderBottom: false,
|
|
717038
717766
|
borderLeft: false,
|
|
@@ -717043,36 +717771,36 @@ function TranscriptSearchBar({
|
|
|
717043
717771
|
width: "100%",
|
|
717044
717772
|
noSelect: true,
|
|
717045
717773
|
children: [
|
|
717046
|
-
/* @__PURE__ */
|
|
717774
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717047
717775
|
children: "/"
|
|
717048
717776
|
}, undefined, false, undefined, this),
|
|
717049
|
-
/* @__PURE__ */
|
|
717777
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717050
717778
|
children: query2.slice(0, off)
|
|
717051
717779
|
}, undefined, false, undefined, this),
|
|
717052
|
-
/* @__PURE__ */
|
|
717780
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717053
717781
|
inverse: true,
|
|
717054
717782
|
children: cursorChar
|
|
717055
717783
|
}, undefined, false, undefined, this),
|
|
717056
|
-
off < query2.length && /* @__PURE__ */
|
|
717784
|
+
off < query2.length && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717057
717785
|
children: query2.slice(off + 1)
|
|
717058
717786
|
}, undefined, false, undefined, this),
|
|
717059
|
-
/* @__PURE__ */
|
|
717787
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
717060
717788
|
flexGrow: 1
|
|
717061
717789
|
}, undefined, false, undefined, this),
|
|
717062
|
-
indexStatus === "building" ? /* @__PURE__ */
|
|
717790
|
+
indexStatus === "building" ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717063
717791
|
dimColor: true,
|
|
717064
717792
|
children: "indexing\u2026 "
|
|
717065
|
-
}, undefined, false, undefined, this) : indexStatus ? /* @__PURE__ */
|
|
717793
|
+
}, undefined, false, undefined, this) : indexStatus ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717066
717794
|
dimColor: true,
|
|
717067
717795
|
children: [
|
|
717068
717796
|
"indexed in ",
|
|
717069
717797
|
indexStatus.ms,
|
|
717070
717798
|
"ms "
|
|
717071
717799
|
]
|
|
717072
|
-
}, undefined, true, undefined, this) : count4 === 0 && query2 ? /* @__PURE__ */
|
|
717800
|
+
}, undefined, true, undefined, this) : count4 === 0 && query2 ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717073
717801
|
color: "error",
|
|
717074
717802
|
children: "no matches "
|
|
717075
|
-
}, undefined, false, undefined, this) : count4 > 0 ? /* @__PURE__ */
|
|
717803
|
+
}, undefined, false, undefined, this) : count4 > 0 ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
717076
717804
|
dimColor: true,
|
|
717077
717805
|
children: [
|
|
717078
717806
|
current,
|
|
@@ -717216,7 +717944,7 @@ function REPL({
|
|
|
717216
717944
|
const mainLoopModel = useMainLoopModel();
|
|
717217
717945
|
const [localCommands, setLocalCommands] = import_react316.useState(initialCommands);
|
|
717218
717946
|
useSkillsChange(isRemoteSession ? undefined : getProjectRoot(), setLocalCommands);
|
|
717219
|
-
const proactiveActive =
|
|
717947
|
+
const proactiveActive = React151.useSyncExternalStore(proactiveModule8?.subscribeToProactiveChanges ?? PROACTIVE_NO_OP_SUBSCRIBE, proactiveModule8?.isProactiveActive ?? PROACTIVE_FALSE);
|
|
717220
717948
|
const isBriefOnly = useAppState((s4) => s4.isBriefOnly);
|
|
717221
717949
|
const localTools = import_react316.useMemo(() => getTools(toolPermissionContext), [toolPermissionContext, proactiveActive, isBriefOnly]);
|
|
717222
717950
|
useKickOffCheckAndDisableBypassPermissionsIfNeeded();
|
|
@@ -717344,36 +718072,36 @@ function REPL({
|
|
|
717344
718072
|
const scrollRef = import_react316.useRef(null);
|
|
717345
718073
|
const modalScrollRef = import_react316.useRef(null);
|
|
717346
718074
|
const lastUserScrollTsRef = import_react316.useRef(0);
|
|
717347
|
-
const queryGuard =
|
|
717348
|
-
const isQueryActive =
|
|
717349
|
-
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);
|
|
717350
718078
|
const isLoading = isQueryActive || isExternalLoading;
|
|
717351
|
-
const [userInputOnProcessing, setUserInputOnProcessingRaw] =
|
|
717352
|
-
const userInputBaselineRef =
|
|
717353
|
-
const userMessagePendingRef =
|
|
717354
|
-
const loadingStartTimeRef =
|
|
717355
|
-
const totalPausedMsRef =
|
|
717356
|
-
const pauseStartTimeRef =
|
|
717357
|
-
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(() => {
|
|
717358
718086
|
loadingStartTimeRef.current = Date.now();
|
|
717359
718087
|
totalPausedMsRef.current = 0;
|
|
717360
718088
|
pauseStartTimeRef.current = null;
|
|
717361
718089
|
}, []);
|
|
717362
|
-
const wasQueryActiveRef =
|
|
718090
|
+
const wasQueryActiveRef = React151.useRef(false);
|
|
717363
718091
|
if (isQueryActive && !wasQueryActiveRef.current) {
|
|
717364
718092
|
resetTimingRefs();
|
|
717365
718093
|
}
|
|
717366
718094
|
wasQueryActiveRef.current = isQueryActive;
|
|
717367
|
-
const setIsExternalLoading =
|
|
718095
|
+
const setIsExternalLoading = React151.useCallback((value) => {
|
|
717368
718096
|
setIsExternalLoadingRaw(value);
|
|
717369
718097
|
if (value)
|
|
717370
718098
|
resetTimingRefs();
|
|
717371
718099
|
}, [resetTimingRefs]);
|
|
717372
|
-
const swarmStartTimeRef =
|
|
717373
|
-
const swarmBudgetInfoRef =
|
|
717374
|
-
const focusedInputDialogRef =
|
|
718100
|
+
const swarmStartTimeRef = React151.useRef(null);
|
|
718101
|
+
const swarmBudgetInfoRef = React151.useRef(undefined);
|
|
718102
|
+
const focusedInputDialogRef = React151.useRef(undefined);
|
|
717375
718103
|
const PROMPT_SUPPRESSION_MS = 1500;
|
|
717376
|
-
const [isPromptInputActive, setIsPromptInputActive] =
|
|
718104
|
+
const [isPromptInputActive, setIsPromptInputActive] = React151.useState(false);
|
|
717377
718105
|
const [autoUpdaterResult, setAutoUpdaterResult] = import_react316.useState(null);
|
|
717378
718106
|
import_react316.useEffect(() => {
|
|
717379
718107
|
if (autoUpdaterResult?.notifications) {
|
|
@@ -717664,7 +718392,7 @@ function REPL({
|
|
|
717664
718392
|
const terminalFocusRef = import_react316.useRef(isTerminalFocused);
|
|
717665
718393
|
terminalFocusRef.current = isTerminalFocused;
|
|
717666
718394
|
const [theme2] = useTheme();
|
|
717667
|
-
const tipPickedThisTurnRef =
|
|
718395
|
+
const tipPickedThisTurnRef = React151.useRef(false);
|
|
717668
718396
|
const pickNewSpinnerTip = import_react316.useCallback(() => {
|
|
717669
718397
|
if (tipPickedThisTurnRef.current)
|
|
717670
718398
|
return;
|
|
@@ -718228,13 +718956,13 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
718228
718956
|
});
|
|
718229
718957
|
addNotification({
|
|
718230
718958
|
key: "sandbox-unavailable",
|
|
718231
|
-
jsx: /* @__PURE__ */
|
|
718959
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
718232
718960
|
children: [
|
|
718233
|
-
/* @__PURE__ */
|
|
718961
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
718234
718962
|
color: "warning",
|
|
718235
718963
|
children: "sandbox disabled"
|
|
718236
718964
|
}, undefined, false, undefined, this),
|
|
718237
|
-
/* @__PURE__ */
|
|
718965
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
718238
718966
|
dimColor: true,
|
|
718239
718967
|
children: " \xB7 /sandbox"
|
|
718240
718968
|
}, undefined, false, undefined, this)
|
|
@@ -719090,7 +719818,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
719090
719818
|
logForDebugging(`resumeAgentBackground failed: ${errorMessage(err2)}`);
|
|
719091
719819
|
addNotification({
|
|
719092
719820
|
key: `resume-agent-failed-${task.id}`,
|
|
719093
|
-
jsx: /* @__PURE__ */
|
|
719821
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719094
719822
|
color: "error",
|
|
719095
719823
|
children: [
|
|
719096
719824
|
"Failed to resume agent: ",
|
|
@@ -719152,7 +719880,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
719152
719880
|
}
|
|
719153
719881
|
const showWorktree = getCurrentWorktreeSession() !== null;
|
|
719154
719882
|
if (showWorktree) {
|
|
719155
|
-
setExitFlow(/* @__PURE__ */
|
|
719883
|
+
setExitFlow(/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ExitFlow, {
|
|
719156
719884
|
showWorktree: true,
|
|
719157
719885
|
onDone: () => {},
|
|
719158
719886
|
onCancel: () => {
|
|
@@ -719400,21 +720128,21 @@ ${fileList}`);
|
|
|
719400
720128
|
const idleMinutes = (Date.now() - lqct) / 60000;
|
|
719401
720129
|
addNotif({
|
|
719402
720130
|
key: "idle-return-hint",
|
|
719403
|
-
jsx: mode === "hint_v2" ? /* @__PURE__ */
|
|
720131
|
+
jsx: mode === "hint_v2" ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
719404
720132
|
children: [
|
|
719405
|
-
/* @__PURE__ */
|
|
720133
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719406
720134
|
dimColor: true,
|
|
719407
720135
|
children: "new task? "
|
|
719408
720136
|
}, undefined, false, undefined, this),
|
|
719409
|
-
/* @__PURE__ */
|
|
720137
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719410
720138
|
color: "suggestion",
|
|
719411
720139
|
children: "/clear"
|
|
719412
720140
|
}, undefined, false, undefined, this),
|
|
719413
|
-
/* @__PURE__ */
|
|
720141
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719414
720142
|
dimColor: true,
|
|
719415
720143
|
children: " to save "
|
|
719416
720144
|
}, undefined, false, undefined, this),
|
|
719417
|
-
/* @__PURE__ */
|
|
720145
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719418
720146
|
color: "suggestion",
|
|
719419
720147
|
children: [
|
|
719420
720148
|
formattedTokens,
|
|
@@ -719422,7 +720150,7 @@ ${fileList}`);
|
|
|
719422
720150
|
]
|
|
719423
720151
|
}, undefined, true, undefined, this)
|
|
719424
720152
|
]
|
|
719425
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
720153
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedText, {
|
|
719426
720154
|
color: "warning",
|
|
719427
720155
|
children: [
|
|
719428
720156
|
"new task? /clear to save ",
|
|
@@ -719597,8 +720325,8 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719597
720325
|
setPositions
|
|
719598
720326
|
} = useSearchHighlight();
|
|
719599
720327
|
const transcriptCols = useTerminalSize().columns;
|
|
719600
|
-
const prevColsRef =
|
|
719601
|
-
|
|
720328
|
+
const prevColsRef = React151.useRef(transcriptCols);
|
|
720329
|
+
React151.useEffect(() => {
|
|
719602
720330
|
if (prevColsRef.current !== transcriptCols) {
|
|
719603
720331
|
prevColsRef.current = transcriptCols;
|
|
719604
720332
|
if (searchQuery || searchOpen) {
|
|
@@ -719694,7 +720422,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719694
720422
|
useTeammateViewAutoExit();
|
|
719695
720423
|
if (screen === "transcript") {
|
|
719696
720424
|
const transcriptScrollRef = isFullscreenEnvEnabled() && !disableVirtualScroll && !dumpMode ? scrollRef : undefined;
|
|
719697
|
-
const transcriptMessagesElement = /* @__PURE__ */
|
|
720425
|
+
const transcriptMessagesElement = /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(Messages4, {
|
|
719698
720426
|
messages: transcriptMessages,
|
|
719699
720427
|
tools,
|
|
719700
720428
|
commands: commands7,
|
|
@@ -719719,51 +720447,51 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719719
720447
|
setPositions,
|
|
719720
720448
|
disableRenderCap: dumpMode
|
|
719721
720449
|
}, undefined, false, undefined, this);
|
|
719722
|
-
const transcriptToolJSX = toolJSX && /* @__PURE__ */
|
|
720450
|
+
const transcriptToolJSX = toolJSX && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719723
720451
|
flexDirection: "column",
|
|
719724
720452
|
width: "100%",
|
|
719725
720453
|
children: toolJSX.jsx
|
|
719726
720454
|
}, undefined, false, undefined, this);
|
|
719727
|
-
const transcriptReturn = /* @__PURE__ */
|
|
720455
|
+
const transcriptReturn = /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(KeybindingSetup, {
|
|
719728
720456
|
children: [
|
|
719729
|
-
/* @__PURE__ */
|
|
720457
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AnimatedTerminalTitle, {
|
|
719730
720458
|
isAnimating: titleIsAnimating,
|
|
719731
720459
|
title: terminalTitle,
|
|
719732
720460
|
disabled: titleDisabled,
|
|
719733
720461
|
noPrefix: showStatusInTerminalTab
|
|
719734
720462
|
}, undefined, false, undefined, this),
|
|
719735
|
-
/* @__PURE__ */
|
|
720463
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(GlobalKeybindingHandlers, {
|
|
719736
720464
|
...globalKeybindingProps
|
|
719737
720465
|
}, undefined, false, undefined, this),
|
|
719738
|
-
feature("VOICE_MODE") ? /* @__PURE__ */
|
|
720466
|
+
feature("VOICE_MODE") ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(VoiceKeybindingHandler2, {
|
|
719739
720467
|
voiceHandleKeyEvent: voice2.handleKeyEvent,
|
|
719740
720468
|
stripTrailing: voice2.stripTrailing,
|
|
719741
720469
|
resetAnchor: voice2.resetAnchor,
|
|
719742
720470
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
719743
720471
|
}, undefined, false, undefined, this) : null,
|
|
719744
|
-
/* @__PURE__ */
|
|
720472
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CommandKeybindingHandlers, {
|
|
719745
720473
|
onSubmit,
|
|
719746
720474
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
719747
720475
|
}, undefined, false, undefined, this),
|
|
719748
|
-
transcriptScrollRef ? /* @__PURE__ */
|
|
720476
|
+
transcriptScrollRef ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ScrollKeybindingHandler, {
|
|
719749
720477
|
scrollRef,
|
|
719750
720478
|
isActive: focusedInputDialog !== "ultraplan-choice",
|
|
719751
720479
|
isModal: !searchOpen,
|
|
719752
720480
|
onScroll: () => jumpRef.current?.disarmSearch()
|
|
719753
720481
|
}, undefined, false, undefined, this) : null,
|
|
719754
|
-
/* @__PURE__ */
|
|
720482
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CancelRequestHandler, {
|
|
719755
720483
|
...cancelRequestProps
|
|
719756
720484
|
}, undefined, false, undefined, this),
|
|
719757
|
-
transcriptScrollRef ? /* @__PURE__ */
|
|
720485
|
+
transcriptScrollRef ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FullscreenLayout, {
|
|
719758
720486
|
scrollRef,
|
|
719759
|
-
scrollable: /* @__PURE__ */
|
|
720487
|
+
scrollable: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
719760
720488
|
children: [
|
|
719761
720489
|
transcriptMessagesElement,
|
|
719762
720490
|
transcriptToolJSX,
|
|
719763
|
-
/* @__PURE__ */
|
|
720491
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SandboxViolationExpandedView, {}, undefined, false, undefined, this)
|
|
719764
720492
|
]
|
|
719765
720493
|
}, undefined, true, undefined, this),
|
|
719766
|
-
bottom: searchOpen ? /* @__PURE__ */
|
|
720494
|
+
bottom: searchOpen ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(TranscriptSearchBar, {
|
|
719767
720495
|
jumpRef,
|
|
719768
720496
|
initialQuery: "",
|
|
719769
720497
|
count: searchCount,
|
|
@@ -719784,7 +720512,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719784
720512
|
setHighlight(searchQuery);
|
|
719785
720513
|
},
|
|
719786
720514
|
setHighlight
|
|
719787
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
720515
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(TranscriptModeFooter, {
|
|
719788
720516
|
showAllInTranscript,
|
|
719789
720517
|
virtualScroll: true,
|
|
719790
720518
|
status: editorStatus || undefined,
|
|
@@ -719793,12 +720521,12 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719793
720521
|
count: searchCount
|
|
719794
720522
|
} : undefined
|
|
719795
720523
|
}, undefined, false, undefined, this)
|
|
719796
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
720524
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
719797
720525
|
children: [
|
|
719798
720526
|
transcriptMessagesElement,
|
|
719799
720527
|
transcriptToolJSX,
|
|
719800
|
-
/* @__PURE__ */
|
|
719801
|
-
/* @__PURE__ */
|
|
720528
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SandboxViolationExpandedView, {}, undefined, false, undefined, this),
|
|
720529
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(TranscriptModeFooter, {
|
|
719802
720530
|
showAllInTranscript,
|
|
719803
720531
|
virtualScroll: false,
|
|
719804
720532
|
suppressShowAll: dumpMode,
|
|
@@ -719809,7 +720537,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719809
720537
|
]
|
|
719810
720538
|
}, undefined, true, undefined, this);
|
|
719811
720539
|
if (transcriptScrollRef) {
|
|
719812
|
-
return /* @__PURE__ */
|
|
720540
|
+
return /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AlternateScreen, {
|
|
719813
720541
|
mouseTracking: isMouseTrackingEnabled(),
|
|
719814
720542
|
children: transcriptReturn
|
|
719815
720543
|
}, undefined, false, undefined, this);
|
|
@@ -719822,7 +720550,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719822
720550
|
const usesSyncMessages = showStreamingText || !isLoading;
|
|
719823
720551
|
const displayedMessages = viewedAgentTask ? viewedAgentTask.messages ?? [] : usesSyncMessages ? messages : deferredMessages;
|
|
719824
720552
|
const placeholderText = userInputOnProcessing && !viewedAgentTask && displayedMessages.length <= userInputBaselineRef.current ? userInputOnProcessing : undefined;
|
|
719825
|
-
const toolPermissionOverlay = focusedInputDialog === "tool-permission" ? /* @__PURE__ */
|
|
720553
|
+
const toolPermissionOverlay = focusedInputDialog === "tool-permission" ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(PermissionRequest, {
|
|
719826
720554
|
onDone: () => setToolUseConfirmQueue(([_2, ...tail]) => tail),
|
|
719827
720555
|
onReject: handleQueuedCommandOnCancel,
|
|
719828
720556
|
toolUseConfirm: toolUseConfirmQueue[0],
|
|
@@ -719835,46 +720563,46 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719835
720563
|
const companionVisible = !toolJSX?.shouldHidePromptInput && !focusedInputDialog && !showBashesDialog;
|
|
719836
720564
|
const toolJsxCentered = isFullscreenEnvEnabled() && toolJSX?.isLocalJSXCommand === true;
|
|
719837
720565
|
const centeredModal = toolJsxCentered ? toolJSX.jsx : null;
|
|
719838
|
-
const mainReturn = /* @__PURE__ */
|
|
720566
|
+
const mainReturn = /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(KeybindingSetup, {
|
|
719839
720567
|
children: [
|
|
719840
|
-
/* @__PURE__ */
|
|
720568
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AnimatedTerminalTitle, {
|
|
719841
720569
|
isAnimating: titleIsAnimating,
|
|
719842
720570
|
title: terminalTitle,
|
|
719843
720571
|
disabled: titleDisabled,
|
|
719844
720572
|
noPrefix: showStatusInTerminalTab
|
|
719845
720573
|
}, undefined, false, undefined, this),
|
|
719846
|
-
/* @__PURE__ */
|
|
720574
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(GlobalKeybindingHandlers, {
|
|
719847
720575
|
...globalKeybindingProps
|
|
719848
720576
|
}, undefined, false, undefined, this),
|
|
719849
|
-
feature("VOICE_MODE") ? /* @__PURE__ */
|
|
720577
|
+
feature("VOICE_MODE") ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(VoiceKeybindingHandler2, {
|
|
719850
720578
|
voiceHandleKeyEvent: voice2.handleKeyEvent,
|
|
719851
720579
|
stripTrailing: voice2.stripTrailing,
|
|
719852
720580
|
resetAnchor: voice2.resetAnchor,
|
|
719853
720581
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
719854
720582
|
}, undefined, false, undefined, this) : null,
|
|
719855
|
-
/* @__PURE__ */
|
|
720583
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CommandKeybindingHandlers, {
|
|
719856
720584
|
onSubmit,
|
|
719857
720585
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
719858
720586
|
}, undefined, false, undefined, this),
|
|
719859
|
-
/* @__PURE__ */
|
|
720587
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ScrollKeybindingHandler, {
|
|
719860
720588
|
scrollRef,
|
|
719861
720589
|
isActive: isFullscreenEnvEnabled() && (centeredModal != null || !focusedInputDialog || focusedInputDialog === "tool-permission"),
|
|
719862
720590
|
onScroll: centeredModal || toolPermissionOverlay || viewedAgentTask ? undefined : composedOnScroll
|
|
719863
720591
|
}, undefined, false, undefined, this),
|
|
719864
|
-
feature("MESSAGE_ACTIONS") && isFullscreenEnvEnabled() && !disableMessageActions ? /* @__PURE__ */
|
|
720592
|
+
feature("MESSAGE_ACTIONS") && isFullscreenEnvEnabled() && !disableMessageActions ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(MessageActionsKeybindings, {
|
|
719865
720593
|
handlers: messageActionHandlers,
|
|
719866
720594
|
isActive: cursor !== null
|
|
719867
720595
|
}, undefined, false, undefined, this) : null,
|
|
719868
|
-
/* @__PURE__ */
|
|
720596
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CancelRequestHandler, {
|
|
719869
720597
|
...cancelRequestProps
|
|
719870
720598
|
}, undefined, false, undefined, this),
|
|
719871
|
-
/* @__PURE__ */
|
|
720599
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(MCPConnectionManager, {
|
|
719872
720600
|
dynamicMcpConfig,
|
|
719873
720601
|
isStrictMcpConfig: strictMcpConfig,
|
|
719874
|
-
children: /* @__PURE__ */
|
|
720602
|
+
children: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FullscreenLayout, {
|
|
719875
720603
|
scrollRef,
|
|
719876
720604
|
overlay: toolPermissionOverlay,
|
|
719877
|
-
bottomFloat: feature("BUDDY") && companionVisible && !companionNarrow ? /* @__PURE__ */
|
|
720605
|
+
bottomFloat: feature("BUDDY") && companionVisible && !companionNarrow ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CompanionFloatingBubble, {}, undefined, false, undefined, this) : undefined,
|
|
719878
720606
|
modal: centeredModal,
|
|
719879
720607
|
modalScrollRef,
|
|
719880
720608
|
dividerYRef,
|
|
@@ -719885,10 +720613,10 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719885
720613
|
setCursor(null);
|
|
719886
720614
|
jumpToNew(scrollRef.current);
|
|
719887
720615
|
},
|
|
719888
|
-
scrollable: /* @__PURE__ */
|
|
720616
|
+
scrollable: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
719889
720617
|
children: [
|
|
719890
|
-
/* @__PURE__ */
|
|
719891
|
-
/* @__PURE__ */
|
|
720618
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(TeammateViewHeader, {}, undefined, false, undefined, this),
|
|
720619
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(Messages4, {
|
|
719892
720620
|
messages: displayedMessages,
|
|
719893
720621
|
tools,
|
|
719894
720622
|
commands: commands7,
|
|
@@ -719913,8 +720641,8 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719913
720641
|
setCursor,
|
|
719914
720642
|
cursorNavRef
|
|
719915
720643
|
}, undefined, false, undefined, this),
|
|
719916
|
-
/* @__PURE__ */
|
|
719917
|
-
!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, {
|
|
719918
720646
|
param: {
|
|
719919
720647
|
text: placeholderText,
|
|
719920
720648
|
type: "text"
|
|
@@ -719922,17 +720650,17 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719922
720650
|
addMargin: true,
|
|
719923
720651
|
verbose
|
|
719924
720652
|
}, undefined, false, undefined, this),
|
|
719925
|
-
toolJSX && !(toolJSX.isLocalJSXCommand && toolJSX.isImmediate) && !toolJsxCentered && /* @__PURE__ */
|
|
720653
|
+
toolJSX && !(toolJSX.isLocalJSXCommand && toolJSX.isImmediate) && !toolJsxCentered && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719926
720654
|
flexDirection: "column",
|
|
719927
720655
|
width: "100%",
|
|
719928
720656
|
children: toolJSX.jsx
|
|
719929
720657
|
}, undefined, false, undefined, this),
|
|
719930
720658
|
false,
|
|
719931
|
-
feature("WEB_BROWSER_TOOL") ? WebBrowserPanelModule && /* @__PURE__ */
|
|
719932
|
-
/* @__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, {
|
|
719933
720661
|
flexGrow: 1
|
|
719934
720662
|
}, undefined, false, undefined, this),
|
|
719935
|
-
showSpinner && /* @__PURE__ */
|
|
720663
|
+
showSpinner && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SpinnerWithVerb, {
|
|
719936
720664
|
mode: streamMode,
|
|
719937
720665
|
spinnerTip,
|
|
719938
720666
|
responseLengthRef,
|
|
@@ -719948,35 +720676,35 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
719948
720676
|
hasActiveTools: inProgressToolUseIDs.size > 0,
|
|
719949
720677
|
leaderIsIdle: !isLoading
|
|
719950
720678
|
}, undefined, false, undefined, this),
|
|
719951
|
-
!showSpinner && !isLoading && !userInputOnProcessing && !hasRunningTeammates && isBriefOnly && !viewedAgentTask && /* @__PURE__ */
|
|
719952
|
-
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)
|
|
719953
720681
|
]
|
|
719954
720682
|
}, undefined, true, undefined, this),
|
|
719955
|
-
bottom: /* @__PURE__ */
|
|
720683
|
+
bottom: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719956
720684
|
flexDirection: feature("BUDDY") && companionNarrow ? "column" : "row",
|
|
719957
720685
|
width: "100%",
|
|
719958
720686
|
alignItems: feature("BUDDY") && companionNarrow ? undefined : "flex-end",
|
|
719959
720687
|
children: [
|
|
719960
|
-
feature("BUDDY") && companionNarrow && isFullscreenEnvEnabled() && companionVisible ? /* @__PURE__ */
|
|
719961
|
-
/* @__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, {
|
|
719962
720690
|
flexDirection: "column",
|
|
719963
720691
|
flexGrow: 1,
|
|
719964
720692
|
children: [
|
|
719965
720693
|
permissionStickyFooter,
|
|
719966
|
-
toolJSX?.isLocalJSXCommand && toolJSX.isImmediate && !toolJsxCentered && /* @__PURE__ */
|
|
720694
|
+
toolJSX?.isLocalJSXCommand && toolJSX.isImmediate && !toolJsxCentered && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ThemedBox_default, {
|
|
719967
720695
|
flexDirection: "column",
|
|
719968
720696
|
width: "100%",
|
|
719969
720697
|
children: toolJSX.jsx
|
|
719970
720698
|
}, undefined, false, undefined, this),
|
|
719971
|
-
!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, {
|
|
719972
720700
|
width: "100%",
|
|
719973
720701
|
flexDirection: "column",
|
|
719974
|
-
children: /* @__PURE__ */
|
|
720702
|
+
children: /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(TaskListV2, {
|
|
719975
720703
|
tasks: tasksV2,
|
|
719976
720704
|
isStandalone: true
|
|
719977
720705
|
}, undefined, false, undefined, this)
|
|
719978
720706
|
}, undefined, false, undefined, this),
|
|
719979
|
-
focusedInputDialog === "sandbox-permission" && /* @__PURE__ */
|
|
720707
|
+
focusedInputDialog === "sandbox-permission" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SandboxPermissionRequest, {
|
|
719980
720708
|
hostPattern: sandboxPermissionRequestQueue[0].hostPattern,
|
|
719981
720709
|
onUserResponse: (response3) => {
|
|
719982
720710
|
const {
|
|
@@ -720017,7 +720745,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720017
720745
|
}
|
|
720018
720746
|
}
|
|
720019
720747
|
}, sandboxPermissionRequestQueue[0].hostPattern.host, false, undefined, this),
|
|
720020
|
-
focusedInputDialog === "prompt" && /* @__PURE__ */
|
|
720748
|
+
focusedInputDialog === "prompt" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(PromptDialog, {
|
|
720021
720749
|
title: promptQueue[0].title,
|
|
720022
720750
|
toolInputSummary: promptQueue[0].toolInputSummary,
|
|
720023
720751
|
request: promptQueue[0].request,
|
|
@@ -720039,15 +720767,15 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720039
720767
|
setPromptQueue(([, ...tail]) => tail);
|
|
720040
720768
|
}
|
|
720041
720769
|
}, promptQueue[0].request.prompt, false, undefined, this),
|
|
720042
|
-
pendingWorkerRequest && /* @__PURE__ */
|
|
720770
|
+
pendingWorkerRequest && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(WorkerPendingPermission, {
|
|
720043
720771
|
toolName: pendingWorkerRequest.toolName,
|
|
720044
720772
|
description: pendingWorkerRequest.description
|
|
720045
720773
|
}, undefined, false, undefined, this),
|
|
720046
|
-
pendingSandboxRequest && /* @__PURE__ */
|
|
720774
|
+
pendingSandboxRequest && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(WorkerPendingPermission, {
|
|
720047
720775
|
toolName: "Network Access",
|
|
720048
720776
|
description: `Waiting for leader to approve network access to ${pendingSandboxRequest.host}`
|
|
720049
720777
|
}, undefined, false, undefined, this),
|
|
720050
|
-
focusedInputDialog === "worker-sandbox-permission" && /* @__PURE__ */
|
|
720778
|
+
focusedInputDialog === "worker-sandbox-permission" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SandboxPermissionRequest, {
|
|
720051
720779
|
hostPattern: {
|
|
720052
720780
|
host: workerSandboxPermissions.queue[0].host,
|
|
720053
720781
|
port: undefined
|
|
@@ -720088,7 +720816,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720088
720816
|
}));
|
|
720089
720817
|
}
|
|
720090
720818
|
}, workerSandboxPermissions.queue[0].requestId, false, undefined, this),
|
|
720091
|
-
focusedInputDialog === "elicitation" && /* @__PURE__ */
|
|
720819
|
+
focusedInputDialog === "elicitation" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(ElicitationDialog, {
|
|
720092
720820
|
event: elicitation.queue[0],
|
|
720093
720821
|
onResponse: (action2, content) => {
|
|
720094
720822
|
const currentRequest = elicitation.queue[0];
|
|
@@ -720119,7 +720847,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720119
720847
|
currentRequest?.onWaitingDismiss?.(action2);
|
|
720120
720848
|
}
|
|
720121
720849
|
}, elicitation.queue[0].serverName + ":" + String(elicitation.queue[0].requestId), false, undefined, this),
|
|
720122
|
-
focusedInputDialog === "cost" && /* @__PURE__ */
|
|
720850
|
+
focusedInputDialog === "cost" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CostThresholdDialog, {
|
|
720123
720851
|
onDone: () => {
|
|
720124
720852
|
setShowCostDialog(false);
|
|
720125
720853
|
setHaveShownCostDialog(true);
|
|
@@ -720130,7 +720858,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720130
720858
|
logEvent("tengu_cost_threshold_acknowledged", {});
|
|
720131
720859
|
}
|
|
720132
720860
|
}, undefined, false, undefined, this),
|
|
720133
|
-
focusedInputDialog === "idle-return" && idleReturnPending && /* @__PURE__ */
|
|
720861
|
+
focusedInputDialog === "idle-return" && idleReturnPending && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(IdleReturnDialog, {
|
|
720134
720862
|
idleMinutes: idleReturnPending.idleMinutes,
|
|
720135
720863
|
totalInputTokens: getTotalInputTokens(),
|
|
720136
720864
|
onDone: async (action2) => {
|
|
@@ -720182,13 +720910,13 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720182
720910
|
});
|
|
720183
720911
|
}
|
|
720184
720912
|
}, undefined, false, undefined, this),
|
|
720185
|
-
focusedInputDialog === "ide-onboarding" && /* @__PURE__ */
|
|
720913
|
+
focusedInputDialog === "ide-onboarding" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(IdeOnboardingDialog, {
|
|
720186
720914
|
onDone: () => setShowIdeOnboarding(false),
|
|
720187
720915
|
installationStatus: ideInstallationStatus
|
|
720188
720916
|
}, undefined, false, undefined, this),
|
|
720189
720917
|
false,
|
|
720190
720918
|
false,
|
|
720191
|
-
focusedInputDialog === "effort-callout" && /* @__PURE__ */
|
|
720919
|
+
focusedInputDialog === "effort-callout" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(EffortCallout, {
|
|
720192
720920
|
model: mainLoopModel,
|
|
720193
720921
|
onDone: (selection) => {
|
|
720194
720922
|
setShowEffortCallout(false);
|
|
@@ -720200,7 +720928,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720200
720928
|
}
|
|
720201
720929
|
}
|
|
720202
720930
|
}, undefined, false, undefined, this),
|
|
720203
|
-
focusedInputDialog === "remote-callout" && /* @__PURE__ */
|
|
720931
|
+
focusedInputDialog === "remote-callout" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(RemoteCallout, {
|
|
720204
720932
|
onDone: (selection) => {
|
|
720205
720933
|
setAppState((prev) => {
|
|
720206
720934
|
if (!prev.showRemoteCallout)
|
|
@@ -720218,23 +720946,23 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720218
720946
|
}
|
|
720219
720947
|
}, undefined, false, undefined, this),
|
|
720220
720948
|
exitFlow,
|
|
720221
|
-
focusedInputDialog === "plugin-hint" && hintRecommendation && /* @__PURE__ */
|
|
720949
|
+
focusedInputDialog === "plugin-hint" && hintRecommendation && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(PluginHintMenu, {
|
|
720222
720950
|
pluginName: hintRecommendation.pluginName,
|
|
720223
720951
|
pluginDescription: hintRecommendation.pluginDescription,
|
|
720224
720952
|
marketplaceName: hintRecommendation.marketplaceName,
|
|
720225
720953
|
sourceCommand: hintRecommendation.sourceCommand,
|
|
720226
720954
|
onResponse: handleHintResponse
|
|
720227
720955
|
}, undefined, false, undefined, this),
|
|
720228
|
-
focusedInputDialog === "lsp-recommendation" && lspRecommendation && /* @__PURE__ */
|
|
720956
|
+
focusedInputDialog === "lsp-recommendation" && lspRecommendation && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(LspRecommendationMenu, {
|
|
720229
720957
|
pluginName: lspRecommendation.pluginName,
|
|
720230
720958
|
pluginDescription: lspRecommendation.pluginDescription,
|
|
720231
720959
|
fileExtension: lspRecommendation.fileExtension,
|
|
720232
720960
|
onResponse: handleLspResponse
|
|
720233
720961
|
}, undefined, false, undefined, this),
|
|
720234
|
-
focusedInputDialog === "desktop-upsell" && /* @__PURE__ */
|
|
720962
|
+
focusedInputDialog === "desktop-upsell" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(DesktopUpsellStartup, {
|
|
720235
720963
|
onDone: () => setShowDesktopUpsellStartup(false)
|
|
720236
720964
|
}, undefined, false, undefined, this),
|
|
720237
|
-
feature("ULTRAPLAN") ? focusedInputDialog === "ultraplan-choice" && ultraplanPendingChoice && /* @__PURE__ */
|
|
720965
|
+
feature("ULTRAPLAN") ? focusedInputDialog === "ultraplan-choice" && ultraplanPendingChoice && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(UltraplanChoiceDialog, {
|
|
720238
720966
|
plan: ultraplanPendingChoice.plan,
|
|
720239
720967
|
sessionId: ultraplanPendingChoice.sessionId,
|
|
720240
720968
|
taskId: ultraplanPendingChoice.taskId,
|
|
@@ -720243,7 +720971,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720243
720971
|
getAppState: () => store.getState(),
|
|
720244
720972
|
setConversationId
|
|
720245
720973
|
}, undefined, false, undefined, this) : null,
|
|
720246
|
-
feature("ULTRAPLAN") ? focusedInputDialog === "ultraplan-launch" && ultraplanLaunchPending && /* @__PURE__ */
|
|
720974
|
+
feature("ULTRAPLAN") ? focusedInputDialog === "ultraplan-launch" && ultraplanLaunchPending && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(UltraplanLaunchDialog, {
|
|
720247
720975
|
onChoice: (choice, opts) => {
|
|
720248
720976
|
const blurb = ultraplanLaunchPending.blurb;
|
|
720249
720977
|
setAppState((prev) => prev.ultraplanLaunchPending ? {
|
|
@@ -720279,21 +721007,21 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720279
721007
|
}
|
|
720280
721008
|
}, undefined, false, undefined, this) : null,
|
|
720281
721009
|
mrRender(),
|
|
720282
|
-
!toolJSX?.shouldHidePromptInput && !focusedInputDialog && !isExiting && !disabled && !cursor && /* @__PURE__ */
|
|
721010
|
+
!toolJSX?.shouldHidePromptInput && !focusedInputDialog && !isExiting && !disabled && !cursor && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(jsx_dev_runtime460.Fragment, {
|
|
720283
721011
|
children: [
|
|
720284
|
-
autoRunIssueReason && /* @__PURE__ */
|
|
721012
|
+
autoRunIssueReason && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AutoRunIssueNotification, {
|
|
720285
721013
|
onRun: handleAutoRunIssue,
|
|
720286
721014
|
onCancel: handleCancelAutoRunIssue,
|
|
720287
721015
|
reason: getAutoRunIssueReasonText(autoRunIssueReason)
|
|
720288
721016
|
}, undefined, false, undefined, this),
|
|
720289
|
-
postCompactSurvey.state !== "closed" ? /* @__PURE__ */
|
|
721017
|
+
postCompactSurvey.state !== "closed" ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FeedbackSurvey, {
|
|
720290
721018
|
state: postCompactSurvey.state,
|
|
720291
721019
|
lastResponse: postCompactSurvey.lastResponse,
|
|
720292
721020
|
handleSelect: postCompactSurvey.handleSelect,
|
|
720293
721021
|
inputValue,
|
|
720294
721022
|
setInputValue,
|
|
720295
721023
|
onRequestFeedback: handleSurveyRequestFeedback
|
|
720296
|
-
}, undefined, false, undefined, this) : memorySurvey.state !== "closed" ? /* @__PURE__ */
|
|
721024
|
+
}, undefined, false, undefined, this) : memorySurvey.state !== "closed" ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FeedbackSurvey, {
|
|
720297
721025
|
state: memorySurvey.state,
|
|
720298
721026
|
lastResponse: memorySurvey.lastResponse,
|
|
720299
721027
|
handleSelect: memorySurvey.handleSelect,
|
|
@@ -720302,7 +721030,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720302
721030
|
setInputValue,
|
|
720303
721031
|
onRequestFeedback: handleSurveyRequestFeedback,
|
|
720304
721032
|
message: "How well did Claude use its memory? (optional)"
|
|
720305
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
721033
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FeedbackSurvey, {
|
|
720306
721034
|
state: feedbackSurvey.state,
|
|
720307
721035
|
lastResponse: feedbackSurvey.lastResponse,
|
|
720308
721036
|
handleSelect: feedbackSurvey.handleSelect,
|
|
@@ -720311,7 +721039,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720311
721039
|
setInputValue,
|
|
720312
721040
|
onRequestFeedback: didAutoRunIssueRef.current ? undefined : handleSurveyRequestFeedback
|
|
720313
721041
|
}, undefined, false, undefined, this),
|
|
720314
|
-
frustrationDetection.state !== "closed" && /* @__PURE__ */
|
|
721042
|
+
frustrationDetection.state !== "closed" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(FeedbackSurvey, {
|
|
720315
721043
|
state: frustrationDetection.state,
|
|
720316
721044
|
lastResponse: null,
|
|
720317
721045
|
handleSelect: () => {},
|
|
@@ -720320,8 +721048,12 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720320
721048
|
setInputValue
|
|
720321
721049
|
}, undefined, false, undefined, this),
|
|
720322
721050
|
false,
|
|
720323
|
-
showIssueFlagBanner && /* @__PURE__ */
|
|
720324
|
-
/* @__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, {
|
|
720325
721057
|
debug: debug5,
|
|
720326
721058
|
ideSelection,
|
|
720327
721059
|
hasSuppressedDialogs: !!hasSuppressedDialogs,
|
|
@@ -720363,16 +721095,16 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720363
721095
|
insertTextRef: feature("VOICE_MODE") ? insertTextRef : undefined,
|
|
720364
721096
|
voiceInterimRange: voice2.interimRange
|
|
720365
721097
|
}, undefined, false, undefined, this),
|
|
720366
|
-
/* @__PURE__ */
|
|
721098
|
+
/* @__PURE__ */ jsx_dev_runtime460.jsxDEV(SessionBackgroundHint, {
|
|
720367
721099
|
onBackgroundSession: handleBackgroundSession,
|
|
720368
721100
|
isLoading
|
|
720369
721101
|
}, undefined, false, undefined, this)
|
|
720370
721102
|
]
|
|
720371
721103
|
}, undefined, true, undefined, this),
|
|
720372
|
-
cursor && /* @__PURE__ */
|
|
721104
|
+
cursor && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(MessageActionsBar, {
|
|
720373
721105
|
cursor
|
|
720374
721106
|
}, undefined, false, undefined, this),
|
|
720375
|
-
focusedInputDialog === "message-selector" && /* @__PURE__ */
|
|
721107
|
+
focusedInputDialog === "message-selector" && /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(MessageSelector, {
|
|
720376
721108
|
messages,
|
|
720377
721109
|
preselectedMessage: messageSelectorPreselect,
|
|
720378
721110
|
onPreRestore: onCancel,
|
|
@@ -720450,7 +721182,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720450
721182
|
false
|
|
720451
721183
|
]
|
|
720452
721184
|
}, undefined, true, undefined, this),
|
|
720453
|
-
feature("BUDDY") && !(companionNarrow && isFullscreenEnvEnabled()) && companionVisible ? /* @__PURE__ */
|
|
721185
|
+
feature("BUDDY") && !(companionNarrow && isFullscreenEnvEnabled()) && companionVisible ? /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(CompanionSprite, {}, undefined, false, undefined, this) : null
|
|
720454
721186
|
]
|
|
720455
721187
|
}, undefined, true, undefined, this)
|
|
720456
721188
|
}, undefined, false, undefined, this)
|
|
@@ -720458,14 +721190,14 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
720458
721190
|
]
|
|
720459
721191
|
}, undefined, true, undefined, this);
|
|
720460
721192
|
if (isFullscreenEnvEnabled()) {
|
|
720461
|
-
return /* @__PURE__ */
|
|
721193
|
+
return /* @__PURE__ */ jsx_dev_runtime460.jsxDEV(AlternateScreen, {
|
|
720462
721194
|
mouseTracking: isMouseTrackingEnabled(),
|
|
720463
721195
|
children: mainReturn
|
|
720464
721196
|
}, undefined, false, undefined, this);
|
|
720465
721197
|
}
|
|
720466
721198
|
return mainReturn;
|
|
720467
721199
|
}
|
|
720468
|
-
var import_compiler_runtime347,
|
|
721200
|
+
var import_compiler_runtime347, React151, import_react316, jsx_dev_runtime460, useVoiceIntegration2, VoiceKeybindingHandler2, useFrustrationDetection = () => ({
|
|
720469
721201
|
state: "closed",
|
|
720470
721202
|
handleTranscriptSelect: () => {}
|
|
720471
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;
|
|
@@ -720672,10 +721404,11 @@ var init_REPL = __esm(() => {
|
|
|
720672
721404
|
init_osc();
|
|
720673
721405
|
init_attachments2();
|
|
720674
721406
|
init_sessionHooks();
|
|
721407
|
+
init_FleetViewScreen();
|
|
720675
721408
|
import_compiler_runtime347 = __toESM(require_compiler_runtime(), 1);
|
|
720676
|
-
|
|
721409
|
+
React151 = __toESM(require_react(), 1);
|
|
720677
721410
|
import_react316 = __toESM(require_react(), 1);
|
|
720678
|
-
|
|
721411
|
+
jsx_dev_runtime460 = __toESM(require_jsx_dev_runtime(), 1);
|
|
720679
721412
|
useVoiceIntegration2 = feature("VOICE_MODE") ? (init_useVoiceIntegration(), __toCommonJS(exports_useVoiceIntegration)).useVoiceIntegration : () => ({
|
|
720680
721413
|
stripTrailing: () => 0,
|
|
720681
721414
|
handleKeyEvent: () => {},
|
|
@@ -720702,16 +721435,16 @@ async function launchRepl(root3, appProps, replProps, renderAndRun) {
|
|
|
720702
721435
|
const {
|
|
720703
721436
|
REPL: REPL2
|
|
720704
721437
|
} = await Promise.resolve().then(() => (init_REPL(), exports_REPL));
|
|
720705
|
-
await renderAndRun(root3, /* @__PURE__ */
|
|
721438
|
+
await renderAndRun(root3, /* @__PURE__ */ jsx_dev_runtime461.jsxDEV(App3, {
|
|
720706
721439
|
...appProps,
|
|
720707
|
-
children: /* @__PURE__ */
|
|
721440
|
+
children: /* @__PURE__ */ jsx_dev_runtime461.jsxDEV(REPL2, {
|
|
720708
721441
|
...replProps
|
|
720709
721442
|
}, undefined, false, undefined, this)
|
|
720710
721443
|
}, undefined, false, undefined, this));
|
|
720711
721444
|
}
|
|
720712
|
-
var
|
|
721445
|
+
var jsx_dev_runtime461;
|
|
720713
721446
|
var init_replLauncher = __esm(() => {
|
|
720714
|
-
|
|
721447
|
+
jsx_dev_runtime461 = __toESM(require_jsx_dev_runtime(), 1);
|
|
720715
721448
|
});
|
|
720716
721449
|
|
|
720717
721450
|
// src/services/api/bootstrap.ts
|
|
@@ -720874,11 +721607,11 @@ function MCPServerDialogCopy() {
|
|
|
720874
721607
|
const $4 = import_compiler_runtime348.c(1);
|
|
720875
721608
|
let t0;
|
|
720876
721609
|
if ($4[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
720877
|
-
t0 = /* @__PURE__ */
|
|
721610
|
+
t0 = /* @__PURE__ */ jsx_dev_runtime462.jsxDEV(ThemedText, {
|
|
720878
721611
|
children: [
|
|
720879
721612
|
"MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the",
|
|
720880
721613
|
" ",
|
|
720881
|
-
/* @__PURE__ */
|
|
721614
|
+
/* @__PURE__ */ jsx_dev_runtime462.jsxDEV(Link, {
|
|
720882
721615
|
url: "https://code.claude.com/docs/en/mcp",
|
|
720883
721616
|
children: "MCP documentation"
|
|
720884
721617
|
}, undefined, false, undefined, this),
|
|
@@ -720891,11 +721624,11 @@ function MCPServerDialogCopy() {
|
|
|
720891
721624
|
}
|
|
720892
721625
|
return t0;
|
|
720893
721626
|
}
|
|
720894
|
-
var import_compiler_runtime348,
|
|
721627
|
+
var import_compiler_runtime348, jsx_dev_runtime462;
|
|
720895
721628
|
var init_MCPServerDialogCopy = __esm(() => {
|
|
720896
721629
|
init_ink2();
|
|
720897
721630
|
import_compiler_runtime348 = __toESM(require_compiler_runtime(), 1);
|
|
720898
|
-
|
|
721631
|
+
jsx_dev_runtime462 = __toESM(require_jsx_dev_runtime(), 1);
|
|
720899
721632
|
});
|
|
720900
721633
|
|
|
720901
721634
|
// src/components/MCPServerApprovalDialog.tsx
|
|
@@ -720960,7 +721693,7 @@ function MCPServerApprovalDialog(t0) {
|
|
|
720960
721693
|
}
|
|
720961
721694
|
let t4;
|
|
720962
721695
|
if ($4[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
720963
|
-
t4 = /* @__PURE__ */
|
|
721696
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime463.jsxDEV(MCPServerDialogCopy, {}, undefined, false, undefined, this);
|
|
720964
721697
|
$4[5] = t4;
|
|
720965
721698
|
} else {
|
|
720966
721699
|
t4 = $4[5];
|
|
@@ -720983,7 +721716,7 @@ function MCPServerApprovalDialog(t0) {
|
|
|
720983
721716
|
}
|
|
720984
721717
|
let t6;
|
|
720985
721718
|
if ($4[7] !== onChange) {
|
|
720986
|
-
t6 = /* @__PURE__ */
|
|
721719
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime463.jsxDEV(Select, {
|
|
720987
721720
|
options: t5,
|
|
720988
721721
|
onChange: (value_0) => onChange(value_0),
|
|
720989
721722
|
onCancel: () => onChange("no")
|
|
@@ -720995,7 +721728,7 @@ function MCPServerApprovalDialog(t0) {
|
|
|
720995
721728
|
}
|
|
720996
721729
|
let t7;
|
|
720997
721730
|
if ($4[9] !== t22 || $4[10] !== t32 || $4[11] !== t6) {
|
|
720998
|
-
t7 = /* @__PURE__ */
|
|
721731
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime463.jsxDEV(Dialog, {
|
|
720999
721732
|
title: t22,
|
|
721000
721733
|
color: "warning",
|
|
721001
721734
|
onCancel: t32,
|
|
@@ -721013,7 +721746,7 @@ function MCPServerApprovalDialog(t0) {
|
|
|
721013
721746
|
}
|
|
721014
721747
|
return t7;
|
|
721015
721748
|
}
|
|
721016
|
-
var import_compiler_runtime349,
|
|
721749
|
+
var import_compiler_runtime349, jsx_dev_runtime463;
|
|
721017
721750
|
var init_MCPServerApprovalDialog = __esm(() => {
|
|
721018
721751
|
init_analytics();
|
|
721019
721752
|
init_settings2();
|
|
@@ -721021,7 +721754,7 @@ var init_MCPServerApprovalDialog = __esm(() => {
|
|
|
721021
721754
|
init_Dialog();
|
|
721022
721755
|
init_MCPServerDialogCopy();
|
|
721023
721756
|
import_compiler_runtime349 = __toESM(require_compiler_runtime(), 1);
|
|
721024
|
-
|
|
721757
|
+
jsx_dev_runtime463 = __toESM(require_jsx_dev_runtime(), 1);
|
|
721025
721758
|
});
|
|
721026
721759
|
|
|
721027
721760
|
// src/components/MCPServerMultiselectDialog.tsx
|
|
@@ -721084,7 +721817,7 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
721084
721817
|
const t32 = `${serverNames.length} new MCP servers found in .mcp.json`;
|
|
721085
721818
|
let t4;
|
|
721086
721819
|
if ($4[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721087
|
-
t4 = /* @__PURE__ */
|
|
721820
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(MCPServerDialogCopy, {}, undefined, false, undefined, this);
|
|
721088
721821
|
$4[6] = t4;
|
|
721089
721822
|
} else {
|
|
721090
721823
|
t4 = $4[6];
|
|
@@ -721099,7 +721832,7 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
721099
721832
|
}
|
|
721100
721833
|
let t6;
|
|
721101
721834
|
if ($4[9] !== handleEscRejectAll || $4[10] !== onSubmit || $4[11] !== serverNames || $4[12] !== t5) {
|
|
721102
|
-
t6 = /* @__PURE__ */
|
|
721835
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(SelectMulti, {
|
|
721103
721836
|
options: t5,
|
|
721104
721837
|
defaultValue: serverNames,
|
|
721105
721838
|
onSubmit,
|
|
@@ -721116,7 +721849,7 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
721116
721849
|
}
|
|
721117
721850
|
let t7;
|
|
721118
721851
|
if ($4[14] !== handleEscRejectAll || $4[15] !== t32 || $4[16] !== t6) {
|
|
721119
|
-
t7 = /* @__PURE__ */
|
|
721852
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(Dialog, {
|
|
721120
721853
|
title: t32,
|
|
721121
721854
|
subtitle: "Select any you wish to enable.",
|
|
721122
721855
|
color: "warning",
|
|
@@ -721136,22 +721869,22 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
721136
721869
|
}
|
|
721137
721870
|
let t8;
|
|
721138
721871
|
if ($4[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721139
|
-
t8 = /* @__PURE__ */
|
|
721872
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(ThemedBox_default, {
|
|
721140
721873
|
paddingX: 1,
|
|
721141
|
-
children: /* @__PURE__ */
|
|
721874
|
+
children: /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(ThemedText, {
|
|
721142
721875
|
dimColor: true,
|
|
721143
721876
|
italic: true,
|
|
721144
|
-
children: /* @__PURE__ */
|
|
721877
|
+
children: /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(Byline, {
|
|
721145
721878
|
children: [
|
|
721146
|
-
/* @__PURE__ */
|
|
721879
|
+
/* @__PURE__ */ jsx_dev_runtime464.jsxDEV(KeyboardShortcutHint, {
|
|
721147
721880
|
shortcut: "Space",
|
|
721148
721881
|
action: "select"
|
|
721149
721882
|
}, undefined, false, undefined, this),
|
|
721150
|
-
/* @__PURE__ */
|
|
721883
|
+
/* @__PURE__ */ jsx_dev_runtime464.jsxDEV(KeyboardShortcutHint, {
|
|
721151
721884
|
shortcut: "Enter",
|
|
721152
721885
|
action: "confirm"
|
|
721153
721886
|
}, undefined, false, undefined, this),
|
|
721154
|
-
/* @__PURE__ */
|
|
721887
|
+
/* @__PURE__ */ jsx_dev_runtime464.jsxDEV(ConfigurableShortcutHint, {
|
|
721155
721888
|
action: "confirm:no",
|
|
721156
721889
|
context: "Confirmation",
|
|
721157
721890
|
fallback: "Esc",
|
|
@@ -721167,7 +721900,7 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
721167
721900
|
}
|
|
721168
721901
|
let t9;
|
|
721169
721902
|
if ($4[19] !== t7) {
|
|
721170
|
-
t9 = /* @__PURE__ */
|
|
721903
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime464.jsxDEV(jsx_dev_runtime464.Fragment, {
|
|
721171
721904
|
children: [
|
|
721172
721905
|
t7,
|
|
721173
721906
|
t8
|
|
@@ -721186,7 +721919,7 @@ function _temp303(server_0) {
|
|
|
721186
721919
|
value: server_0
|
|
721187
721920
|
};
|
|
721188
721921
|
}
|
|
721189
|
-
var import_compiler_runtime350,
|
|
721922
|
+
var import_compiler_runtime350, jsx_dev_runtime464;
|
|
721190
721923
|
var init_MCPServerMultiselectDialog = __esm(() => {
|
|
721191
721924
|
init_partition();
|
|
721192
721925
|
init_analytics();
|
|
@@ -721199,7 +721932,7 @@ var init_MCPServerMultiselectDialog = __esm(() => {
|
|
|
721199
721932
|
init_KeyboardShortcutHint();
|
|
721200
721933
|
init_MCPServerDialogCopy();
|
|
721201
721934
|
import_compiler_runtime350 = __toESM(require_compiler_runtime(), 1);
|
|
721202
|
-
|
|
721935
|
+
jsx_dev_runtime464 = __toESM(require_jsx_dev_runtime(), 1);
|
|
721203
721936
|
});
|
|
721204
721937
|
|
|
721205
721938
|
// src/services/mcpServerApproval.tsx
|
|
@@ -721215,18 +721948,18 @@ async function handleMcpjsonServerApprovals(root3) {
|
|
|
721215
721948
|
const done = () => void resolve53();
|
|
721216
721949
|
if (pendingServers.length === 1 && pendingServers[0] !== undefined) {
|
|
721217
721950
|
const serverName = pendingServers[0];
|
|
721218
|
-
root3.render(/* @__PURE__ */
|
|
721219
|
-
children: /* @__PURE__ */
|
|
721220
|
-
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, {
|
|
721221
721954
|
serverName,
|
|
721222
721955
|
onDone: done
|
|
721223
721956
|
}, undefined, false, undefined, this)
|
|
721224
721957
|
}, undefined, false, undefined, this)
|
|
721225
721958
|
}, undefined, false, undefined, this));
|
|
721226
721959
|
} else {
|
|
721227
|
-
root3.render(/* @__PURE__ */
|
|
721228
|
-
children: /* @__PURE__ */
|
|
721229
|
-
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, {
|
|
721230
721963
|
serverNames: pendingServers,
|
|
721231
721964
|
onDone: done
|
|
721232
721965
|
}, undefined, false, undefined, this)
|
|
@@ -721235,7 +721968,7 @@ async function handleMcpjsonServerApprovals(root3) {
|
|
|
721235
721968
|
}
|
|
721236
721969
|
});
|
|
721237
721970
|
}
|
|
721238
|
-
var
|
|
721971
|
+
var jsx_dev_runtime465;
|
|
721239
721972
|
var init_mcpServerApproval = __esm(() => {
|
|
721240
721973
|
init_MCPServerApprovalDialog();
|
|
721241
721974
|
init_MCPServerMultiselectDialog();
|
|
@@ -721243,7 +721976,7 @@ var init_mcpServerApproval = __esm(() => {
|
|
|
721243
721976
|
init_AppState();
|
|
721244
721977
|
init_config6();
|
|
721245
721978
|
init_utils9();
|
|
721246
|
-
|
|
721979
|
+
jsx_dev_runtime465 = __toESM(require_jsx_dev_runtime(), 1);
|
|
721247
721980
|
});
|
|
721248
721981
|
|
|
721249
721982
|
// src/utils/deepLink/terminalPreference.ts
|
|
@@ -721527,50 +722260,50 @@ function PreflightStep(t0) {
|
|
|
721527
722260
|
import_react318.useEffect(t32, t4);
|
|
721528
722261
|
let t5;
|
|
721529
722262
|
if ($4[6] !== isChecking || $4[7] !== result || $4[8] !== showSpinner) {
|
|
721530
|
-
t5 = isChecking && showSpinner ? /* @__PURE__ */
|
|
722263
|
+
t5 = isChecking && showSpinner ? /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedBox_default, {
|
|
721531
722264
|
paddingLeft: 1,
|
|
721532
722265
|
children: [
|
|
721533
|
-
/* @__PURE__ */
|
|
721534
|
-
/* @__PURE__ */
|
|
722266
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
722267
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721535
722268
|
children: "Checking connectivity..."
|
|
721536
722269
|
}, undefined, false, undefined, this)
|
|
721537
722270
|
]
|
|
721538
|
-
}, undefined, true, undefined, this) : !result?.success && !isChecking && /* @__PURE__ */
|
|
722271
|
+
}, undefined, true, undefined, this) : !result?.success && !isChecking && /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedBox_default, {
|
|
721539
722272
|
flexDirection: "column",
|
|
721540
722273
|
gap: 1,
|
|
721541
722274
|
children: [
|
|
721542
|
-
/* @__PURE__ */
|
|
722275
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721543
722276
|
color: "error",
|
|
721544
722277
|
children: "Unable to connect to Anthropic services"
|
|
721545
722278
|
}, undefined, false, undefined, this),
|
|
721546
|
-
/* @__PURE__ */
|
|
722279
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721547
722280
|
color: "error",
|
|
721548
722281
|
children: result?.error
|
|
721549
722282
|
}, undefined, false, undefined, this),
|
|
721550
|
-
result?.sslHint ? /* @__PURE__ */
|
|
722283
|
+
result?.sslHint ? /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedBox_default, {
|
|
721551
722284
|
flexDirection: "column",
|
|
721552
722285
|
gap: 1,
|
|
721553
722286
|
children: [
|
|
721554
|
-
/* @__PURE__ */
|
|
722287
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721555
722288
|
children: result.sslHint
|
|
721556
722289
|
}, undefined, false, undefined, this),
|
|
721557
|
-
/* @__PURE__ */
|
|
722290
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721558
722291
|
color: "suggestion",
|
|
721559
722292
|
children: "See https://code.claude.com/docs/en/network-config"
|
|
721560
722293
|
}, undefined, false, undefined, this)
|
|
721561
722294
|
]
|
|
721562
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
722295
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedBox_default, {
|
|
721563
722296
|
flexDirection: "column",
|
|
721564
722297
|
gap: 1,
|
|
721565
722298
|
children: [
|
|
721566
|
-
/* @__PURE__ */
|
|
722299
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721567
722300
|
children: "Please check your internet connection and network settings."
|
|
721568
722301
|
}, undefined, false, undefined, this),
|
|
721569
|
-
/* @__PURE__ */
|
|
722302
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721570
722303
|
children: [
|
|
721571
722304
|
"Note: Claude Code might not be available in your country. Check supported countries at",
|
|
721572
722305
|
" ",
|
|
721573
|
-
/* @__PURE__ */
|
|
722306
|
+
/* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedText, {
|
|
721574
722307
|
color: "suggestion",
|
|
721575
722308
|
children: "https://anthropic.com/supported-countries"
|
|
721576
722309
|
}, undefined, false, undefined, this)
|
|
@@ -721589,7 +722322,7 @@ function PreflightStep(t0) {
|
|
|
721589
722322
|
}
|
|
721590
722323
|
let t6;
|
|
721591
722324
|
if ($4[10] !== t5) {
|
|
721592
|
-
t6 = /* @__PURE__ */
|
|
722325
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(ThemedBox_default, {
|
|
721593
722326
|
flexDirection: "column",
|
|
721594
722327
|
gap: 1,
|
|
721595
722328
|
paddingLeft: 1,
|
|
@@ -721605,7 +722338,7 @@ function PreflightStep(t0) {
|
|
|
721605
722338
|
function _temp304() {
|
|
721606
722339
|
return process.exit(1);
|
|
721607
722340
|
}
|
|
721608
|
-
var import_compiler_runtime351, import_react318,
|
|
722341
|
+
var import_compiler_runtime351, import_react318, jsx_dev_runtime466;
|
|
721609
722342
|
var init_preflightChecks = __esm(() => {
|
|
721610
722343
|
init_axios2();
|
|
721611
722344
|
init_analytics();
|
|
@@ -721618,7 +722351,7 @@ var init_preflightChecks = __esm(() => {
|
|
|
721618
722351
|
init_log3();
|
|
721619
722352
|
import_compiler_runtime351 = __toESM(require_compiler_runtime(), 1);
|
|
721620
722353
|
import_react318 = __toESM(require_react(), 1);
|
|
721621
|
-
|
|
722354
|
+
jsx_dev_runtime466 = __toESM(require_jsx_dev_runtime(), 1);
|
|
721622
722355
|
});
|
|
721623
722356
|
|
|
721624
722357
|
// src/components/ApproveApiKey.tsx
|
|
@@ -721677,7 +722410,7 @@ function ApproveApiKey(t0) {
|
|
|
721677
722410
|
}
|
|
721678
722411
|
let t32;
|
|
721679
722412
|
if ($4[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721680
|
-
t32 = /* @__PURE__ */
|
|
722413
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721681
722414
|
bold: true,
|
|
721682
722415
|
children: "ANTHROPIC_API_KEY"
|
|
721683
722416
|
}, undefined, false, undefined, this);
|
|
@@ -721687,10 +722420,10 @@ function ApproveApiKey(t0) {
|
|
|
721687
722420
|
}
|
|
721688
722421
|
let t4;
|
|
721689
722422
|
if ($4[6] !== customApiKeyTruncated) {
|
|
721690
|
-
t4 = /* @__PURE__ */
|
|
722423
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721691
722424
|
children: [
|
|
721692
722425
|
t32,
|
|
721693
|
-
/* @__PURE__ */
|
|
722426
|
+
/* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721694
722427
|
children: [
|
|
721695
722428
|
": sk-ant-...",
|
|
721696
722429
|
customApiKeyTruncated
|
|
@@ -721705,7 +722438,7 @@ function ApproveApiKey(t0) {
|
|
|
721705
722438
|
}
|
|
721706
722439
|
let t5;
|
|
721707
722440
|
if ($4[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721708
|
-
t5 = /* @__PURE__ */
|
|
722441
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721709
722442
|
children: "Do you want to use this API key?"
|
|
721710
722443
|
}, undefined, false, undefined, this);
|
|
721711
722444
|
$4[8] = t5;
|
|
@@ -721725,10 +722458,10 @@ function ApproveApiKey(t0) {
|
|
|
721725
722458
|
let t7;
|
|
721726
722459
|
if ($4[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721727
722460
|
t7 = [t6, {
|
|
721728
|
-
label: /* @__PURE__ */
|
|
722461
|
+
label: /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721729
722462
|
children: [
|
|
721730
722463
|
"No (",
|
|
721731
|
-
/* @__PURE__ */
|
|
722464
|
+
/* @__PURE__ */ jsx_dev_runtime467.jsxDEV(ThemedText, {
|
|
721732
722465
|
bold: true,
|
|
721733
722466
|
children: "recommended"
|
|
721734
722467
|
}, undefined, false, undefined, this),
|
|
@@ -721743,7 +722476,7 @@ function ApproveApiKey(t0) {
|
|
|
721743
722476
|
}
|
|
721744
722477
|
let t8;
|
|
721745
722478
|
if ($4[11] !== onChange) {
|
|
721746
|
-
t8 = /* @__PURE__ */
|
|
722479
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(Select, {
|
|
721747
722480
|
defaultValue: "no",
|
|
721748
722481
|
defaultFocusValue: "no",
|
|
721749
722482
|
options: t7,
|
|
@@ -721757,7 +722490,7 @@ function ApproveApiKey(t0) {
|
|
|
721757
722490
|
}
|
|
721758
722491
|
let t9;
|
|
721759
722492
|
if ($4[13] !== t22 || $4[14] !== t4 || $4[15] !== t8) {
|
|
721760
|
-
t9 = /* @__PURE__ */
|
|
722493
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime467.jsxDEV(Dialog, {
|
|
721761
722494
|
title: "Detected a custom API key in your environment",
|
|
721762
722495
|
color: "warning",
|
|
721763
722496
|
onCancel: t22,
|
|
@@ -721776,14 +722509,14 @@ function ApproveApiKey(t0) {
|
|
|
721776
722509
|
}
|
|
721777
722510
|
return t9;
|
|
721778
722511
|
}
|
|
721779
|
-
var import_compiler_runtime352,
|
|
722512
|
+
var import_compiler_runtime352, jsx_dev_runtime467;
|
|
721780
722513
|
var init_ApproveApiKey = __esm(() => {
|
|
721781
722514
|
init_ink2();
|
|
721782
722515
|
init_config4();
|
|
721783
722516
|
init_CustomSelect();
|
|
721784
722517
|
init_Dialog();
|
|
721785
722518
|
import_compiler_runtime352 = __toESM(require_compiler_runtime(), 1);
|
|
721786
|
-
|
|
722519
|
+
jsx_dev_runtime467 = __toESM(require_jsx_dev_runtime(), 1);
|
|
721787
722520
|
});
|
|
721788
722521
|
|
|
721789
722522
|
// src/components/LogoV2/WelcomeV2.tsx
|
|
@@ -721793,7 +722526,7 @@ function WelcomeV2() {
|
|
|
721793
722526
|
if (env4.terminal === "Apple_Terminal") {
|
|
721794
722527
|
let t02;
|
|
721795
722528
|
if ($4[0] !== theme2) {
|
|
721796
|
-
t02 = /* @__PURE__ */
|
|
722529
|
+
t02 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(AppleTerminalWelcomeV2, {
|
|
721797
722530
|
theme: theme2,
|
|
721798
722531
|
welcomeMessage: "Welcome to OCC"
|
|
721799
722532
|
}, undefined, false, undefined, this);
|
|
@@ -721815,16 +722548,16 @@ function WelcomeV2() {
|
|
|
721815
722548
|
let t72;
|
|
721816
722549
|
let t82;
|
|
721817
722550
|
if ($4[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721818
|
-
t02 = /* @__PURE__ */
|
|
722551
|
+
t02 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721819
722552
|
children: [
|
|
721820
|
-
/* @__PURE__ */
|
|
722553
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721821
722554
|
color: "claude",
|
|
721822
722555
|
children: [
|
|
721823
722556
|
"Welcome to OCC",
|
|
721824
722557
|
" "
|
|
721825
722558
|
]
|
|
721826
722559
|
}, undefined, true, undefined, this),
|
|
721827
|
-
/* @__PURE__ */
|
|
722560
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721828
722561
|
dimColor: true,
|
|
721829
722562
|
children: [
|
|
721830
722563
|
"v",
|
|
@@ -721834,28 +722567,28 @@ function WelcomeV2() {
|
|
|
721834
722567
|
}, undefined, true, undefined, this)
|
|
721835
722568
|
]
|
|
721836
722569
|
}, undefined, true, undefined, this);
|
|
721837
|
-
t17 = /* @__PURE__ */
|
|
722570
|
+
t17 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721838
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"
|
|
721839
722572
|
}, undefined, false, undefined, this);
|
|
721840
|
-
t23 = /* @__PURE__ */
|
|
722573
|
+
t23 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721841
722574
|
children: " "
|
|
721842
722575
|
}, undefined, false, undefined, this);
|
|
721843
|
-
t33 = /* @__PURE__ */
|
|
722576
|
+
t33 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721844
722577
|
children: " "
|
|
721845
722578
|
}, undefined, false, undefined, this);
|
|
721846
|
-
t42 = /* @__PURE__ */
|
|
722579
|
+
t42 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721847
722580
|
children: " "
|
|
721848
722581
|
}, undefined, false, undefined, this);
|
|
721849
|
-
t52 = /* @__PURE__ */
|
|
722582
|
+
t52 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721850
722583
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
721851
722584
|
}, undefined, false, undefined, this);
|
|
721852
|
-
t62 = /* @__PURE__ */
|
|
722585
|
+
t62 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721853
722586
|
children: " \u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
721854
722587
|
}, undefined, false, undefined, this);
|
|
721855
|
-
t72 = /* @__PURE__ */
|
|
722588
|
+
t72 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721856
722589
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
721857
722590
|
}, undefined, false, undefined, this);
|
|
721858
|
-
t82 = /* @__PURE__ */
|
|
722591
|
+
t82 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721859
722592
|
children: " "
|
|
721860
722593
|
}, undefined, false, undefined, this);
|
|
721861
722594
|
$4[2] = t02;
|
|
@@ -721880,13 +722613,13 @@ function WelcomeV2() {
|
|
|
721880
722613
|
}
|
|
721881
722614
|
let t92;
|
|
721882
722615
|
if ($4[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721883
|
-
t92 = /* @__PURE__ */
|
|
722616
|
+
t92 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721884
722617
|
children: [
|
|
721885
|
-
/* @__PURE__ */
|
|
722618
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721886
722619
|
dimColor: true,
|
|
721887
722620
|
children: " \u2591\u2591\u2591\u2591"
|
|
721888
722621
|
}, undefined, false, undefined, this),
|
|
721889
|
-
/* @__PURE__ */
|
|
722622
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721890
722623
|
children: " \u2588\u2588 "
|
|
721891
722624
|
}, undefined, false, undefined, this)
|
|
721892
722625
|
]
|
|
@@ -721898,18 +722631,18 @@ function WelcomeV2() {
|
|
|
721898
722631
|
let t102;
|
|
721899
722632
|
let t112;
|
|
721900
722633
|
if ($4[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721901
|
-
t102 = /* @__PURE__ */
|
|
722634
|
+
t102 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721902
722635
|
children: [
|
|
721903
|
-
/* @__PURE__ */
|
|
722636
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721904
722637
|
dimColor: true,
|
|
721905
722638
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591"
|
|
721906
722639
|
}, undefined, false, undefined, this),
|
|
721907
|
-
/* @__PURE__ */
|
|
722640
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721908
722641
|
children: " \u2588\u2588\u2592\u2592\u2588\u2588 "
|
|
721909
722642
|
}, undefined, false, undefined, this)
|
|
721910
722643
|
]
|
|
721911
722644
|
}, undefined, true, undefined, this);
|
|
721912
|
-
t112 = /* @__PURE__ */
|
|
722645
|
+
t112 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721913
722646
|
children: " \u2592\u2592 \u2588\u2588 \u2592"
|
|
721914
722647
|
}, undefined, false, undefined, this);
|
|
721915
722648
|
$4[12] = t102;
|
|
@@ -721920,10 +722653,10 @@ function WelcomeV2() {
|
|
|
721920
722653
|
}
|
|
721921
722654
|
let t122;
|
|
721922
722655
|
if ($4[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721923
|
-
t122 = /* @__PURE__ */
|
|
722656
|
+
t122 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721924
722657
|
children: [
|
|
721925
722658
|
" ",
|
|
721926
|
-
/* @__PURE__ */
|
|
722659
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721927
722660
|
color: "clawd_body",
|
|
721928
722661
|
children: " \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "
|
|
721929
722662
|
}, undefined, false, undefined, this),
|
|
@@ -721936,10 +722669,10 @@ function WelcomeV2() {
|
|
|
721936
722669
|
}
|
|
721937
722670
|
let t132;
|
|
721938
722671
|
if ($4[15] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721939
|
-
t132 = /* @__PURE__ */
|
|
722672
|
+
t132 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721940
722673
|
children: [
|
|
721941
722674
|
" ",
|
|
721942
|
-
/* @__PURE__ */
|
|
722675
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721943
722676
|
color: "clawd_body",
|
|
721944
722677
|
backgroundColor: "clawd_background",
|
|
721945
722678
|
children: "\u2588\u2588\u2584\u2588\u2588\u2588\u2588\u2588\u2584\u2588\u2588"
|
|
@@ -721953,10 +722686,10 @@ function WelcomeV2() {
|
|
|
721953
722686
|
}
|
|
721954
722687
|
let t142;
|
|
721955
722688
|
if ($4[16] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721956
|
-
t142 = /* @__PURE__ */
|
|
722689
|
+
t142 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721957
722690
|
children: [
|
|
721958
722691
|
" ",
|
|
721959
|
-
/* @__PURE__ */
|
|
722692
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721960
722693
|
color: "clawd_body",
|
|
721961
722694
|
children: " \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "
|
|
721962
722695
|
}, undefined, false, undefined, this),
|
|
@@ -721969,9 +722702,9 @@ function WelcomeV2() {
|
|
|
721969
722702
|
}
|
|
721970
722703
|
let t152;
|
|
721971
722704
|
if ($4[17] === Symbol.for("react.memo_cache_sentinel")) {
|
|
721972
|
-
t152 = /* @__PURE__ */
|
|
722705
|
+
t152 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedBox_default, {
|
|
721973
722706
|
width: WELCOME_V2_WIDTH,
|
|
721974
|
-
children: /* @__PURE__ */
|
|
722707
|
+
children: /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721975
722708
|
children: [
|
|
721976
722709
|
t02,
|
|
721977
722710
|
t17,
|
|
@@ -721988,10 +722721,10 @@ function WelcomeV2() {
|
|
|
721988
722721
|
t122,
|
|
721989
722722
|
t132,
|
|
721990
722723
|
t142,
|
|
721991
|
-
/* @__PURE__ */
|
|
722724
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721992
722725
|
children: [
|
|
721993
722726
|
"\u2026\u2026\u2026\u2026\u2026\u2026\u2026",
|
|
721994
|
-
/* @__PURE__ */
|
|
722727
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
721995
722728
|
color: "clawd_body",
|
|
721996
722729
|
children: "\u2588 \u2588 \u2588 \u2588"
|
|
721997
722730
|
}, undefined, false, undefined, this),
|
|
@@ -722015,16 +722748,16 @@ function WelcomeV2() {
|
|
|
722015
722748
|
let t5;
|
|
722016
722749
|
let t6;
|
|
722017
722750
|
if ($4[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722018
|
-
t0 = /* @__PURE__ */
|
|
722751
|
+
t0 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722019
722752
|
children: [
|
|
722020
|
-
/* @__PURE__ */
|
|
722753
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722021
722754
|
color: "claude",
|
|
722022
722755
|
children: [
|
|
722023
722756
|
"Welcome to OCC",
|
|
722024
722757
|
" "
|
|
722025
722758
|
]
|
|
722026
722759
|
}, undefined, true, undefined, this),
|
|
722027
|
-
/* @__PURE__ */
|
|
722760
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722028
722761
|
dimColor: true,
|
|
722029
722762
|
children: [
|
|
722030
722763
|
"v",
|
|
@@ -722034,22 +722767,22 @@ function WelcomeV2() {
|
|
|
722034
722767
|
}, undefined, true, undefined, this)
|
|
722035
722768
|
]
|
|
722036
722769
|
}, undefined, true, undefined, this);
|
|
722037
|
-
t1 = /* @__PURE__ */
|
|
722770
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722038
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"
|
|
722039
722772
|
}, undefined, false, undefined, this);
|
|
722040
|
-
t22 = /* @__PURE__ */
|
|
722773
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722041
722774
|
children: " "
|
|
722042
722775
|
}, undefined, false, undefined, this);
|
|
722043
|
-
t32 = /* @__PURE__ */
|
|
722776
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722044
722777
|
children: " * \u2588\u2588\u2588\u2588\u2588\u2593\u2593\u2591 "
|
|
722045
722778
|
}, undefined, false, undefined, this);
|
|
722046
|
-
t4 = /* @__PURE__ */
|
|
722779
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722047
722780
|
children: " * \u2588\u2588\u2588\u2593\u2591 \u2591\u2591 "
|
|
722048
722781
|
}, undefined, false, undefined, this);
|
|
722049
|
-
t5 = /* @__PURE__ */
|
|
722782
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722050
722783
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591 \u2588\u2588\u2588\u2593\u2591 "
|
|
722051
722784
|
}, undefined, false, undefined, this);
|
|
722052
|
-
t6 = /* @__PURE__ */
|
|
722785
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722053
722786
|
children: " \u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2588\u2588\u2588\u2593\u2591 "
|
|
722054
722787
|
}, undefined, false, undefined, this);
|
|
722055
722788
|
$4[18] = t0;
|
|
@@ -722074,32 +722807,32 @@ function WelcomeV2() {
|
|
|
722074
722807
|
let t8;
|
|
722075
722808
|
let t9;
|
|
722076
722809
|
if ($4[25] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722077
|
-
t7 = /* @__PURE__ */
|
|
722810
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722078
722811
|
children: [
|
|
722079
|
-
/* @__PURE__ */
|
|
722812
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722080
722813
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722081
722814
|
}, undefined, false, undefined, this),
|
|
722082
|
-
/* @__PURE__ */
|
|
722815
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722083
722816
|
bold: true,
|
|
722084
722817
|
children: "*"
|
|
722085
722818
|
}, undefined, false, undefined, this),
|
|
722086
|
-
/* @__PURE__ */
|
|
722819
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722087
722820
|
children: " \u2588\u2588\u2593\u2591\u2591 \u2593 "
|
|
722088
722821
|
}, undefined, false, undefined, this)
|
|
722089
722822
|
]
|
|
722090
722823
|
}, undefined, true, undefined, this);
|
|
722091
|
-
t8 = /* @__PURE__ */
|
|
722824
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722092
722825
|
children: " \u2591\u2593\u2593\u2588\u2588\u2588\u2593\u2593\u2591 "
|
|
722093
722826
|
}, undefined, false, undefined, this);
|
|
722094
|
-
t9 = /* @__PURE__ */
|
|
722827
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722095
722828
|
dimColor: true,
|
|
722096
722829
|
children: " * \u2591\u2591\u2591\u2591 "
|
|
722097
722830
|
}, undefined, false, undefined, this);
|
|
722098
|
-
t10 = /* @__PURE__ */
|
|
722831
|
+
t10 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722099
722832
|
dimColor: true,
|
|
722100
722833
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722101
722834
|
}, undefined, false, undefined, this);
|
|
722102
|
-
t11 = /* @__PURE__ */
|
|
722835
|
+
t11 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722103
722836
|
dimColor: true,
|
|
722104
722837
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722105
722838
|
}, undefined, false, undefined, this);
|
|
@@ -722117,7 +722850,7 @@ function WelcomeV2() {
|
|
|
722117
722850
|
}
|
|
722118
722851
|
let t12;
|
|
722119
722852
|
if ($4[30] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722120
|
-
t12 = /* @__PURE__ */
|
|
722853
|
+
t12 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722121
722854
|
color: "clawd_body",
|
|
722122
722855
|
children: " \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "
|
|
722123
722856
|
}, undefined, false, undefined, this);
|
|
@@ -722127,16 +722860,16 @@ function WelcomeV2() {
|
|
|
722127
722860
|
}
|
|
722128
722861
|
let t13;
|
|
722129
722862
|
if ($4[31] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722130
|
-
t13 = /* @__PURE__ */
|
|
722863
|
+
t13 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722131
722864
|
children: [
|
|
722132
722865
|
" ",
|
|
722133
722866
|
t12,
|
|
722134
722867
|
" ",
|
|
722135
|
-
/* @__PURE__ */
|
|
722868
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722136
722869
|
dimColor: true,
|
|
722137
722870
|
children: "*"
|
|
722138
722871
|
}, undefined, false, undefined, this),
|
|
722139
|
-
/* @__PURE__ */
|
|
722872
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722140
722873
|
children: " "
|
|
722141
722874
|
}, undefined, false, undefined, this)
|
|
722142
722875
|
]
|
|
@@ -722147,21 +722880,21 @@ function WelcomeV2() {
|
|
|
722147
722880
|
}
|
|
722148
722881
|
let t14;
|
|
722149
722882
|
if ($4[32] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722150
|
-
t14 = /* @__PURE__ */
|
|
722883
|
+
t14 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722151
722884
|
children: [
|
|
722152
722885
|
" ",
|
|
722153
|
-
/* @__PURE__ */
|
|
722886
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722154
722887
|
color: "clawd_body",
|
|
722155
722888
|
children: "\u2588\u2588\u2584\u2588\u2588\u2588\u2588\u2588\u2584\u2588\u2588"
|
|
722156
722889
|
}, undefined, false, undefined, this),
|
|
722157
|
-
/* @__PURE__ */
|
|
722890
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722158
722891
|
children: " "
|
|
722159
722892
|
}, undefined, false, undefined, this),
|
|
722160
|
-
/* @__PURE__ */
|
|
722893
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722161
722894
|
bold: true,
|
|
722162
722895
|
children: "*"
|
|
722163
722896
|
}, undefined, false, undefined, this),
|
|
722164
|
-
/* @__PURE__ */
|
|
722897
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722165
722898
|
children: " "
|
|
722166
722899
|
}, undefined, false, undefined, this)
|
|
722167
722900
|
]
|
|
@@ -722172,10 +722905,10 @@ function WelcomeV2() {
|
|
|
722172
722905
|
}
|
|
722173
722906
|
let t15;
|
|
722174
722907
|
if ($4[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722175
|
-
t15 = /* @__PURE__ */
|
|
722908
|
+
t15 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722176
722909
|
children: [
|
|
722177
722910
|
" ",
|
|
722178
|
-
/* @__PURE__ */
|
|
722911
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722179
722912
|
color: "clawd_body",
|
|
722180
722913
|
children: " \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "
|
|
722181
722914
|
}, undefined, false, undefined, this),
|
|
@@ -722188,9 +722921,9 @@ function WelcomeV2() {
|
|
|
722188
722921
|
}
|
|
722189
722922
|
let t16;
|
|
722190
722923
|
if ($4[34] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722191
|
-
t16 = /* @__PURE__ */
|
|
722924
|
+
t16 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedBox_default, {
|
|
722192
722925
|
width: WELCOME_V2_WIDTH,
|
|
722193
|
-
children: /* @__PURE__ */
|
|
722926
|
+
children: /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722194
722927
|
children: [
|
|
722195
722928
|
t0,
|
|
722196
722929
|
t1,
|
|
@@ -722207,10 +722940,10 @@ function WelcomeV2() {
|
|
|
722207
722940
|
t13,
|
|
722208
722941
|
t14,
|
|
722209
722942
|
t15,
|
|
722210
|
-
/* @__PURE__ */
|
|
722943
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722211
722944
|
children: [
|
|
722212
722945
|
"\u2026\u2026\u2026\u2026\u2026\u2026\u2026",
|
|
722213
|
-
/* @__PURE__ */
|
|
722946
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722214
722947
|
color: "clawd_body",
|
|
722215
722948
|
children: "\u2588 \u2588 \u2588 \u2588"
|
|
722216
722949
|
}, undefined, false, undefined, this),
|
|
@@ -722236,7 +722969,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722236
722969
|
if (isLightTheme) {
|
|
722237
722970
|
let t110;
|
|
722238
722971
|
if ($4[0] !== welcomeMessage) {
|
|
722239
|
-
t110 = /* @__PURE__ */
|
|
722972
|
+
t110 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722240
722973
|
color: "claude",
|
|
722241
722974
|
children: [
|
|
722242
722975
|
welcomeMessage,
|
|
@@ -722250,7 +722983,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722250
722983
|
}
|
|
722251
722984
|
let t23;
|
|
722252
722985
|
if ($4[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722253
|
-
t23 = /* @__PURE__ */
|
|
722986
|
+
t23 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722254
722987
|
dimColor: true,
|
|
722255
722988
|
children: [
|
|
722256
722989
|
"v",
|
|
@@ -722264,7 +722997,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722264
722997
|
}
|
|
722265
722998
|
let t33;
|
|
722266
722999
|
if ($4[3] !== t110) {
|
|
722267
|
-
t33 = /* @__PURE__ */
|
|
723000
|
+
t33 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722268
723001
|
children: [
|
|
722269
723002
|
t110,
|
|
722270
723003
|
t23
|
|
@@ -722284,28 +723017,28 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722284
723017
|
let t82;
|
|
722285
723018
|
let t92;
|
|
722286
723019
|
if ($4[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722287
|
-
t42 = /* @__PURE__ */
|
|
723020
|
+
t42 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722288
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"
|
|
722289
723022
|
}, undefined, false, undefined, this);
|
|
722290
|
-
t52 = /* @__PURE__ */
|
|
723023
|
+
t52 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722291
723024
|
children: " "
|
|
722292
723025
|
}, undefined, false, undefined, this);
|
|
722293
|
-
t62 = /* @__PURE__ */
|
|
723026
|
+
t62 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722294
723027
|
children: " "
|
|
722295
723028
|
}, undefined, false, undefined, this);
|
|
722296
|
-
t72 = /* @__PURE__ */
|
|
723029
|
+
t72 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722297
723030
|
children: " "
|
|
722298
723031
|
}, undefined, false, undefined, this);
|
|
722299
|
-
t82 = /* @__PURE__ */
|
|
723032
|
+
t82 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722300
723033
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722301
723034
|
}, undefined, false, undefined, this);
|
|
722302
|
-
t92 = /* @__PURE__ */
|
|
723035
|
+
t92 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722303
723036
|
children: " \u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722304
723037
|
}, undefined, false, undefined, this);
|
|
722305
|
-
t102 = /* @__PURE__ */
|
|
723038
|
+
t102 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722306
723039
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722307
723040
|
}, undefined, false, undefined, this);
|
|
722308
|
-
t112 = /* @__PURE__ */
|
|
723041
|
+
t112 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722309
723042
|
children: " "
|
|
722310
723043
|
}, undefined, false, undefined, this);
|
|
722311
723044
|
$4[5] = t102;
|
|
@@ -722328,13 +723061,13 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722328
723061
|
}
|
|
722329
723062
|
let t122;
|
|
722330
723063
|
if ($4[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722331
|
-
t122 = /* @__PURE__ */
|
|
723064
|
+
t122 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722332
723065
|
children: [
|
|
722333
|
-
/* @__PURE__ */
|
|
723066
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722334
723067
|
dimColor: true,
|
|
722335
723068
|
children: " \u2591\u2591\u2591\u2591"
|
|
722336
723069
|
}, undefined, false, undefined, this),
|
|
722337
|
-
/* @__PURE__ */
|
|
723070
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722338
723071
|
children: " \u2588\u2588 "
|
|
722339
723072
|
}, undefined, false, undefined, this)
|
|
722340
723073
|
]
|
|
@@ -722347,21 +723080,21 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722347
723080
|
let t142;
|
|
722348
723081
|
let t152;
|
|
722349
723082
|
if ($4[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722350
|
-
t132 = /* @__PURE__ */
|
|
723083
|
+
t132 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722351
723084
|
children: [
|
|
722352
|
-
/* @__PURE__ */
|
|
723085
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722353
723086
|
dimColor: true,
|
|
722354
723087
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591"
|
|
722355
723088
|
}, undefined, false, undefined, this),
|
|
722356
|
-
/* @__PURE__ */
|
|
723089
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722357
723090
|
children: " \u2588\u2588\u2592\u2592\u2588\u2588 "
|
|
722358
723091
|
}, undefined, false, undefined, this)
|
|
722359
723092
|
]
|
|
722360
723093
|
}, undefined, true, undefined, this);
|
|
722361
|
-
t142 = /* @__PURE__ */
|
|
723094
|
+
t142 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722362
723095
|
children: " \u2592\u2592 \u2588\u2588 \u2592"
|
|
722363
723096
|
}, undefined, false, undefined, this);
|
|
722364
|
-
t152 = /* @__PURE__ */
|
|
723097
|
+
t152 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722365
723098
|
children: " \u2592\u2592\u2591\u2591\u2592\u2592 \u2592 \u2592\u2592"
|
|
722366
723099
|
}, undefined, false, undefined, this);
|
|
722367
723100
|
$4[14] = t132;
|
|
@@ -722374,14 +723107,14 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722374
723107
|
}
|
|
722375
723108
|
let t162;
|
|
722376
723109
|
if ($4[17] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722377
|
-
t162 = /* @__PURE__ */
|
|
723110
|
+
t162 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722378
723111
|
children: [
|
|
722379
723112
|
" ",
|
|
722380
|
-
/* @__PURE__ */
|
|
723113
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722381
723114
|
color: "clawd_body",
|
|
722382
723115
|
children: "\u2597"
|
|
722383
723116
|
}, undefined, false, undefined, this),
|
|
722384
|
-
/* @__PURE__ */
|
|
723117
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722385
723118
|
color: "clawd_background",
|
|
722386
723119
|
backgroundColor: "clawd_body",
|
|
722387
723120
|
children: [
|
|
@@ -722392,7 +723125,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722392
723125
|
" "
|
|
722393
723126
|
]
|
|
722394
723127
|
}, undefined, true, undefined, this),
|
|
722395
|
-
/* @__PURE__ */
|
|
723128
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722396
723129
|
color: "clawd_body",
|
|
722397
723130
|
children: "\u2596"
|
|
722398
723131
|
}, undefined, false, undefined, this),
|
|
@@ -722405,10 +723138,10 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722405
723138
|
}
|
|
722406
723139
|
let t172;
|
|
722407
723140
|
if ($4[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722408
|
-
t172 = /* @__PURE__ */
|
|
723141
|
+
t172 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722409
723142
|
children: [
|
|
722410
723143
|
" ",
|
|
722411
|
-
/* @__PURE__ */
|
|
723144
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722412
723145
|
backgroundColor: "clawd_body",
|
|
722413
723146
|
children: " ".repeat(9)
|
|
722414
723147
|
}, undefined, false, undefined, this),
|
|
@@ -722421,31 +723154,31 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722421
723154
|
}
|
|
722422
723155
|
let t182;
|
|
722423
723156
|
if ($4[19] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722424
|
-
t182 = /* @__PURE__ */
|
|
723157
|
+
t182 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722425
723158
|
children: [
|
|
722426
723159
|
"\u2026\u2026\u2026\u2026\u2026\u2026\u2026",
|
|
722427
|
-
/* @__PURE__ */
|
|
723160
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722428
723161
|
backgroundColor: "clawd_body",
|
|
722429
723162
|
children: " "
|
|
722430
723163
|
}, undefined, false, undefined, this),
|
|
722431
|
-
/* @__PURE__ */
|
|
723164
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722432
723165
|
children: " "
|
|
722433
723166
|
}, undefined, false, undefined, this),
|
|
722434
|
-
/* @__PURE__ */
|
|
723167
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722435
723168
|
backgroundColor: "clawd_body",
|
|
722436
723169
|
children: " "
|
|
722437
723170
|
}, undefined, false, undefined, this),
|
|
722438
|
-
/* @__PURE__ */
|
|
723171
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722439
723172
|
children: " "
|
|
722440
723173
|
}, undefined, false, undefined, this),
|
|
722441
|
-
/* @__PURE__ */
|
|
723174
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722442
723175
|
backgroundColor: "clawd_body",
|
|
722443
723176
|
children: " "
|
|
722444
723177
|
}, undefined, false, undefined, this),
|
|
722445
|
-
/* @__PURE__ */
|
|
723178
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722446
723179
|
children: " "
|
|
722447
723180
|
}, undefined, false, undefined, this),
|
|
722448
|
-
/* @__PURE__ */
|
|
723181
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722449
723182
|
backgroundColor: "clawd_body",
|
|
722450
723183
|
children: " "
|
|
722451
723184
|
}, undefined, false, undefined, this),
|
|
@@ -722458,9 +723191,9 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722458
723191
|
}
|
|
722459
723192
|
let t192;
|
|
722460
723193
|
if ($4[20] !== t33) {
|
|
722461
|
-
t192 = /* @__PURE__ */
|
|
723194
|
+
t192 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedBox_default, {
|
|
722462
723195
|
width: WELCOME_V2_WIDTH,
|
|
722463
|
-
children: /* @__PURE__ */
|
|
723196
|
+
children: /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722464
723197
|
children: [
|
|
722465
723198
|
t33,
|
|
722466
723199
|
t42,
|
|
@@ -722490,7 +723223,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722490
723223
|
}
|
|
722491
723224
|
let t1;
|
|
722492
723225
|
if ($4[22] !== welcomeMessage) {
|
|
722493
|
-
t1 = /* @__PURE__ */
|
|
723226
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722494
723227
|
color: "claude",
|
|
722495
723228
|
children: [
|
|
722496
723229
|
welcomeMessage,
|
|
@@ -722504,7 +723237,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722504
723237
|
}
|
|
722505
723238
|
let t22;
|
|
722506
723239
|
if ($4[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722507
|
-
t22 = /* @__PURE__ */
|
|
723240
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722508
723241
|
dimColor: true,
|
|
722509
723242
|
children: [
|
|
722510
723243
|
"v",
|
|
@@ -722518,7 +723251,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722518
723251
|
}
|
|
722519
723252
|
let t32;
|
|
722520
723253
|
if ($4[25] !== t1) {
|
|
722521
|
-
t32 = /* @__PURE__ */
|
|
723254
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722522
723255
|
children: [
|
|
722523
723256
|
t1,
|
|
722524
723257
|
t22
|
|
@@ -722536,22 +723269,22 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722536
723269
|
let t8;
|
|
722537
723270
|
let t9;
|
|
722538
723271
|
if ($4[27] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722539
|
-
t4 = /* @__PURE__ */
|
|
723272
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722540
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"
|
|
722541
723274
|
}, undefined, false, undefined, this);
|
|
722542
|
-
t5 = /* @__PURE__ */
|
|
723275
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722543
723276
|
children: " "
|
|
722544
723277
|
}, undefined, false, undefined, this);
|
|
722545
|
-
t6 = /* @__PURE__ */
|
|
723278
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722546
723279
|
children: " * \u2588\u2588\u2588\u2588\u2588\u2593\u2593\u2591 "
|
|
722547
723280
|
}, undefined, false, undefined, this);
|
|
722548
|
-
t7 = /* @__PURE__ */
|
|
723281
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722549
723282
|
children: " * \u2588\u2588\u2588\u2593\u2591 \u2591\u2591 "
|
|
722550
723283
|
}, undefined, false, undefined, this);
|
|
722551
|
-
t8 = /* @__PURE__ */
|
|
723284
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722552
723285
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591 \u2588\u2588\u2588\u2593\u2591 "
|
|
722553
723286
|
}, undefined, false, undefined, this);
|
|
722554
|
-
t9 = /* @__PURE__ */
|
|
723287
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722555
723288
|
children: " \u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2588\u2588\u2588\u2593\u2591 "
|
|
722556
723289
|
}, undefined, false, undefined, this);
|
|
722557
723290
|
$4[27] = t4;
|
|
@@ -722574,32 +723307,32 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722574
723307
|
let t13;
|
|
722575
723308
|
let t14;
|
|
722576
723309
|
if ($4[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722577
|
-
t10 = /* @__PURE__ */
|
|
723310
|
+
t10 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722578
723311
|
children: [
|
|
722579
|
-
/* @__PURE__ */
|
|
723312
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722580
723313
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722581
723314
|
}, undefined, false, undefined, this),
|
|
722582
|
-
/* @__PURE__ */
|
|
723315
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722583
723316
|
bold: true,
|
|
722584
723317
|
children: "*"
|
|
722585
723318
|
}, undefined, false, undefined, this),
|
|
722586
|
-
/* @__PURE__ */
|
|
723319
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722587
723320
|
children: " \u2588\u2588\u2593\u2591\u2591 \u2593 "
|
|
722588
723321
|
}, undefined, false, undefined, this)
|
|
722589
723322
|
]
|
|
722590
723323
|
}, undefined, true, undefined, this);
|
|
722591
|
-
t11 = /* @__PURE__ */
|
|
723324
|
+
t11 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722592
723325
|
children: " \u2591\u2593\u2593\u2588\u2588\u2588\u2593\u2593\u2591 "
|
|
722593
723326
|
}, undefined, false, undefined, this);
|
|
722594
|
-
t12 = /* @__PURE__ */
|
|
723327
|
+
t12 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722595
723328
|
dimColor: true,
|
|
722596
723329
|
children: " * \u2591\u2591\u2591\u2591 "
|
|
722597
723330
|
}, undefined, false, undefined, this);
|
|
722598
|
-
t13 = /* @__PURE__ */
|
|
723331
|
+
t13 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722599
723332
|
dimColor: true,
|
|
722600
723333
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722601
723334
|
}, undefined, false, undefined, this);
|
|
722602
|
-
t14 = /* @__PURE__ */
|
|
723335
|
+
t14 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722603
723336
|
dimColor: true,
|
|
722604
723337
|
children: " \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 "
|
|
722605
723338
|
}, undefined, false, undefined, this);
|
|
@@ -722617,14 +723350,14 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722617
723350
|
}
|
|
722618
723351
|
let t15;
|
|
722619
723352
|
if ($4[38] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722620
|
-
t15 = /* @__PURE__ */
|
|
723353
|
+
t15 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722621
723354
|
children: [
|
|
722622
723355
|
" ",
|
|
722623
|
-
/* @__PURE__ */
|
|
723356
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722624
723357
|
dimColor: true,
|
|
722625
723358
|
children: "*"
|
|
722626
723359
|
}, undefined, false, undefined, this),
|
|
722627
|
-
/* @__PURE__ */
|
|
723360
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722628
723361
|
children: " "
|
|
722629
723362
|
}, undefined, false, undefined, this)
|
|
722630
723363
|
]
|
|
@@ -722635,14 +723368,14 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722635
723368
|
}
|
|
722636
723369
|
let t16;
|
|
722637
723370
|
if ($4[39] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722638
|
-
t16 = /* @__PURE__ */
|
|
723371
|
+
t16 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722639
723372
|
children: [
|
|
722640
723373
|
" ",
|
|
722641
|
-
/* @__PURE__ */
|
|
723374
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722642
723375
|
color: "clawd_body",
|
|
722643
723376
|
children: "\u2597"
|
|
722644
723377
|
}, undefined, false, undefined, this),
|
|
722645
|
-
/* @__PURE__ */
|
|
723378
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722646
723379
|
color: "clawd_background",
|
|
722647
723380
|
backgroundColor: "clawd_body",
|
|
722648
723381
|
children: [
|
|
@@ -722653,18 +723386,18 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722653
723386
|
" "
|
|
722654
723387
|
]
|
|
722655
723388
|
}, undefined, true, undefined, this),
|
|
722656
|
-
/* @__PURE__ */
|
|
723389
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722657
723390
|
color: "clawd_body",
|
|
722658
723391
|
children: "\u2596"
|
|
722659
723392
|
}, undefined, false, undefined, this),
|
|
722660
|
-
/* @__PURE__ */
|
|
723393
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722661
723394
|
children: " "
|
|
722662
723395
|
}, undefined, false, undefined, this),
|
|
722663
|
-
/* @__PURE__ */
|
|
723396
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722664
723397
|
bold: true,
|
|
722665
723398
|
children: "*"
|
|
722666
723399
|
}, undefined, false, undefined, this),
|
|
722667
|
-
/* @__PURE__ */
|
|
723400
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722668
723401
|
children: " "
|
|
722669
723402
|
}, undefined, false, undefined, this)
|
|
722670
723403
|
]
|
|
@@ -722675,10 +723408,10 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722675
723408
|
}
|
|
722676
723409
|
let t17;
|
|
722677
723410
|
if ($4[40] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722678
|
-
t17 = /* @__PURE__ */
|
|
723411
|
+
t17 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722679
723412
|
children: [
|
|
722680
723413
|
" ",
|
|
722681
|
-
/* @__PURE__ */
|
|
723414
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722682
723415
|
backgroundColor: "clawd_body",
|
|
722683
723416
|
children: " ".repeat(9)
|
|
722684
723417
|
}, undefined, false, undefined, this),
|
|
@@ -722691,31 +723424,31 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722691
723424
|
}
|
|
722692
723425
|
let t18;
|
|
722693
723426
|
if ($4[41] === Symbol.for("react.memo_cache_sentinel")) {
|
|
722694
|
-
t18 = /* @__PURE__ */
|
|
723427
|
+
t18 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722695
723428
|
children: [
|
|
722696
723429
|
"\u2026\u2026\u2026\u2026\u2026\u2026\u2026",
|
|
722697
|
-
/* @__PURE__ */
|
|
723430
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722698
723431
|
backgroundColor: "clawd_body",
|
|
722699
723432
|
children: " "
|
|
722700
723433
|
}, undefined, false, undefined, this),
|
|
722701
|
-
/* @__PURE__ */
|
|
723434
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722702
723435
|
children: " "
|
|
722703
723436
|
}, undefined, false, undefined, this),
|
|
722704
|
-
/* @__PURE__ */
|
|
723437
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722705
723438
|
backgroundColor: "clawd_body",
|
|
722706
723439
|
children: " "
|
|
722707
723440
|
}, undefined, false, undefined, this),
|
|
722708
|
-
/* @__PURE__ */
|
|
723441
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722709
723442
|
children: " "
|
|
722710
723443
|
}, undefined, false, undefined, this),
|
|
722711
|
-
/* @__PURE__ */
|
|
723444
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722712
723445
|
backgroundColor: "clawd_body",
|
|
722713
723446
|
children: " "
|
|
722714
723447
|
}, undefined, false, undefined, this),
|
|
722715
|
-
/* @__PURE__ */
|
|
723448
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722716
723449
|
children: " "
|
|
722717
723450
|
}, undefined, false, undefined, this),
|
|
722718
|
-
/* @__PURE__ */
|
|
723451
|
+
/* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722719
723452
|
backgroundColor: "clawd_body",
|
|
722720
723453
|
children: " "
|
|
722721
723454
|
}, undefined, false, undefined, this),
|
|
@@ -722728,9 +723461,9 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722728
723461
|
}
|
|
722729
723462
|
let t19;
|
|
722730
723463
|
if ($4[42] !== t32) {
|
|
722731
|
-
t19 = /* @__PURE__ */
|
|
723464
|
+
t19 = /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedBox_default, {
|
|
722732
723465
|
width: WELCOME_V2_WIDTH,
|
|
722733
|
-
children: /* @__PURE__ */
|
|
723466
|
+
children: /* @__PURE__ */ jsx_dev_runtime468.jsxDEV(ThemedText, {
|
|
722734
723467
|
children: [
|
|
722735
723468
|
t32,
|
|
722736
723469
|
t4,
|
|
@@ -722758,12 +723491,12 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
722758
723491
|
}
|
|
722759
723492
|
return t19;
|
|
722760
723493
|
}
|
|
722761
|
-
var import_compiler_runtime353,
|
|
723494
|
+
var import_compiler_runtime353, jsx_dev_runtime468, WELCOME_V2_WIDTH = 58;
|
|
722762
723495
|
var init_WelcomeV2 = __esm(() => {
|
|
722763
723496
|
init_ink2();
|
|
722764
723497
|
init_env();
|
|
722765
723498
|
import_compiler_runtime353 = __toESM(require_compiler_runtime(), 1);
|
|
722766
|
-
|
|
723499
|
+
jsx_dev_runtime468 = __toESM(require_jsx_dev_runtime(), 1);
|
|
722767
723500
|
});
|
|
722768
723501
|
|
|
722769
723502
|
// src/components/ui/OrderedListItem.tsx
|
|
@@ -722777,7 +723510,7 @@ function OrderedListItem(t0) {
|
|
|
722777
723510
|
} = import_react319.useContext(OrderedListItemContext);
|
|
722778
723511
|
let t1;
|
|
722779
723512
|
if ($4[0] !== marker) {
|
|
722780
|
-
t1 = /* @__PURE__ */
|
|
723513
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime469.jsxDEV(ThemedText, {
|
|
722781
723514
|
dimColor: true,
|
|
722782
723515
|
children: marker
|
|
722783
723516
|
}, undefined, false, undefined, this);
|
|
@@ -722788,7 +723521,7 @@ function OrderedListItem(t0) {
|
|
|
722788
723521
|
}
|
|
722789
723522
|
let t22;
|
|
722790
723523
|
if ($4[2] !== children2) {
|
|
722791
|
-
t22 = /* @__PURE__ */
|
|
723524
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime469.jsxDEV(ThemedBox_default, {
|
|
722792
723525
|
flexDirection: "column",
|
|
722793
723526
|
children: children2
|
|
722794
723527
|
}, undefined, false, undefined, this);
|
|
@@ -722799,7 +723532,7 @@ function OrderedListItem(t0) {
|
|
|
722799
723532
|
}
|
|
722800
723533
|
let t32;
|
|
722801
723534
|
if ($4[4] !== t1 || $4[5] !== t22) {
|
|
722802
|
-
t32 = /* @__PURE__ */
|
|
723535
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime469.jsxDEV(ThemedBox_default, {
|
|
722803
723536
|
gap: 1,
|
|
722804
723537
|
children: [
|
|
722805
723538
|
t1,
|
|
@@ -722814,12 +723547,12 @@ function OrderedListItem(t0) {
|
|
|
722814
723547
|
}
|
|
722815
723548
|
return t32;
|
|
722816
723549
|
}
|
|
722817
|
-
var import_compiler_runtime354, import_react319,
|
|
723550
|
+
var import_compiler_runtime354, import_react319, jsx_dev_runtime469, OrderedListItemContext;
|
|
722818
723551
|
var init_OrderedListItem = __esm(() => {
|
|
722819
723552
|
init_ink2();
|
|
722820
723553
|
import_compiler_runtime354 = __toESM(require_compiler_runtime(), 1);
|
|
722821
723554
|
import_react319 = __toESM(require_react(), 1);
|
|
722822
|
-
|
|
723555
|
+
jsx_dev_runtime469 = __toESM(require_jsx_dev_runtime(), 1);
|
|
722823
723556
|
OrderedListItemContext = import_react319.createContext({
|
|
722824
723557
|
marker: ""
|
|
722825
723558
|
});
|
|
@@ -722852,11 +723585,11 @@ function OrderedListComponent(t0) {
|
|
|
722852
723585
|
}
|
|
722853
723586
|
const paddedMarker = `${String(index2 + 1).padStart(maxMarkerWidth)}.`;
|
|
722854
723587
|
const marker = `${parentMarker}${paddedMarker}`;
|
|
722855
|
-
return /* @__PURE__ */
|
|
723588
|
+
return /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(OrderedListContext.Provider, {
|
|
722856
723589
|
value: {
|
|
722857
723590
|
marker
|
|
722858
723591
|
},
|
|
722859
|
-
children: /* @__PURE__ */
|
|
723592
|
+
children: /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(OrderedListItemContext.Provider, {
|
|
722860
723593
|
value: {
|
|
722861
723594
|
marker
|
|
722862
723595
|
},
|
|
@@ -722880,7 +723613,7 @@ function OrderedListComponent(t0) {
|
|
|
722880
723613
|
}
|
|
722881
723614
|
let t22;
|
|
722882
723615
|
if ($4[7] !== t1) {
|
|
722883
|
-
t22 = /* @__PURE__ */
|
|
723616
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(ThemedBox_default, {
|
|
722884
723617
|
flexDirection: "column",
|
|
722885
723618
|
children: t1
|
|
722886
723619
|
}, undefined, false, undefined, this);
|
|
@@ -722891,13 +723624,13 @@ function OrderedListComponent(t0) {
|
|
|
722891
723624
|
}
|
|
722892
723625
|
return t22;
|
|
722893
723626
|
}
|
|
722894
|
-
var import_compiler_runtime355, import_react320,
|
|
723627
|
+
var import_compiler_runtime355, import_react320, jsx_dev_runtime470, OrderedListContext, OrderedList;
|
|
722895
723628
|
var init_OrderedList = __esm(() => {
|
|
722896
723629
|
init_ink2();
|
|
722897
723630
|
init_OrderedListItem();
|
|
722898
723631
|
import_compiler_runtime355 = __toESM(require_compiler_runtime(), 1);
|
|
722899
723632
|
import_react320 = __toESM(require_react(), 1);
|
|
722900
|
-
|
|
723633
|
+
jsx_dev_runtime470 = __toESM(require_jsx_dev_runtime(), 1);
|
|
722901
723634
|
OrderedListContext = import_react320.createContext({
|
|
722902
723635
|
marker: ""
|
|
722903
723636
|
});
|
|
@@ -722940,9 +723673,9 @@ function Onboarding({
|
|
|
722940
723673
|
goToNextStep();
|
|
722941
723674
|
}
|
|
722942
723675
|
const exitState = useExitOnCtrlCDWithKeybindings();
|
|
722943
|
-
const themeStep = /* @__PURE__ */
|
|
723676
|
+
const themeStep = /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
722944
723677
|
marginX: 1,
|
|
722945
|
-
children: /* @__PURE__ */
|
|
723678
|
+
children: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemePicker, {
|
|
722946
723679
|
onThemeSelect: handleThemeSelection,
|
|
722947
723680
|
showIntroText: true,
|
|
722948
723681
|
helpText: "To change this later, run /theme",
|
|
@@ -722950,49 +723683,49 @@ function Onboarding({
|
|
|
722950
723683
|
skipExitHandling: true
|
|
722951
723684
|
}, undefined, false, undefined, this)
|
|
722952
723685
|
}, undefined, false, undefined, this);
|
|
722953
|
-
const securityStep = /* @__PURE__ */
|
|
723686
|
+
const securityStep = /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
722954
723687
|
flexDirection: "column",
|
|
722955
723688
|
gap: 1,
|
|
722956
723689
|
paddingLeft: 1,
|
|
722957
723690
|
children: [
|
|
722958
|
-
/* @__PURE__ */
|
|
723691
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
722959
723692
|
bold: true,
|
|
722960
723693
|
children: "Security notes:"
|
|
722961
723694
|
}, undefined, false, undefined, this),
|
|
722962
|
-
/* @__PURE__ */
|
|
723695
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
722963
723696
|
flexDirection: "column",
|
|
722964
723697
|
width: 70,
|
|
722965
|
-
children: /* @__PURE__ */
|
|
723698
|
+
children: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(OrderedList, {
|
|
722966
723699
|
children: [
|
|
722967
|
-
/* @__PURE__ */
|
|
723700
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(OrderedList.Item, {
|
|
722968
723701
|
children: [
|
|
722969
|
-
/* @__PURE__ */
|
|
723702
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
722970
723703
|
children: "Claude can make mistakes"
|
|
722971
723704
|
}, undefined, false, undefined, this),
|
|
722972
|
-
/* @__PURE__ */
|
|
723705
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
722973
723706
|
dimColor: true,
|
|
722974
723707
|
wrap: "wrap",
|
|
722975
723708
|
children: [
|
|
722976
723709
|
"You should always review Claude's responses, especially when",
|
|
722977
|
-
/* @__PURE__ */
|
|
723710
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
722978
723711
|
"running code.",
|
|
722979
|
-
/* @__PURE__ */
|
|
723712
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Newline, {}, undefined, false, undefined, this)
|
|
722980
723713
|
]
|
|
722981
723714
|
}, undefined, true, undefined, this)
|
|
722982
723715
|
]
|
|
722983
723716
|
}, undefined, true, undefined, this),
|
|
722984
|
-
/* @__PURE__ */
|
|
723717
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(OrderedList.Item, {
|
|
722985
723718
|
children: [
|
|
722986
|
-
/* @__PURE__ */
|
|
723719
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
722987
723720
|
children: "Due to prompt injection risks, only use it with code you trust"
|
|
722988
723721
|
}, undefined, false, undefined, this),
|
|
722989
|
-
/* @__PURE__ */
|
|
723722
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
722990
723723
|
dimColor: true,
|
|
722991
723724
|
wrap: "wrap",
|
|
722992
723725
|
children: [
|
|
722993
723726
|
"For more details see:",
|
|
722994
|
-
/* @__PURE__ */
|
|
722995
|
-
/* @__PURE__ */
|
|
723727
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
723728
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Link, {
|
|
722996
723729
|
url: "https://code.claude.com/docs/en/security"
|
|
722997
723730
|
}, undefined, false, undefined, this)
|
|
722998
723731
|
]
|
|
@@ -723002,10 +723735,10 @@ function Onboarding({
|
|
|
723002
723735
|
]
|
|
723003
723736
|
}, undefined, true, undefined, this)
|
|
723004
723737
|
}, undefined, false, undefined, this),
|
|
723005
|
-
/* @__PURE__ */
|
|
723738
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(PressEnterToContinue, {}, undefined, false, undefined, this)
|
|
723006
723739
|
]
|
|
723007
723740
|
}, undefined, true, undefined, this);
|
|
723008
|
-
const preflightStep = /* @__PURE__ */
|
|
723741
|
+
const preflightStep = /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(PreflightStep, {
|
|
723009
723742
|
onSuccess: goToNextStep
|
|
723010
723743
|
}, undefined, false, undefined, this);
|
|
723011
723744
|
const apiKeyNeedingApproval = import_react321.useMemo(() => {
|
|
@@ -723037,7 +723770,7 @@ function Onboarding({
|
|
|
723037
723770
|
if (apiKeyNeedingApproval) {
|
|
723038
723771
|
steps.push({
|
|
723039
723772
|
id: "api-key",
|
|
723040
|
-
component: /* @__PURE__ */
|
|
723773
|
+
component: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ApproveApiKey, {
|
|
723041
723774
|
customApiKeyTruncated: apiKeyNeedingApproval,
|
|
723042
723775
|
onDone: handleApiKeyDone
|
|
723043
723776
|
}, undefined, false, undefined, this)
|
|
@@ -723046,10 +723779,10 @@ function Onboarding({
|
|
|
723046
723779
|
if (oauthEnabled) {
|
|
723047
723780
|
steps.push({
|
|
723048
723781
|
id: "oauth",
|
|
723049
|
-
component: /* @__PURE__ */
|
|
723782
|
+
component: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(SkippableStep, {
|
|
723050
723783
|
skip: skipOAuth,
|
|
723051
723784
|
onSkip: goToNextStep,
|
|
723052
|
-
children: /* @__PURE__ */
|
|
723785
|
+
children: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ConsoleOAuthFlow, {
|
|
723053
723786
|
onDone: goToNextStep
|
|
723054
723787
|
}, undefined, false, undefined, this)
|
|
723055
723788
|
}, undefined, false, undefined, this)
|
|
@@ -723062,30 +723795,30 @@ function Onboarding({
|
|
|
723062
723795
|
if (shouldOfferTerminalSetup()) {
|
|
723063
723796
|
steps.push({
|
|
723064
723797
|
id: "terminal-setup",
|
|
723065
|
-
component: /* @__PURE__ */
|
|
723798
|
+
component: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
723066
723799
|
flexDirection: "column",
|
|
723067
723800
|
gap: 1,
|
|
723068
723801
|
paddingLeft: 1,
|
|
723069
723802
|
children: [
|
|
723070
|
-
/* @__PURE__ */
|
|
723803
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
723071
723804
|
bold: true,
|
|
723072
723805
|
children: "Use Claude Code's terminal setup?"
|
|
723073
723806
|
}, undefined, false, undefined, this),
|
|
723074
|
-
/* @__PURE__ */
|
|
723807
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
723075
723808
|
flexDirection: "column",
|
|
723076
723809
|
width: 70,
|
|
723077
723810
|
gap: 1,
|
|
723078
723811
|
children: [
|
|
723079
|
-
/* @__PURE__ */
|
|
723812
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
723080
723813
|
children: [
|
|
723081
723814
|
"For the optimal coding experience, enable the recommended settings",
|
|
723082
|
-
/* @__PURE__ */
|
|
723815
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
723083
723816
|
"for your terminal:",
|
|
723084
723817
|
" ",
|
|
723085
723818
|
env4.terminal === "Apple_Terminal" ? "Option+Enter for newlines and visual bell" : "Shift+Enter for newlines"
|
|
723086
723819
|
]
|
|
723087
723820
|
}, undefined, true, undefined, this),
|
|
723088
|
-
/* @__PURE__ */
|
|
723821
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(Select, {
|
|
723089
723822
|
options: [{
|
|
723090
723823
|
label: "Yes, use recommended settings",
|
|
723091
723824
|
value: "install"
|
|
@@ -723102,15 +723835,15 @@ function Onboarding({
|
|
|
723102
723835
|
},
|
|
723103
723836
|
onCancel: () => goToNextStep()
|
|
723104
723837
|
}, undefined, false, undefined, this),
|
|
723105
|
-
/* @__PURE__ */
|
|
723838
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
723106
723839
|
dimColor: true,
|
|
723107
|
-
children: exitState.pending ? /* @__PURE__ */
|
|
723840
|
+
children: exitState.pending ? /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(jsx_dev_runtime471.Fragment, {
|
|
723108
723841
|
children: [
|
|
723109
723842
|
"Press ",
|
|
723110
723843
|
exitState.keyName,
|
|
723111
723844
|
" again to exit"
|
|
723112
723845
|
]
|
|
723113
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
723846
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(jsx_dev_runtime471.Fragment, {
|
|
723114
723847
|
children: "Enter to confirm \xB7 Esc to skip"
|
|
723115
723848
|
}, undefined, false, undefined, this)
|
|
723116
723849
|
}, undefined, false, undefined, this)
|
|
@@ -723143,18 +723876,18 @@ function Onboarding({
|
|
|
723143
723876
|
context: "Confirmation",
|
|
723144
723877
|
isActive: currentStep?.id === "terminal-setup"
|
|
723145
723878
|
});
|
|
723146
|
-
return /* @__PURE__ */
|
|
723879
|
+
return /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
723147
723880
|
flexDirection: "column",
|
|
723148
723881
|
children: [
|
|
723149
|
-
/* @__PURE__ */
|
|
723150
|
-
/* @__PURE__ */
|
|
723882
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(WelcomeV2, {}, undefined, false, undefined, this),
|
|
723883
|
+
/* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
723151
723884
|
flexDirection: "column",
|
|
723152
723885
|
marginTop: 1,
|
|
723153
723886
|
children: [
|
|
723154
723887
|
currentStep?.component,
|
|
723155
|
-
exitState.pending && /* @__PURE__ */
|
|
723888
|
+
exitState.pending && /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedBox_default, {
|
|
723156
723889
|
padding: 1,
|
|
723157
|
-
children: /* @__PURE__ */
|
|
723890
|
+
children: /* @__PURE__ */ jsx_dev_runtime471.jsxDEV(ThemedText, {
|
|
723158
723891
|
dimColor: true,
|
|
723159
723892
|
children: [
|
|
723160
723893
|
"Press ",
|
|
@@ -723198,7 +723931,7 @@ function SkippableStep(t0) {
|
|
|
723198
723931
|
}
|
|
723199
723932
|
return children2;
|
|
723200
723933
|
}
|
|
723201
|
-
var import_compiler_runtime356, import_react321,
|
|
723934
|
+
var import_compiler_runtime356, import_react321, jsx_dev_runtime471;
|
|
723202
723935
|
var init_Onboarding = __esm(() => {
|
|
723203
723936
|
init_analytics();
|
|
723204
723937
|
init_terminalSetup();
|
|
@@ -723220,7 +723953,7 @@ var init_Onboarding = __esm(() => {
|
|
|
723220
723953
|
init_OrderedList();
|
|
723221
723954
|
import_compiler_runtime356 = __toESM(require_compiler_runtime(), 1);
|
|
723222
723955
|
import_react321 = __toESM(require_react(), 1);
|
|
723223
|
-
|
|
723956
|
+
jsx_dev_runtime471 = __toESM(require_jsx_dev_runtime(), 1);
|
|
723224
723957
|
});
|
|
723225
723958
|
|
|
723226
723959
|
// src/components/TrustDialog/utils.ts
|
|
@@ -723545,18 +724278,18 @@ function TrustDialog(t0) {
|
|
|
723545
724278
|
let t17;
|
|
723546
724279
|
let t18;
|
|
723547
724280
|
if ($4[20] === Symbol.for("react.memo_cache_sentinel")) {
|
|
723548
|
-
t16 = /* @__PURE__ */
|
|
724281
|
+
t16 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
723549
724282
|
bold: true,
|
|
723550
724283
|
children: getFsImplementation().cwd()
|
|
723551
724284
|
}, undefined, false, undefined, this);
|
|
723552
|
-
t17 = /* @__PURE__ */
|
|
724285
|
+
t17 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
723553
724286
|
children: [
|
|
723554
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",
|
|
723555
724288
|
"'",
|
|
723556
724289
|
"s in this folder first."
|
|
723557
724290
|
]
|
|
723558
724291
|
}, undefined, true, undefined, this);
|
|
723559
|
-
t18 = /* @__PURE__ */
|
|
724292
|
+
t18 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
723560
724293
|
children: [
|
|
723561
724294
|
"Claude Code",
|
|
723562
724295
|
"'",
|
|
@@ -723573,9 +724306,9 @@ function TrustDialog(t0) {
|
|
|
723573
724306
|
}
|
|
723574
724307
|
let t19;
|
|
723575
724308
|
if ($4[23] === Symbol.for("react.memo_cache_sentinel")) {
|
|
723576
|
-
t19 = /* @__PURE__ */
|
|
724309
|
+
t19 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
723577
724310
|
dimColor: true,
|
|
723578
|
-
children: /* @__PURE__ */
|
|
724311
|
+
children: /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(Link, {
|
|
723579
724312
|
url: "https://code.claude.com/docs/en/security",
|
|
723580
724313
|
children: "Security guide"
|
|
723581
724314
|
}, undefined, false, undefined, this)
|
|
@@ -723599,7 +724332,7 @@ function TrustDialog(t0) {
|
|
|
723599
724332
|
}
|
|
723600
724333
|
let t21;
|
|
723601
724334
|
if ($4[25] !== onChange) {
|
|
723602
|
-
t21 = /* @__PURE__ */
|
|
724335
|
+
t21 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(Select, {
|
|
723603
724336
|
options: t20,
|
|
723604
724337
|
onChange: (value_0) => onChange(value_0),
|
|
723605
724338
|
onCancel: () => onChange("exit")
|
|
@@ -723611,15 +724344,15 @@ function TrustDialog(t0) {
|
|
|
723611
724344
|
}
|
|
723612
724345
|
let t222;
|
|
723613
724346
|
if ($4[27] !== exitState.keyName || $4[28] !== exitState.pending) {
|
|
723614
|
-
t222 = /* @__PURE__ */
|
|
724347
|
+
t222 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
723615
724348
|
dimColor: true,
|
|
723616
|
-
children: exitState.pending ? /* @__PURE__ */
|
|
724349
|
+
children: exitState.pending ? /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(jsx_dev_runtime472.Fragment, {
|
|
723617
724350
|
children: [
|
|
723618
724351
|
"Press ",
|
|
723619
724352
|
exitState.keyName,
|
|
723620
724353
|
" again to exit"
|
|
723621
724354
|
]
|
|
723622
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
724355
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(jsx_dev_runtime472.Fragment, {
|
|
723623
724356
|
children: "Enter to confirm \xB7 Esc to cancel"
|
|
723624
724357
|
}, undefined, false, undefined, this)
|
|
723625
724358
|
}, undefined, false, undefined, this);
|
|
@@ -723631,11 +724364,11 @@ function TrustDialog(t0) {
|
|
|
723631
724364
|
}
|
|
723632
724365
|
let t23;
|
|
723633
724366
|
if ($4[30] !== t21 || $4[31] !== t222) {
|
|
723634
|
-
t23 = /* @__PURE__ */
|
|
724367
|
+
t23 = /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(PermissionDialog, {
|
|
723635
724368
|
color: "warning",
|
|
723636
724369
|
titleColor: "warning",
|
|
723637
724370
|
title: "Accessing workspace:",
|
|
723638
|
-
children: /* @__PURE__ */
|
|
724371
|
+
children: /* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedBox_default, {
|
|
723639
724372
|
flexDirection: "column",
|
|
723640
724373
|
gap: 1,
|
|
723641
724374
|
paddingTop: 1,
|
|
@@ -723681,7 +724414,7 @@ function _temp2104(command10) {
|
|
|
723681
724414
|
function _temp305(tool) {
|
|
723682
724415
|
return tool === BASH_TOOL_NAME || tool.startsWith(BASH_TOOL_NAME + "(");
|
|
723683
724416
|
}
|
|
723684
|
-
var import_compiler_runtime357, import_react322,
|
|
724417
|
+
var import_compiler_runtime357, import_react322, jsx_dev_runtime472;
|
|
723685
724418
|
var init_TrustDialog = __esm(() => {
|
|
723686
724419
|
init_analytics();
|
|
723687
724420
|
init_state();
|
|
@@ -723698,7 +724431,7 @@ var init_TrustDialog = __esm(() => {
|
|
|
723698
724431
|
init_utils15();
|
|
723699
724432
|
import_compiler_runtime357 = __toESM(require_compiler_runtime(), 1);
|
|
723700
724433
|
import_react322 = __toESM(require_react(), 1);
|
|
723701
|
-
|
|
724434
|
+
jsx_dev_runtime472 = __toESM(require_jsx_dev_runtime(), 1);
|
|
723702
724435
|
});
|
|
723703
724436
|
|
|
723704
724437
|
// src/components/BypassPermissionsModeDialog.tsx
|
|
@@ -723746,21 +724479,21 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
723746
724479
|
const handleEscape = _temp2105;
|
|
723747
724480
|
let t32;
|
|
723748
724481
|
if ($4[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
723749
|
-
t32 = /* @__PURE__ */
|
|
724482
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime473.jsxDEV(ThemedBox_default, {
|
|
723750
724483
|
flexDirection: "column",
|
|
723751
724484
|
gap: 1,
|
|
723752
724485
|
children: [
|
|
723753
|
-
/* @__PURE__ */
|
|
724486
|
+
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(ThemedText, {
|
|
723754
724487
|
children: [
|
|
723755
724488
|
"In Bypass Permissions mode, Claude Code will not ask for your approval before running potentially dangerous commands.",
|
|
723756
|
-
/* @__PURE__ */
|
|
724489
|
+
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
723757
724490
|
"This mode should only be used in a sandboxed container/VM that has restricted internet access and can easily be restored if damaged."
|
|
723758
724491
|
]
|
|
723759
724492
|
}, undefined, true, undefined, this),
|
|
723760
|
-
/* @__PURE__ */
|
|
724493
|
+
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(ThemedText, {
|
|
723761
724494
|
children: "By proceeding, you accept all responsibility for actions taken while running in Bypass Permissions mode."
|
|
723762
724495
|
}, undefined, false, undefined, this),
|
|
723763
|
-
/* @__PURE__ */
|
|
724496
|
+
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(Link, {
|
|
723764
724497
|
url: "https://code.claude.com/docs/en/security"
|
|
723765
724498
|
}, undefined, false, undefined, this)
|
|
723766
724499
|
]
|
|
@@ -723784,13 +724517,13 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
723784
724517
|
}
|
|
723785
724518
|
let t5;
|
|
723786
724519
|
if ($4[5] !== onChange) {
|
|
723787
|
-
t5 = /* @__PURE__ */
|
|
724520
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime473.jsxDEV(Dialog, {
|
|
723788
724521
|
title: "WARNING: Claude Code running in Bypass Permissions mode",
|
|
723789
724522
|
color: "error",
|
|
723790
724523
|
onCancel: handleEscape,
|
|
723791
724524
|
children: [
|
|
723792
724525
|
t32,
|
|
723793
|
-
/* @__PURE__ */
|
|
724526
|
+
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(Select, {
|
|
723794
724527
|
options: t4,
|
|
723795
724528
|
onChange: (value_0) => onChange(value_0)
|
|
723796
724529
|
}, undefined, false, undefined, this)
|
|
@@ -723809,7 +724542,7 @@ function _temp2105() {
|
|
|
723809
724542
|
function _temp306() {
|
|
723810
724543
|
logEvent("tengu_bypass_permissions_mode_dialog_shown", {});
|
|
723811
724544
|
}
|
|
723812
|
-
var import_compiler_runtime358, import_react323,
|
|
724545
|
+
var import_compiler_runtime358, import_react323, jsx_dev_runtime473;
|
|
723813
724546
|
var init_BypassPermissionsModeDialog = __esm(() => {
|
|
723814
724547
|
init_analytics();
|
|
723815
724548
|
init_ink2();
|
|
@@ -723819,7 +724552,7 @@ var init_BypassPermissionsModeDialog = __esm(() => {
|
|
|
723819
724552
|
init_Dialog();
|
|
723820
724553
|
import_compiler_runtime358 = __toESM(require_compiler_runtime(), 1);
|
|
723821
724554
|
import_react323 = __toESM(require_react(), 1);
|
|
723822
|
-
|
|
724555
|
+
jsx_dev_runtime473 = __toESM(require_jsx_dev_runtime(), 1);
|
|
723823
724556
|
});
|
|
723824
724557
|
|
|
723825
724558
|
// src/components/DevChannelsDialog.tsx
|
|
@@ -723857,10 +724590,10 @@ function DevChannelsDialog(t0) {
|
|
|
723857
724590
|
let t22;
|
|
723858
724591
|
let t32;
|
|
723859
724592
|
if ($4[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
723860
|
-
t22 = /* @__PURE__ */
|
|
724593
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime474.jsxDEV(ThemedText, {
|
|
723861
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."
|
|
723862
724595
|
}, undefined, false, undefined, this);
|
|
723863
|
-
t32 = /* @__PURE__ */
|
|
724596
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime474.jsxDEV(ThemedText, {
|
|
723864
724597
|
children: "Please use --channels to run a list of approved channels."
|
|
723865
724598
|
}, undefined, false, undefined, this);
|
|
723866
724599
|
$4[2] = t22;
|
|
@@ -723879,13 +724612,13 @@ function DevChannelsDialog(t0) {
|
|
|
723879
724612
|
}
|
|
723880
724613
|
let t5;
|
|
723881
724614
|
if ($4[6] !== t4) {
|
|
723882
|
-
t5 = /* @__PURE__ */
|
|
724615
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime474.jsxDEV(ThemedBox_default, {
|
|
723883
724616
|
flexDirection: "column",
|
|
723884
724617
|
gap: 1,
|
|
723885
724618
|
children: [
|
|
723886
724619
|
t22,
|
|
723887
724620
|
t32,
|
|
723888
|
-
/* @__PURE__ */
|
|
724621
|
+
/* @__PURE__ */ jsx_dev_runtime474.jsxDEV(ThemedText, {
|
|
723889
724622
|
dimColor: true,
|
|
723890
724623
|
children: [
|
|
723891
724624
|
"Channels:",
|
|
@@ -723915,7 +724648,7 @@ function DevChannelsDialog(t0) {
|
|
|
723915
724648
|
}
|
|
723916
724649
|
let t7;
|
|
723917
724650
|
if ($4[9] !== onChange) {
|
|
723918
|
-
t7 = /* @__PURE__ */
|
|
724651
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime474.jsxDEV(Select, {
|
|
723919
724652
|
options: t6,
|
|
723920
724653
|
onChange: (value_0) => onChange(value_0)
|
|
723921
724654
|
}, undefined, false, undefined, this);
|
|
@@ -723926,7 +724659,7 @@ function DevChannelsDialog(t0) {
|
|
|
723926
724659
|
}
|
|
723927
724660
|
let t8;
|
|
723928
724661
|
if ($4[11] !== t5 || $4[12] !== t7) {
|
|
723929
|
-
t8 = /* @__PURE__ */
|
|
724662
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime474.jsxDEV(Dialog, {
|
|
723930
724663
|
title: "WARNING: Loading development channels",
|
|
723931
724664
|
color: "error",
|
|
723932
724665
|
onCancel: handleEscape,
|
|
@@ -723949,14 +724682,14 @@ function _temp2106(c9) {
|
|
|
723949
724682
|
function _temp307() {
|
|
723950
724683
|
gracefulShutdownSync(0);
|
|
723951
724684
|
}
|
|
723952
|
-
var import_compiler_runtime359,
|
|
724685
|
+
var import_compiler_runtime359, jsx_dev_runtime474;
|
|
723953
724686
|
var init_DevChannelsDialog = __esm(() => {
|
|
723954
724687
|
init_ink2();
|
|
723955
724688
|
init_gracefulShutdown();
|
|
723956
724689
|
init_CustomSelect();
|
|
723957
724690
|
init_Dialog();
|
|
723958
724691
|
import_compiler_runtime359 = __toESM(require_compiler_runtime(), 1);
|
|
723959
|
-
|
|
724692
|
+
jsx_dev_runtime474 = __toESM(require_jsx_dev_runtime(), 1);
|
|
723960
724693
|
});
|
|
723961
724694
|
|
|
723962
724695
|
// src/components/ClaudeInChromeOnboarding.tsx
|
|
@@ -724001,13 +724734,13 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724001
724734
|
use_input_default(t32);
|
|
724002
724735
|
let t4;
|
|
724003
724736
|
if ($4[4] !== isExtensionInstalled) {
|
|
724004
|
-
t4 = !isExtensionInstalled && /* @__PURE__ */
|
|
724737
|
+
t4 = !isExtensionInstalled && /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(jsx_dev_runtime475.Fragment, {
|
|
724005
724738
|
children: [
|
|
724006
|
-
/* @__PURE__ */
|
|
724007
|
-
/* @__PURE__ */
|
|
724739
|
+
/* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
724740
|
+
/* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
724008
724741
|
"Requires the Chrome extension. Get started at",
|
|
724009
724742
|
" ",
|
|
724010
|
-
/* @__PURE__ */
|
|
724743
|
+
/* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Link, {
|
|
724011
724744
|
url: CHROME_EXTENSION_URL2
|
|
724012
724745
|
}, undefined, false, undefined, this)
|
|
724013
724746
|
]
|
|
@@ -724019,7 +724752,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724019
724752
|
}
|
|
724020
724753
|
let t5;
|
|
724021
724754
|
if ($4[6] !== t4) {
|
|
724022
|
-
t5 = /* @__PURE__ */
|
|
724755
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedText, {
|
|
724023
724756
|
children: [
|
|
724024
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.",
|
|
724025
724758
|
t4
|
|
@@ -724032,11 +724765,11 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724032
724765
|
}
|
|
724033
724766
|
let t6;
|
|
724034
724767
|
if ($4[8] !== isExtensionInstalled) {
|
|
724035
|
-
t6 = isExtensionInstalled && /* @__PURE__ */
|
|
724768
|
+
t6 = isExtensionInstalled && /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(jsx_dev_runtime475.Fragment, {
|
|
724036
724769
|
children: [
|
|
724037
724770
|
" ",
|
|
724038
724771
|
"(",
|
|
724039
|
-
/* @__PURE__ */
|
|
724772
|
+
/* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Link, {
|
|
724040
724773
|
url: CHROME_PERMISSIONS_URL2
|
|
724041
724774
|
}, undefined, false, undefined, this),
|
|
724042
724775
|
")"
|
|
@@ -724049,7 +724782,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724049
724782
|
}
|
|
724050
724783
|
let t7;
|
|
724051
724784
|
if ($4[10] !== t6) {
|
|
724052
|
-
t7 = /* @__PURE__ */
|
|
724785
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedText, {
|
|
724053
724786
|
dimColor: true,
|
|
724054
724787
|
children: [
|
|
724055
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",
|
|
@@ -724064,7 +724797,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724064
724797
|
}
|
|
724065
724798
|
let t8;
|
|
724066
724799
|
if ($4[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
724067
|
-
t8 = /* @__PURE__ */
|
|
724800
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedText, {
|
|
724068
724801
|
bold: true,
|
|
724069
724802
|
color: "chromeYellow",
|
|
724070
724803
|
children: "/chrome"
|
|
@@ -724075,7 +724808,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724075
724808
|
}
|
|
724076
724809
|
let t9;
|
|
724077
724810
|
if ($4[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
724078
|
-
t9 = /* @__PURE__ */
|
|
724811
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedText, {
|
|
724079
724812
|
dimColor: true,
|
|
724080
724813
|
children: [
|
|
724081
724814
|
"For more info, use",
|
|
@@ -724083,7 +724816,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724083
724816
|
t8,
|
|
724084
724817
|
" ",
|
|
724085
724818
|
"or visit ",
|
|
724086
|
-
/* @__PURE__ */
|
|
724819
|
+
/* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Link, {
|
|
724087
724820
|
url: "https://code.claude.com/docs/en/chrome"
|
|
724088
724821
|
}, undefined, false, undefined, this)
|
|
724089
724822
|
]
|
|
@@ -724094,7 +724827,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724094
724827
|
}
|
|
724095
724828
|
let t10;
|
|
724096
724829
|
if ($4[14] !== t5 || $4[15] !== t7) {
|
|
724097
|
-
t10 = /* @__PURE__ */
|
|
724830
|
+
t10 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedBox_default, {
|
|
724098
724831
|
flexDirection: "column",
|
|
724099
724832
|
gap: 1,
|
|
724100
724833
|
children: [
|
|
@@ -724111,7 +724844,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
724111
724844
|
}
|
|
724112
724845
|
let t11;
|
|
724113
724846
|
if ($4[17] !== onDone || $4[18] !== t10) {
|
|
724114
|
-
t11 = /* @__PURE__ */
|
|
724847
|
+
t11 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(Dialog, {
|
|
724115
724848
|
title: "Claude in Chrome (Beta)",
|
|
724116
724849
|
onCancel: onDone,
|
|
724117
724850
|
color: "chromeYellow",
|
|
@@ -724131,7 +724864,7 @@ function _temp308(current) {
|
|
|
724131
724864
|
hasCompletedClaudeInChromeOnboarding: true
|
|
724132
724865
|
};
|
|
724133
724866
|
}
|
|
724134
|
-
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";
|
|
724135
724868
|
var init_ClaudeInChromeOnboarding = __esm(() => {
|
|
724136
724869
|
init_analytics();
|
|
724137
724870
|
init_ink2();
|
|
@@ -724140,7 +724873,7 @@ var init_ClaudeInChromeOnboarding = __esm(() => {
|
|
|
724140
724873
|
init_Dialog();
|
|
724141
724874
|
import_compiler_runtime360 = __toESM(require_compiler_runtime(), 1);
|
|
724142
724875
|
import_react324 = __toESM(require_react(), 1);
|
|
724143
|
-
|
|
724876
|
+
jsx_dev_runtime475 = __toESM(require_jsx_dev_runtime(), 1);
|
|
724144
724877
|
});
|
|
724145
724878
|
|
|
724146
724879
|
// src/interactiveHelpers.tsx
|
|
@@ -724166,14 +724899,14 @@ async function exitWithError2(root3, message, beforeExit) {
|
|
|
724166
724899
|
}
|
|
724167
724900
|
async function exitWithMessage2(root3, message, options) {
|
|
724168
724901
|
const {
|
|
724169
|
-
Text:
|
|
724902
|
+
Text: Text3
|
|
724170
724903
|
} = await Promise.resolve().then(() => (init_ink2(), exports_ink));
|
|
724171
724904
|
const color3 = options?.color;
|
|
724172
724905
|
const exitCode = options?.exitCode ?? 1;
|
|
724173
|
-
root3.render(color3 ? /* @__PURE__ */
|
|
724906
|
+
root3.render(color3 ? /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(Text3, {
|
|
724174
724907
|
color: color3,
|
|
724175
724908
|
children: message
|
|
724176
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
724909
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(Text3, {
|
|
724177
724910
|
children: message
|
|
724178
724911
|
}, undefined, false, undefined, this));
|
|
724179
724912
|
root3.unmount();
|
|
@@ -724181,9 +724914,9 @@ async function exitWithMessage2(root3, message, options) {
|
|
|
724181
724914
|
process.exit(exitCode);
|
|
724182
724915
|
}
|
|
724183
724916
|
function showSetupDialog(root3, renderer, options) {
|
|
724184
|
-
return showDialog(root3, (done) => /* @__PURE__ */
|
|
724917
|
+
return showDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(AppStateProvider, {
|
|
724185
724918
|
onChangeAppState: options?.onChangeAppState,
|
|
724186
|
-
children: /* @__PURE__ */
|
|
724919
|
+
children: /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(KeybindingSetup, {
|
|
724187
724920
|
children: renderer(done)
|
|
724188
724921
|
}, undefined, false, undefined, this)
|
|
724189
724922
|
}, undefined, false, undefined, this));
|
|
@@ -724205,7 +724938,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724205
724938
|
const {
|
|
724206
724939
|
Onboarding: Onboarding2
|
|
724207
724940
|
} = await Promise.resolve().then(() => (init_Onboarding(), exports_Onboarding));
|
|
724208
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
724941
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(Onboarding2, {
|
|
724209
724942
|
onDone: () => {
|
|
724210
724943
|
completeOnboarding();
|
|
724211
724944
|
done();
|
|
@@ -724219,7 +724952,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724219
724952
|
const {
|
|
724220
724953
|
TrustDialog: TrustDialog2
|
|
724221
724954
|
} = await Promise.resolve().then(() => (init_TrustDialog(), exports_TrustDialog));
|
|
724222
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
724955
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(TrustDialog2, {
|
|
724223
724956
|
commands: commands7,
|
|
724224
724957
|
onDone: done
|
|
724225
724958
|
}, undefined, false, undefined, this));
|
|
@@ -724239,7 +724972,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724239
724972
|
const {
|
|
724240
724973
|
ClaudeMdExternalIncludesDialog: ClaudeMdExternalIncludesDialog2
|
|
724241
724974
|
} = await Promise.resolve().then(() => (init_ClaudeMdExternalIncludesDialog(), exports_ClaudeMdExternalIncludesDialog));
|
|
724242
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
724975
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(ClaudeMdExternalIncludesDialog2, {
|
|
724243
724976
|
onDone: done,
|
|
724244
724977
|
isStandaloneDialog: true,
|
|
724245
724978
|
externalIncludes
|
|
@@ -724256,7 +724989,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724256
724989
|
const {
|
|
724257
724990
|
GroveDialog: GroveDialog2
|
|
724258
724991
|
} = await Promise.resolve().then(() => (init_Grove(), exports_Grove));
|
|
724259
|
-
const decision = await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
724992
|
+
const decision = await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(GroveDialog2, {
|
|
724260
724993
|
showIfAlreadyViewed: false,
|
|
724261
724994
|
location: onboardingShown ? "onboarding" : "policy_update_modal",
|
|
724262
724995
|
onDone: done
|
|
@@ -724274,7 +725007,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724274
725007
|
const {
|
|
724275
725008
|
ApproveApiKey: ApproveApiKey2
|
|
724276
725009
|
} = await Promise.resolve().then(() => (init_ApproveApiKey(), exports_ApproveApiKey));
|
|
724277
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
725010
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(ApproveApiKey2, {
|
|
724278
725011
|
customApiKeyTruncated,
|
|
724279
725012
|
onDone: done
|
|
724280
725013
|
}, undefined, false, undefined, this), {
|
|
@@ -724286,7 +725019,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724286
725019
|
const {
|
|
724287
725020
|
BypassPermissionsModeDialog: BypassPermissionsModeDialog2
|
|
724288
725021
|
} = await Promise.resolve().then(() => (init_BypassPermissionsModeDialog(), exports_BypassPermissionsModeDialog));
|
|
724289
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
725022
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(BypassPermissionsModeDialog2, {
|
|
724290
725023
|
onAccept: done
|
|
724291
725024
|
}, undefined, false, undefined, this));
|
|
724292
725025
|
}
|
|
@@ -724295,7 +725028,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724295
725028
|
const {
|
|
724296
725029
|
AutoModeOptInDialog: AutoModeOptInDialog2
|
|
724297
725030
|
} = await Promise.resolve().then(() => (init_AutoModeOptInDialog(), exports_AutoModeOptInDialog));
|
|
724298
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
725031
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(AutoModeOptInDialog2, {
|
|
724299
725032
|
onAccept: done,
|
|
724300
725033
|
onDecline: () => gracefulShutdownSync(1),
|
|
724301
725034
|
declineExits: true
|
|
@@ -724322,7 +725055,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724322
725055
|
const {
|
|
724323
725056
|
DevChannelsDialog: DevChannelsDialog2
|
|
724324
725057
|
} = await Promise.resolve().then(() => (init_DevChannelsDialog(), exports_DevChannelsDialog));
|
|
724325
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
725058
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(DevChannelsDialog2, {
|
|
724326
725059
|
channels: devChannels,
|
|
724327
725060
|
onAccept: () => {
|
|
724328
725061
|
setAllowedChannels([...getAllowedChannels(), ...devChannels.map((c9) => ({
|
|
@@ -724340,7 +725073,7 @@ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermi
|
|
|
724340
725073
|
const {
|
|
724341
725074
|
ClaudeInChromeOnboarding: ClaudeInChromeOnboarding2
|
|
724342
725075
|
} = await Promise.resolve().then(() => (init_ClaudeInChromeOnboarding(), exports_ClaudeInChromeOnboarding));
|
|
724343
|
-
await showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
725076
|
+
await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime476.jsxDEV(ClaudeInChromeOnboarding2, {
|
|
724344
725077
|
onDone: done
|
|
724345
725078
|
}, undefined, false, undefined, this));
|
|
724346
725079
|
}
|
|
@@ -724395,7 +725128,7 @@ function getRenderContext(exitOnCtrlC) {
|
|
|
724395
725128
|
}
|
|
724396
725129
|
};
|
|
724397
725130
|
}
|
|
724398
|
-
var
|
|
725131
|
+
var jsx_dev_runtime476;
|
|
724399
725132
|
var init_interactiveHelpers = __esm(() => {
|
|
724400
725133
|
init_featureFlags();
|
|
724401
725134
|
init_analytics();
|
|
@@ -724422,7 +725155,7 @@ var init_interactiveHelpers = __esm(() => {
|
|
|
724422
725155
|
init_renderOptions();
|
|
724423
725156
|
init_allErrors();
|
|
724424
725157
|
init_settings2();
|
|
724425
|
-
|
|
725158
|
+
jsx_dev_runtime476 = __toESM(require_jsx_dev_runtime(), 1);
|
|
724426
725159
|
});
|
|
724427
725160
|
|
|
724428
725161
|
// src/components/agents/SnapshotUpdateDialog.ts
|
|
@@ -724464,7 +725197,7 @@ function InvalidSettingsDialog(t0) {
|
|
|
724464
725197
|
const handleSelect = t1;
|
|
724465
725198
|
let t22;
|
|
724466
725199
|
if ($4[3] !== settingsErrors) {
|
|
724467
|
-
t22 = /* @__PURE__ */
|
|
725200
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime477.jsxDEV(ValidationErrorsList, {
|
|
724468
725201
|
errors: settingsErrors
|
|
724469
725202
|
}, undefined, false, undefined, this);
|
|
724470
725203
|
$4[3] = settingsErrors;
|
|
@@ -724474,7 +725207,7 @@ function InvalidSettingsDialog(t0) {
|
|
|
724474
725207
|
}
|
|
724475
725208
|
let t32;
|
|
724476
725209
|
if ($4[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
724477
|
-
t32 = /* @__PURE__ */
|
|
725210
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime477.jsxDEV(ThemedText, {
|
|
724478
725211
|
dimColor: true,
|
|
724479
725212
|
children: "Files with errors are skipped entirely, not just the invalid settings."
|
|
724480
725213
|
}, undefined, false, undefined, this);
|
|
@@ -724497,7 +725230,7 @@ function InvalidSettingsDialog(t0) {
|
|
|
724497
725230
|
}
|
|
724498
725231
|
let t5;
|
|
724499
725232
|
if ($4[7] !== handleSelect) {
|
|
724500
|
-
t5 = /* @__PURE__ */
|
|
725233
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime477.jsxDEV(Select, {
|
|
724501
725234
|
options: t4,
|
|
724502
725235
|
onChange: handleSelect
|
|
724503
725236
|
}, undefined, false, undefined, this);
|
|
@@ -724508,7 +725241,7 @@ function InvalidSettingsDialog(t0) {
|
|
|
724508
725241
|
}
|
|
724509
725242
|
let t6;
|
|
724510
725243
|
if ($4[9] !== onExit2 || $4[10] !== t22 || $4[11] !== t5) {
|
|
724511
|
-
t6 = /* @__PURE__ */
|
|
725244
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime477.jsxDEV(Dialog, {
|
|
724512
725245
|
title: "Settings Error",
|
|
724513
725246
|
onCancel: onExit2,
|
|
724514
725247
|
color: "warning",
|
|
@@ -724527,14 +725260,14 @@ function InvalidSettingsDialog(t0) {
|
|
|
724527
725260
|
}
|
|
724528
725261
|
return t6;
|
|
724529
725262
|
}
|
|
724530
|
-
var import_compiler_runtime361,
|
|
725263
|
+
var import_compiler_runtime361, jsx_dev_runtime477;
|
|
724531
725264
|
var init_InvalidSettingsDialog = __esm(() => {
|
|
724532
725265
|
init_ink2();
|
|
724533
725266
|
init_CustomSelect();
|
|
724534
725267
|
init_Dialog();
|
|
724535
725268
|
init_ValidationErrorsList();
|
|
724536
725269
|
import_compiler_runtime361 = __toESM(require_compiler_runtime(), 1);
|
|
724537
|
-
|
|
725270
|
+
jsx_dev_runtime477 = __toESM(require_jsx_dev_runtime(), 1);
|
|
724538
725271
|
});
|
|
724539
725272
|
|
|
724540
725273
|
// src/assistant/AssistantSessionChooser.ts
|
|
@@ -724710,26 +725443,26 @@ function ResumeTask({
|
|
|
724710
725443
|
loadSessions();
|
|
724711
725444
|
}, [setHasCompletedTeleportErrorFlow, loadSessions]);
|
|
724712
725445
|
if (!hasCompletedTeleportErrorFlow) {
|
|
724713
|
-
return /* @__PURE__ */
|
|
725446
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(TeleportError, {
|
|
724714
725447
|
onComplete: handleErrorComplete
|
|
724715
725448
|
}, undefined, false, undefined, this);
|
|
724716
725449
|
}
|
|
724717
725450
|
if (loading) {
|
|
724718
|
-
return /* @__PURE__ */
|
|
725451
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724719
725452
|
flexDirection: "column",
|
|
724720
725453
|
padding: 1,
|
|
724721
725454
|
children: [
|
|
724722
|
-
/* @__PURE__ */
|
|
725455
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724723
725456
|
flexDirection: "row",
|
|
724724
725457
|
children: [
|
|
724725
|
-
/* @__PURE__ */
|
|
724726
|
-
/* @__PURE__ */
|
|
725458
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
725459
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724727
725460
|
bold: true,
|
|
724728
725461
|
children: "Loading Claude Code sessions\u2026"
|
|
724729
725462
|
}, undefined, false, undefined, this)
|
|
724730
725463
|
]
|
|
724731
725464
|
}, undefined, true, undefined, this),
|
|
724732
|
-
/* @__PURE__ */
|
|
725465
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724733
725466
|
dimColor: true,
|
|
724734
725467
|
children: retrying ? "Retrying\u2026" : "Fetching your Claude Code sessions\u2026"
|
|
724735
725468
|
}, undefined, false, undefined, this)
|
|
@@ -724737,27 +725470,27 @@ function ResumeTask({
|
|
|
724737
725470
|
}, undefined, true, undefined, this);
|
|
724738
725471
|
}
|
|
724739
725472
|
if (loadErrorType) {
|
|
724740
|
-
return /* @__PURE__ */
|
|
725473
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724741
725474
|
flexDirection: "column",
|
|
724742
725475
|
padding: 1,
|
|
724743
725476
|
children: [
|
|
724744
|
-
/* @__PURE__ */
|
|
725477
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724745
725478
|
bold: true,
|
|
724746
725479
|
color: "error",
|
|
724747
725480
|
children: "Error loading Claude Code sessions"
|
|
724748
725481
|
}, undefined, false, undefined, this),
|
|
724749
725482
|
renderErrorSpecificGuidance(loadErrorType),
|
|
724750
|
-
/* @__PURE__ */
|
|
725483
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724751
725484
|
dimColor: true,
|
|
724752
725485
|
children: [
|
|
724753
725486
|
"Press ",
|
|
724754
|
-
/* @__PURE__ */
|
|
725487
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724755
725488
|
bold: true,
|
|
724756
725489
|
children: "Ctrl+R"
|
|
724757
725490
|
}, undefined, false, undefined, this),
|
|
724758
725491
|
" to retry \xB7 Press",
|
|
724759
725492
|
" ",
|
|
724760
|
-
/* @__PURE__ */
|
|
725493
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724761
725494
|
bold: true,
|
|
724762
725495
|
children: escKey
|
|
724763
725496
|
}, undefined, false, undefined, this),
|
|
@@ -724768,15 +725501,15 @@ function ResumeTask({
|
|
|
724768
725501
|
}, undefined, true, undefined, this);
|
|
724769
725502
|
}
|
|
724770
725503
|
if (sessions.length === 0) {
|
|
724771
|
-
return /* @__PURE__ */
|
|
725504
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724772
725505
|
flexDirection: "column",
|
|
724773
725506
|
padding: 1,
|
|
724774
725507
|
children: [
|
|
724775
|
-
/* @__PURE__ */
|
|
725508
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724776
725509
|
bold: true,
|
|
724777
725510
|
children: [
|
|
724778
725511
|
"No Claude Code sessions found",
|
|
724779
|
-
currentRepo && /* @__PURE__ */
|
|
725512
|
+
currentRepo && /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724780
725513
|
children: [
|
|
724781
725514
|
" for ",
|
|
724782
725515
|
currentRepo
|
|
@@ -724784,13 +725517,13 @@ function ResumeTask({
|
|
|
724784
725517
|
}, undefined, true, undefined, this)
|
|
724785
725518
|
]
|
|
724786
725519
|
}, undefined, true, undefined, this),
|
|
724787
|
-
/* @__PURE__ */
|
|
725520
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724788
725521
|
marginTop: 1,
|
|
724789
|
-
children: /* @__PURE__ */
|
|
725522
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724790
725523
|
dimColor: true,
|
|
724791
725524
|
children: [
|
|
724792
725525
|
"Press ",
|
|
724793
|
-
/* @__PURE__ */
|
|
725526
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724794
725527
|
bold: true,
|
|
724795
725528
|
children: escKey
|
|
724796
725529
|
}, undefined, false, undefined, this),
|
|
@@ -724821,16 +725554,16 @@ function ResumeTask({
|
|
|
724821
725554
|
const maxVisibleOptions = Math.max(1, isEmbedded ? Math.min(sessions.length, 5, rows - 6 - layoutOverhead) : Math.min(sessions.length, rows - 1 - layoutOverhead));
|
|
724822
725555
|
const maxHeight = maxVisibleOptions + layoutOverhead;
|
|
724823
725556
|
const showScrollPosition = sessions.length > maxVisibleOptions;
|
|
724824
|
-
return /* @__PURE__ */
|
|
725557
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724825
725558
|
flexDirection: "column",
|
|
724826
725559
|
padding: 1,
|
|
724827
725560
|
height: maxHeight,
|
|
724828
725561
|
children: [
|
|
724829
|
-
/* @__PURE__ */
|
|
725562
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724830
725563
|
bold: true,
|
|
724831
725564
|
children: [
|
|
724832
725565
|
"Select a session to resume",
|
|
724833
|
-
showScrollPosition && /* @__PURE__ */
|
|
725566
|
+
showScrollPosition && /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724834
725567
|
dimColor: true,
|
|
724835
725568
|
children: [
|
|
724836
725569
|
" ",
|
|
@@ -724841,7 +725574,7 @@ function ResumeTask({
|
|
|
724841
725574
|
")"
|
|
724842
725575
|
]
|
|
724843
725576
|
}, undefined, true, undefined, this),
|
|
724844
|
-
currentRepo && /* @__PURE__ */
|
|
725577
|
+
currentRepo && /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724845
725578
|
dimColor: true,
|
|
724846
725579
|
children: [
|
|
724847
725580
|
" (",
|
|
@@ -724852,14 +725585,14 @@ function ResumeTask({
|
|
|
724852
725585
|
":"
|
|
724853
725586
|
]
|
|
724854
725587
|
}, undefined, true, undefined, this),
|
|
724855
|
-
/* @__PURE__ */
|
|
725588
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724856
725589
|
flexDirection: "column",
|
|
724857
725590
|
marginTop: 1,
|
|
724858
725591
|
flexGrow: 1,
|
|
724859
725592
|
children: [
|
|
724860
|
-
/* @__PURE__ */
|
|
725593
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724861
725594
|
marginLeft: 2,
|
|
724862
|
-
children: /* @__PURE__ */
|
|
725595
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724863
725596
|
bold: true,
|
|
724864
725597
|
children: [
|
|
724865
725598
|
UPDATED_STRING.padEnd(maxTimeStringLength, " "),
|
|
@@ -724868,7 +725601,7 @@ function ResumeTask({
|
|
|
724868
725601
|
]
|
|
724869
725602
|
}, undefined, true, undefined, this)
|
|
724870
725603
|
}, undefined, false, undefined, this),
|
|
724871
|
-
/* @__PURE__ */
|
|
725604
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(Select, {
|
|
724872
725605
|
visibleOptionCount: maxVisibleOptions,
|
|
724873
725606
|
options,
|
|
724874
725607
|
onChange: (value) => {
|
|
@@ -724886,21 +725619,21 @@ function ResumeTask({
|
|
|
724886
725619
|
}, undefined, false, undefined, this)
|
|
724887
725620
|
]
|
|
724888
725621
|
}, undefined, true, undefined, this),
|
|
724889
|
-
/* @__PURE__ */
|
|
725622
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724890
725623
|
flexDirection: "row",
|
|
724891
|
-
children: /* @__PURE__ */
|
|
725624
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724892
725625
|
dimColor: true,
|
|
724893
|
-
children: /* @__PURE__ */
|
|
725626
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(Byline, {
|
|
724894
725627
|
children: [
|
|
724895
|
-
/* @__PURE__ */
|
|
725628
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(KeyboardShortcutHint, {
|
|
724896
725629
|
shortcut: "\u2191/\u2193",
|
|
724897
725630
|
action: "select"
|
|
724898
725631
|
}, undefined, false, undefined, this),
|
|
724899
|
-
/* @__PURE__ */
|
|
725632
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(KeyboardShortcutHint, {
|
|
724900
725633
|
shortcut: "Enter",
|
|
724901
725634
|
action: "confirm"
|
|
724902
725635
|
}, undefined, false, undefined, this),
|
|
724903
|
-
/* @__PURE__ */
|
|
725636
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ConfigurableShortcutHint, {
|
|
724904
725637
|
action: "confirm:no",
|
|
724905
725638
|
context: "Confirmation",
|
|
724906
725639
|
fallback: "Esc",
|
|
@@ -724929,28 +725662,28 @@ function determineErrorType(errorMessage3) {
|
|
|
724929
725662
|
function renderErrorSpecificGuidance(errorType) {
|
|
724930
725663
|
switch (errorType) {
|
|
724931
725664
|
case "network":
|
|
724932
|
-
return /* @__PURE__ */
|
|
725665
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724933
725666
|
marginY: 1,
|
|
724934
725667
|
flexDirection: "column",
|
|
724935
|
-
children: /* @__PURE__ */
|
|
725668
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724936
725669
|
dimColor: true,
|
|
724937
725670
|
children: "Check your internet connection"
|
|
724938
725671
|
}, undefined, false, undefined, this)
|
|
724939
725672
|
}, undefined, false, undefined, this);
|
|
724940
725673
|
case "auth":
|
|
724941
|
-
return /* @__PURE__ */
|
|
725674
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724942
725675
|
marginY: 1,
|
|
724943
725676
|
flexDirection: "column",
|
|
724944
725677
|
children: [
|
|
724945
|
-
/* @__PURE__ */
|
|
725678
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724946
725679
|
dimColor: true,
|
|
724947
725680
|
children: "Teleport requires a Claude account"
|
|
724948
725681
|
}, undefined, false, undefined, this),
|
|
724949
|
-
/* @__PURE__ */
|
|
725682
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724950
725683
|
dimColor: true,
|
|
724951
725684
|
children: [
|
|
724952
725685
|
"Run ",
|
|
724953
|
-
/* @__PURE__ */
|
|
725686
|
+
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724954
725687
|
bold: true,
|
|
724955
725688
|
children: "/login"
|
|
724956
725689
|
}, undefined, false, undefined, this),
|
|
@@ -724960,26 +725693,26 @@ function renderErrorSpecificGuidance(errorType) {
|
|
|
724960
725693
|
]
|
|
724961
725694
|
}, undefined, true, undefined, this);
|
|
724962
725695
|
case "api":
|
|
724963
|
-
return /* @__PURE__ */
|
|
725696
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724964
725697
|
marginY: 1,
|
|
724965
725698
|
flexDirection: "column",
|
|
724966
|
-
children: /* @__PURE__ */
|
|
725699
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724967
725700
|
dimColor: true,
|
|
724968
725701
|
children: "Sorry, Claude encountered an error"
|
|
724969
725702
|
}, undefined, false, undefined, this)
|
|
724970
725703
|
}, undefined, false, undefined, this);
|
|
724971
725704
|
case "other":
|
|
724972
|
-
return /* @__PURE__ */
|
|
725705
|
+
return /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedBox_default, {
|
|
724973
725706
|
marginY: 1,
|
|
724974
725707
|
flexDirection: "row",
|
|
724975
|
-
children: /* @__PURE__ */
|
|
725708
|
+
children: /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
724976
725709
|
dimColor: true,
|
|
724977
725710
|
children: "Sorry, Claude Code encountered an error"
|
|
724978
725711
|
}, undefined, false, undefined, this)
|
|
724979
725712
|
}, undefined, false, undefined, this);
|
|
724980
725713
|
}
|
|
724981
725714
|
}
|
|
724982
|
-
var import_react326,
|
|
725715
|
+
var import_react326, jsx_dev_runtime478, UPDATED_STRING = "Updated", SPACE_BETWEEN_TABLE_COLUMNS = " ";
|
|
724983
725716
|
var init_ResumeTask = __esm(() => {
|
|
724984
725717
|
init_useTerminalSize();
|
|
724985
725718
|
init_api2();
|
|
@@ -724996,7 +725729,7 @@ var init_ResumeTask = __esm(() => {
|
|
|
724996
725729
|
init_Spinner2();
|
|
724997
725730
|
init_TeleportError();
|
|
724998
725731
|
import_react326 = __toESM(require_react(), 1);
|
|
724999
|
-
|
|
725732
|
+
jsx_dev_runtime478 = __toESM(require_jsx_dev_runtime(), 1);
|
|
725000
725733
|
});
|
|
725001
725734
|
|
|
725002
725735
|
// src/components/TeleportResumeWrapper.tsx
|
|
@@ -725088,11 +725821,11 @@ function TeleportResumeWrapper(t0) {
|
|
|
725088
725821
|
if (isResuming && selectedSession) {
|
|
725089
725822
|
let t82;
|
|
725090
725823
|
if ($4[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725091
|
-
t82 = /* @__PURE__ */
|
|
725824
|
+
t82 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedBox_default, {
|
|
725092
725825
|
flexDirection: "row",
|
|
725093
725826
|
children: [
|
|
725094
|
-
/* @__PURE__ */
|
|
725095
|
-
/* @__PURE__ */
|
|
725827
|
+
/* @__PURE__ */ jsx_dev_runtime479.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
725828
|
+
/* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725096
725829
|
bold: true,
|
|
725097
725830
|
children: "Resuming session\u2026"
|
|
725098
725831
|
}, undefined, false, undefined, this)
|
|
@@ -725104,12 +725837,12 @@ function TeleportResumeWrapper(t0) {
|
|
|
725104
725837
|
}
|
|
725105
725838
|
let t9;
|
|
725106
725839
|
if ($4[13] !== selectedSession.title) {
|
|
725107
|
-
t9 = /* @__PURE__ */
|
|
725840
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedBox_default, {
|
|
725108
725841
|
flexDirection: "column",
|
|
725109
725842
|
padding: 1,
|
|
725110
725843
|
children: [
|
|
725111
725844
|
t82,
|
|
725112
|
-
/* @__PURE__ */
|
|
725845
|
+
/* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725113
725846
|
dimColor: true,
|
|
725114
725847
|
children: [
|
|
725115
725848
|
'Loading "',
|
|
@@ -725129,7 +725862,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
725129
725862
|
if (error52 && !onError) {
|
|
725130
725863
|
let t82;
|
|
725131
725864
|
if ($4[15] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725132
|
-
t82 = /* @__PURE__ */
|
|
725865
|
+
t82 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725133
725866
|
bold: true,
|
|
725134
725867
|
color: "error",
|
|
725135
725868
|
children: "Failed to resume session"
|
|
@@ -725140,7 +725873,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
725140
725873
|
}
|
|
725141
725874
|
let t9;
|
|
725142
725875
|
if ($4[16] !== error52.message) {
|
|
725143
|
-
t9 = /* @__PURE__ */
|
|
725876
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725144
725877
|
dimColor: true,
|
|
725145
725878
|
children: error52.message
|
|
725146
725879
|
}, undefined, false, undefined, this);
|
|
@@ -725151,13 +725884,13 @@ function TeleportResumeWrapper(t0) {
|
|
|
725151
725884
|
}
|
|
725152
725885
|
let t10;
|
|
725153
725886
|
if ($4[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725154
|
-
t10 = /* @__PURE__ */
|
|
725887
|
+
t10 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedBox_default, {
|
|
725155
725888
|
marginTop: 1,
|
|
725156
|
-
children: /* @__PURE__ */
|
|
725889
|
+
children: /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725157
725890
|
dimColor: true,
|
|
725158
725891
|
children: [
|
|
725159
725892
|
"Press ",
|
|
725160
|
-
/* @__PURE__ */
|
|
725893
|
+
/* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
|
|
725161
725894
|
bold: true,
|
|
725162
725895
|
children: "Esc"
|
|
725163
725896
|
}, undefined, false, undefined, this),
|
|
@@ -725171,7 +725904,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
725171
725904
|
}
|
|
725172
725905
|
let t11;
|
|
725173
725906
|
if ($4[19] !== t9) {
|
|
725174
|
-
t11 = /* @__PURE__ */
|
|
725907
|
+
t11 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedBox_default, {
|
|
725175
725908
|
flexDirection: "column",
|
|
725176
725909
|
padding: 1,
|
|
725177
725910
|
children: [
|
|
@@ -725189,7 +725922,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
725189
725922
|
}
|
|
725190
725923
|
let t8;
|
|
725191
725924
|
if ($4[21] !== handleCancel || $4[22] !== handleSelect || $4[23] !== isEmbedded) {
|
|
725192
|
-
t8 = /* @__PURE__ */
|
|
725925
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ResumeTask, {
|
|
725193
725926
|
onSelect: handleSelect,
|
|
725194
725927
|
onCancel: handleCancel,
|
|
725195
725928
|
isEmbedded
|
|
@@ -725203,7 +725936,7 @@ function TeleportResumeWrapper(t0) {
|
|
|
725203
725936
|
}
|
|
725204
725937
|
return t8;
|
|
725205
725938
|
}
|
|
725206
|
-
var import_compiler_runtime363, import_react327,
|
|
725939
|
+
var import_compiler_runtime363, import_react327, jsx_dev_runtime479;
|
|
725207
725940
|
var init_TeleportResumeWrapper = __esm(() => {
|
|
725208
725941
|
init_analytics();
|
|
725209
725942
|
init_useTeleportResume();
|
|
@@ -725213,7 +725946,7 @@ var init_TeleportResumeWrapper = __esm(() => {
|
|
|
725213
725946
|
init_Spinner2();
|
|
725214
725947
|
import_compiler_runtime363 = __toESM(require_compiler_runtime(), 1);
|
|
725215
725948
|
import_react327 = __toESM(require_react(), 1);
|
|
725216
|
-
|
|
725949
|
+
jsx_dev_runtime479 = __toESM(require_jsx_dev_runtime(), 1);
|
|
725217
725950
|
});
|
|
725218
725951
|
|
|
725219
725952
|
// src/components/TeleportRepoMismatchDialog.tsx
|
|
@@ -725282,20 +726015,20 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
725282
726015
|
const options = t22;
|
|
725283
726016
|
let t32;
|
|
725284
726017
|
if ($4[8] !== availablePaths.length || $4[9] !== errorMessage3 || $4[10] !== handleChange5 || $4[11] !== options || $4[12] !== targetRepo || $4[13] !== validating) {
|
|
725285
|
-
t32 = availablePaths.length > 0 ? /* @__PURE__ */
|
|
726018
|
+
t32 = availablePaths.length > 0 ? /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(jsx_dev_runtime480.Fragment, {
|
|
725286
726019
|
children: [
|
|
725287
|
-
/* @__PURE__ */
|
|
726020
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedBox_default, {
|
|
725288
726021
|
flexDirection: "column",
|
|
725289
726022
|
gap: 1,
|
|
725290
726023
|
children: [
|
|
725291
|
-
errorMessage3 && /* @__PURE__ */
|
|
726024
|
+
errorMessage3 && /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725292
726025
|
color: "error",
|
|
725293
726026
|
children: errorMessage3
|
|
725294
726027
|
}, undefined, false, undefined, this),
|
|
725295
|
-
/* @__PURE__ */
|
|
726028
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725296
726029
|
children: [
|
|
725297
726030
|
"Open Claude Code in ",
|
|
725298
|
-
/* @__PURE__ */
|
|
726031
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725299
726032
|
bold: true,
|
|
725300
726033
|
children: targetRepo
|
|
725301
726034
|
}, undefined, false, undefined, this),
|
|
@@ -725304,27 +726037,27 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
725304
726037
|
}, undefined, true, undefined, this)
|
|
725305
726038
|
]
|
|
725306
726039
|
}, undefined, true, undefined, this),
|
|
725307
|
-
validating ? /* @__PURE__ */
|
|
726040
|
+
validating ? /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedBox_default, {
|
|
725308
726041
|
children: [
|
|
725309
|
-
/* @__PURE__ */
|
|
725310
|
-
/* @__PURE__ */
|
|
726042
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
726043
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725311
726044
|
children: " Validating repository\u2026"
|
|
725312
726045
|
}, undefined, false, undefined, this)
|
|
725313
726046
|
]
|
|
725314
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
726047
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Select, {
|
|
725315
726048
|
options,
|
|
725316
726049
|
onChange: (value_0) => void handleChange5(value_0)
|
|
725317
726050
|
}, undefined, false, undefined, this)
|
|
725318
726051
|
]
|
|
725319
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
726052
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedBox_default, {
|
|
725320
726053
|
flexDirection: "column",
|
|
725321
726054
|
gap: 1,
|
|
725322
726055
|
children: [
|
|
725323
|
-
errorMessage3 && /* @__PURE__ */
|
|
726056
|
+
errorMessage3 && /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725324
726057
|
color: "error",
|
|
725325
726058
|
children: errorMessage3
|
|
725326
726059
|
}, undefined, false, undefined, this),
|
|
725327
|
-
/* @__PURE__ */
|
|
726060
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725328
726061
|
dimColor: true,
|
|
725329
726062
|
children: [
|
|
725330
726063
|
"Run claude --teleport from a checkout of ",
|
|
@@ -725345,7 +726078,7 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
725345
726078
|
}
|
|
725346
726079
|
let t4;
|
|
725347
726080
|
if ($4[15] !== onCancel || $4[16] !== t32) {
|
|
725348
|
-
t4 = /* @__PURE__ */
|
|
726081
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Dialog, {
|
|
725349
726082
|
title: "Teleport to Repo",
|
|
725350
726083
|
onCancel,
|
|
725351
726084
|
color: "background",
|
|
@@ -725361,10 +726094,10 @@ function TeleportRepoMismatchDialog(t0) {
|
|
|
725361
726094
|
}
|
|
725362
726095
|
function _temp309(path32) {
|
|
725363
726096
|
return {
|
|
725364
|
-
label: /* @__PURE__ */
|
|
726097
|
+
label: /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725365
726098
|
children: [
|
|
725366
726099
|
"Use ",
|
|
725367
|
-
/* @__PURE__ */
|
|
726100
|
+
/* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ThemedText, {
|
|
725368
726101
|
bold: true,
|
|
725369
726102
|
children: getDisplayPath(path32)
|
|
725370
726103
|
}, undefined, false, undefined, this)
|
|
@@ -725373,7 +726106,7 @@ function _temp309(path32) {
|
|
|
725373
726106
|
value: path32
|
|
725374
726107
|
};
|
|
725375
726108
|
}
|
|
725376
|
-
var import_compiler_runtime364, import_react328,
|
|
726109
|
+
var import_compiler_runtime364, import_react328, jsx_dev_runtime480;
|
|
725377
726110
|
var init_TeleportRepoMismatchDialog = __esm(() => {
|
|
725378
726111
|
init_ink2();
|
|
725379
726112
|
init_file();
|
|
@@ -725383,7 +726116,7 @@ var init_TeleportRepoMismatchDialog = __esm(() => {
|
|
|
725383
726116
|
init_Spinner2();
|
|
725384
726117
|
import_compiler_runtime364 = __toESM(require_compiler_runtime(), 1);
|
|
725385
726118
|
import_react328 = __toESM(require_react(), 1);
|
|
725386
|
-
|
|
726119
|
+
jsx_dev_runtime480 = __toESM(require_jsx_dev_runtime(), 1);
|
|
725387
726120
|
});
|
|
725388
726121
|
|
|
725389
726122
|
// src/screens/ResumeConversation.tsx
|
|
@@ -725611,12 +726344,12 @@ function ResumeConversation({
|
|
|
725611
726344
|
}
|
|
725612
726345
|
}
|
|
725613
726346
|
if (crossProjectCommand) {
|
|
725614
|
-
return /* @__PURE__ */
|
|
726347
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(CrossProjectMessage, {
|
|
725615
726348
|
command: crossProjectCommand
|
|
725616
726349
|
}, undefined, false, undefined, this);
|
|
725617
726350
|
}
|
|
725618
726351
|
if (resumeData) {
|
|
725619
|
-
return /* @__PURE__ */
|
|
726352
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(REPL, {
|
|
725620
726353
|
debug: debug5,
|
|
725621
726354
|
commands: commands7,
|
|
725622
726355
|
initialTools,
|
|
@@ -725639,29 +726372,29 @@ function ResumeConversation({
|
|
|
725639
726372
|
}, undefined, false, undefined, this);
|
|
725640
726373
|
}
|
|
725641
726374
|
if (loading) {
|
|
725642
|
-
return /* @__PURE__ */
|
|
726375
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedBox_default, {
|
|
725643
726376
|
children: [
|
|
725644
|
-
/* @__PURE__ */
|
|
725645
|
-
/* @__PURE__ */
|
|
726377
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
726378
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725646
726379
|
children: " Loading conversations\u2026"
|
|
725647
726380
|
}, undefined, false, undefined, this)
|
|
725648
726381
|
]
|
|
725649
726382
|
}, undefined, true, undefined, this);
|
|
725650
726383
|
}
|
|
725651
726384
|
if (resuming) {
|
|
725652
|
-
return /* @__PURE__ */
|
|
726385
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedBox_default, {
|
|
725653
726386
|
children: [
|
|
725654
|
-
/* @__PURE__ */
|
|
725655
|
-
/* @__PURE__ */
|
|
726387
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
726388
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725656
726389
|
children: " Resuming conversation\u2026"
|
|
725657
726390
|
}, undefined, false, undefined, this)
|
|
725658
726391
|
]
|
|
725659
726392
|
}, undefined, true, undefined, this);
|
|
725660
726393
|
}
|
|
725661
726394
|
if (filteredLogs.length === 0) {
|
|
725662
|
-
return /* @__PURE__ */
|
|
726395
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(NoConversationsMessage, {}, undefined, false, undefined, this);
|
|
725663
726396
|
}
|
|
725664
|
-
return /* @__PURE__ */
|
|
726397
|
+
return /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(LogSelector, {
|
|
725665
726398
|
logs: filteredLogs,
|
|
725666
726399
|
maxHeight: rows,
|
|
725667
726400
|
onCancel,
|
|
@@ -725688,13 +726421,13 @@ function NoConversationsMessage() {
|
|
|
725688
726421
|
useKeybinding("app:interrupt", _temp357, t0);
|
|
725689
726422
|
let t1;
|
|
725690
726423
|
if ($4[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725691
|
-
t1 = /* @__PURE__ */
|
|
726424
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedBox_default, {
|
|
725692
726425
|
flexDirection: "column",
|
|
725693
726426
|
children: [
|
|
725694
|
-
/* @__PURE__ */
|
|
726427
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725695
726428
|
children: "No conversations found to resume."
|
|
725696
726429
|
}, undefined, false, undefined, this),
|
|
725697
|
-
/* @__PURE__ */
|
|
726430
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725698
726431
|
dimColor: true,
|
|
725699
726432
|
children: "Press Ctrl+C to exit and start a new conversation."
|
|
725700
726433
|
}, undefined, false, undefined, this)
|
|
@@ -725724,7 +726457,7 @@ function CrossProjectMessage(t0) {
|
|
|
725724
726457
|
import_react329.default.useEffect(_temp358, t1);
|
|
725725
726458
|
let t22;
|
|
725726
726459
|
if ($4[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725727
|
-
t22 = /* @__PURE__ */
|
|
726460
|
+
t22 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725728
726461
|
children: "This conversation is from a different directory."
|
|
725729
726462
|
}, undefined, false, undefined, this);
|
|
725730
726463
|
$4[1] = t22;
|
|
@@ -725733,7 +726466,7 @@ function CrossProjectMessage(t0) {
|
|
|
725733
726466
|
}
|
|
725734
726467
|
let t32;
|
|
725735
726468
|
if ($4[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725736
|
-
t32 = /* @__PURE__ */
|
|
726469
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725737
726470
|
children: "To resume, run:"
|
|
725738
726471
|
}, undefined, false, undefined, this);
|
|
725739
726472
|
$4[2] = t32;
|
|
@@ -725742,11 +726475,11 @@ function CrossProjectMessage(t0) {
|
|
|
725742
726475
|
}
|
|
725743
726476
|
let t4;
|
|
725744
726477
|
if ($4[3] !== command10) {
|
|
725745
|
-
t4 = /* @__PURE__ */
|
|
726478
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedBox_default, {
|
|
725746
726479
|
flexDirection: "column",
|
|
725747
726480
|
children: [
|
|
725748
726481
|
t32,
|
|
725749
|
-
/* @__PURE__ */
|
|
726482
|
+
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725750
726483
|
children: [
|
|
725751
726484
|
" ",
|
|
725752
726485
|
command10
|
|
@@ -725761,7 +726494,7 @@ function CrossProjectMessage(t0) {
|
|
|
725761
726494
|
}
|
|
725762
726495
|
let t5;
|
|
725763
726496
|
if ($4[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
725764
|
-
t5 = /* @__PURE__ */
|
|
726497
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
725765
726498
|
dimColor: true,
|
|
725766
726499
|
children: "(Command copied to clipboard)"
|
|
725767
726500
|
}, undefined, false, undefined, this);
|
|
@@ -725771,7 +726504,7 @@ function CrossProjectMessage(t0) {
|
|
|
725771
726504
|
}
|
|
725772
726505
|
let t6;
|
|
725773
726506
|
if ($4[6] !== t4) {
|
|
725774
|
-
t6 = /* @__PURE__ */
|
|
726507
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedBox_default, {
|
|
725775
726508
|
flexDirection: "column",
|
|
725776
726509
|
gap: 1,
|
|
725777
726510
|
children: [
|
|
@@ -725794,7 +726527,7 @@ function _temp358() {
|
|
|
725794
726527
|
function _temp2107() {
|
|
725795
726528
|
process.exit(0);
|
|
725796
726529
|
}
|
|
725797
|
-
var import_compiler_runtime365, import_react329,
|
|
726530
|
+
var import_compiler_runtime365, import_react329, jsx_dev_runtime481;
|
|
725798
726531
|
var init_ResumeConversation = __esm(() => {
|
|
725799
726532
|
init_featureFlags();
|
|
725800
726533
|
init_useTerminalSize();
|
|
@@ -725820,7 +726553,7 @@ var init_ResumeConversation = __esm(() => {
|
|
|
725820
726553
|
init_REPL();
|
|
725821
726554
|
import_compiler_runtime365 = __toESM(require_compiler_runtime(), 1);
|
|
725822
726555
|
import_react329 = __toESM(require_react(), 1);
|
|
725823
|
-
|
|
726556
|
+
jsx_dev_runtime481 = __toESM(require_jsx_dev_runtime(), 1);
|
|
725824
726557
|
});
|
|
725825
726558
|
|
|
725826
726559
|
// src/dialogLaunchers.tsx
|
|
@@ -725828,7 +726561,7 @@ async function launchSnapshotUpdateDialog(root3, props) {
|
|
|
725828
726561
|
const {
|
|
725829
726562
|
SnapshotUpdateDialog: SnapshotUpdateDialog2
|
|
725830
726563
|
} = await Promise.resolve().then(() => (init_SnapshotUpdateDialog(), exports_SnapshotUpdateDialog));
|
|
725831
|
-
return showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726564
|
+
return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(SnapshotUpdateDialog2, {
|
|
725832
726565
|
agentType: props.agentType,
|
|
725833
726566
|
scope: props.scope,
|
|
725834
726567
|
snapshotTimestamp: props.snapshotTimestamp,
|
|
@@ -725840,7 +726573,7 @@ async function launchInvalidSettingsDialog(root3, props) {
|
|
|
725840
726573
|
const {
|
|
725841
726574
|
InvalidSettingsDialog: InvalidSettingsDialog2
|
|
725842
726575
|
} = await Promise.resolve().then(() => (init_InvalidSettingsDialog(), exports_InvalidSettingsDialog));
|
|
725843
|
-
return showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726576
|
+
return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(InvalidSettingsDialog2, {
|
|
725844
726577
|
settingsErrors: props.settingsErrors,
|
|
725845
726578
|
onContinue: done,
|
|
725846
726579
|
onExit: props.onExit
|
|
@@ -725850,7 +726583,7 @@ async function launchAssistantSessionChooser(root3, props) {
|
|
|
725850
726583
|
const {
|
|
725851
726584
|
AssistantSessionChooser: AssistantSessionChooser2
|
|
725852
726585
|
} = await Promise.resolve().then(() => (init_AssistantSessionChooser(), exports_AssistantSessionChooser));
|
|
725853
|
-
return showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726586
|
+
return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(AssistantSessionChooser2, {
|
|
725854
726587
|
sessions: props.sessions,
|
|
725855
726588
|
onSelect: (id) => done(id),
|
|
725856
726589
|
onCancel: () => done(null)
|
|
@@ -725866,7 +726599,7 @@ async function launchAssistantInstallWizard(root3) {
|
|
|
725866
726599
|
const errorPromise = new Promise((_2, reject2) => {
|
|
725867
726600
|
rejectWithError = reject2;
|
|
725868
726601
|
});
|
|
725869
|
-
const resultPromise = showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726602
|
+
const resultPromise = showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(NewInstallWizard2, {
|
|
725870
726603
|
defaultDir,
|
|
725871
726604
|
onInstalled: (dir) => done(dir),
|
|
725872
726605
|
onCancel: () => done(null),
|
|
@@ -725878,7 +726611,7 @@ async function launchTeleportResumeWrapper(root3) {
|
|
|
725878
726611
|
const {
|
|
725879
726612
|
TeleportResumeWrapper: TeleportResumeWrapper2
|
|
725880
726613
|
} = await Promise.resolve().then(() => (init_TeleportResumeWrapper(), exports_TeleportResumeWrapper));
|
|
725881
|
-
return showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726614
|
+
return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(TeleportResumeWrapper2, {
|
|
725882
726615
|
onComplete: done,
|
|
725883
726616
|
onCancel: () => done(null),
|
|
725884
726617
|
source: "cliArg"
|
|
@@ -725888,7 +726621,7 @@ async function launchTeleportRepoMismatchDialog(root3, props) {
|
|
|
725888
726621
|
const {
|
|
725889
726622
|
TeleportRepoMismatchDialog: TeleportRepoMismatchDialog2
|
|
725890
726623
|
} = await Promise.resolve().then(() => (init_TeleportRepoMismatchDialog(), exports_TeleportRepoMismatchDialog));
|
|
725891
|
-
return showSetupDialog(root3, (done) => /* @__PURE__ */
|
|
726624
|
+
return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(TeleportRepoMismatchDialog2, {
|
|
725892
726625
|
targetRepo: props.targetRepo,
|
|
725893
726626
|
initialPaths: props.initialPaths,
|
|
725894
726627
|
onSelectPath: done,
|
|
@@ -725901,23 +726634,23 @@ async function launchResumeChooser(root3, appProps, worktreePathsPromise, resume
|
|
|
725901
726634
|
}, {
|
|
725902
726635
|
App: App3
|
|
725903
726636
|
}] = await Promise.all([worktreePathsPromise, Promise.resolve().then(() => (init_ResumeConversation(), exports_ResumeConversation)), Promise.resolve().then(() => (init_App2(), exports_App))]);
|
|
725904
|
-
await renderAndRun(root3, /* @__PURE__ */
|
|
726637
|
+
await renderAndRun(root3, /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(App3, {
|
|
725905
726638
|
getFpsMetrics: appProps.getFpsMetrics,
|
|
725906
726639
|
stats: appProps.stats,
|
|
725907
726640
|
initialState: appProps.initialState,
|
|
725908
|
-
children: /* @__PURE__ */
|
|
725909
|
-
children: /* @__PURE__ */
|
|
726641
|
+
children: /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(KeybindingSetup, {
|
|
726642
|
+
children: /* @__PURE__ */ jsx_dev_runtime482.jsxDEV(ResumeConversation2, {
|
|
725910
726643
|
...resumeProps,
|
|
725911
726644
|
worktreePaths
|
|
725912
726645
|
}, undefined, false, undefined, this)
|
|
725913
726646
|
}, undefined, false, undefined, this)
|
|
725914
726647
|
}, undefined, false, undefined, this));
|
|
725915
726648
|
}
|
|
725916
|
-
var
|
|
726649
|
+
var jsx_dev_runtime482;
|
|
725917
726650
|
var init_dialogLaunchers = __esm(() => {
|
|
725918
726651
|
init_interactiveHelpers();
|
|
725919
726652
|
init_KeybindingProviderSetup();
|
|
725920
|
-
|
|
726653
|
+
jsx_dev_runtime482 = __toESM(require_jsx_dev_runtime(), 1);
|
|
725921
726654
|
});
|
|
725922
726655
|
|
|
725923
726656
|
// src/plugins/bundled/index.ts
|
|
@@ -735541,9 +736274,9 @@ function TeleportProgress(t0) {
|
|
|
735541
736274
|
const t22 = SPINNER_FRAMES3[frame];
|
|
735542
736275
|
let t32;
|
|
735543
736276
|
if ($4[2] !== t22) {
|
|
735544
|
-
t32 = /* @__PURE__ */
|
|
736277
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735545
736278
|
marginBottom: 1,
|
|
735546
|
-
children: /* @__PURE__ */
|
|
736279
|
+
children: /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedText, {
|
|
735547
736280
|
bold: true,
|
|
735548
736281
|
color: "claude",
|
|
735549
736282
|
children: [
|
|
@@ -735559,9 +736292,9 @@ function TeleportProgress(t0) {
|
|
|
735559
736292
|
}
|
|
735560
736293
|
let t4;
|
|
735561
736294
|
if ($4[4] !== sessionId) {
|
|
735562
|
-
t4 = sessionId && /* @__PURE__ */
|
|
736295
|
+
t4 = sessionId && /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735563
736296
|
marginBottom: 1,
|
|
735564
|
-
children: /* @__PURE__ */
|
|
736297
|
+
children: /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedText, {
|
|
735565
736298
|
dimColor: true,
|
|
735566
736299
|
children: sessionId
|
|
735567
736300
|
}, undefined, false, undefined, this)
|
|
@@ -735591,18 +736324,18 @@ function TeleportProgress(t0) {
|
|
|
735591
736324
|
color3 = undefined;
|
|
735592
736325
|
}
|
|
735593
736326
|
}
|
|
735594
|
-
return /* @__PURE__ */
|
|
736327
|
+
return /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735595
736328
|
flexDirection: "row",
|
|
735596
736329
|
children: [
|
|
735597
|
-
/* @__PURE__ */
|
|
736330
|
+
/* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735598
736331
|
width: 2,
|
|
735599
|
-
children: /* @__PURE__ */
|
|
736332
|
+
children: /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedText, {
|
|
735600
736333
|
color: color3,
|
|
735601
736334
|
dimColor: isPending,
|
|
735602
736335
|
children: icon
|
|
735603
736336
|
}, undefined, false, undefined, this)
|
|
735604
736337
|
}, undefined, false, undefined, this),
|
|
735605
|
-
/* @__PURE__ */
|
|
736338
|
+
/* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedText, {
|
|
735606
736339
|
dimColor: isPending,
|
|
735607
736340
|
bold: isCurrent,
|
|
735608
736341
|
children: step.label
|
|
@@ -735618,7 +736351,7 @@ function TeleportProgress(t0) {
|
|
|
735618
736351
|
}
|
|
735619
736352
|
let t6;
|
|
735620
736353
|
if ($4[9] !== t5) {
|
|
735621
|
-
t6 = /* @__PURE__ */
|
|
736354
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735622
736355
|
flexDirection: "column",
|
|
735623
736356
|
marginLeft: 2,
|
|
735624
736357
|
children: t5
|
|
@@ -735630,7 +736363,7 @@ function TeleportProgress(t0) {
|
|
|
735630
736363
|
}
|
|
735631
736364
|
let t7;
|
|
735632
736365
|
if ($4[11] !== ref || $4[12] !== t32 || $4[13] !== t4 || $4[14] !== t6) {
|
|
735633
|
-
t7 = /* @__PURE__ */
|
|
736366
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(ThemedBox_default, {
|
|
735634
736367
|
ref,
|
|
735635
736368
|
flexDirection: "column",
|
|
735636
736369
|
paddingX: 1,
|
|
@@ -735656,13 +736389,13 @@ async function teleportWithProgress(root3, sessionId) {
|
|
|
735656
736389
|
function TeleportProgressWrapper() {
|
|
735657
736390
|
const [step, _setStep] = import_react330.useState("validating");
|
|
735658
736391
|
setStep = _setStep;
|
|
735659
|
-
return /* @__PURE__ */
|
|
736392
|
+
return /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(TeleportProgress, {
|
|
735660
736393
|
currentStep: step,
|
|
735661
736394
|
sessionId
|
|
735662
736395
|
}, undefined, false, undefined, this);
|
|
735663
736396
|
}
|
|
735664
|
-
root3.render(/* @__PURE__ */
|
|
735665
|
-
children: /* @__PURE__ */
|
|
736397
|
+
root3.render(/* @__PURE__ */ jsx_dev_runtime483.jsxDEV(AppStateProvider, {
|
|
736398
|
+
children: /* @__PURE__ */ jsx_dev_runtime483.jsxDEV(TeleportProgressWrapper, {}, undefined, false, undefined, this)
|
|
735666
736399
|
}, undefined, false, undefined, this));
|
|
735667
736400
|
const result = await teleportResumeCodeSession(sessionId, setStep);
|
|
735668
736401
|
setStep("checking_out");
|
|
@@ -735675,7 +736408,7 @@ async function teleportWithProgress(root3, sessionId) {
|
|
|
735675
736408
|
branchName
|
|
735676
736409
|
};
|
|
735677
736410
|
}
|
|
735678
|
-
var import_compiler_runtime366, import_react330,
|
|
736411
|
+
var import_compiler_runtime366, import_react330, jsx_dev_runtime483, SPINNER_FRAMES3, STEPS;
|
|
735679
736412
|
var init_TeleportProgress = __esm(() => {
|
|
735680
736413
|
init_figures();
|
|
735681
736414
|
init_ink2();
|
|
@@ -735683,7 +736416,7 @@ var init_TeleportProgress = __esm(() => {
|
|
|
735683
736416
|
init_teleport();
|
|
735684
736417
|
import_compiler_runtime366 = __toESM(require_compiler_runtime(), 1);
|
|
735685
736418
|
import_react330 = __toESM(require_react(), 1);
|
|
735686
|
-
|
|
736419
|
+
jsx_dev_runtime483 = __toESM(require_jsx_dev_runtime(), 1);
|
|
735687
736420
|
SPINNER_FRAMES3 = ["\u25D0", "\u25D3", "\u25D1", "\u25D2"];
|
|
735688
736421
|
STEPS = [{
|
|
735689
736422
|
key: "validating",
|
|
@@ -735819,7 +736552,7 @@ No servers were imported.`);
|
|
|
735819
736552
|
const t10 = `Found ${t8} MCP ${t9} in Claude Desktop.`;
|
|
735820
736553
|
let t11;
|
|
735821
736554
|
if ($4[16] !== collisions.length) {
|
|
735822
|
-
t11 = collisions.length > 0 && /* @__PURE__ */
|
|
736555
|
+
t11 = collisions.length > 0 && /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ThemedText, {
|
|
735823
736556
|
color: "warning",
|
|
735824
736557
|
children: "Note: Some servers already exist with the same name. If selected, they will be imported with a numbered suffix."
|
|
735825
736558
|
}, undefined, false, undefined, this);
|
|
@@ -735830,7 +736563,7 @@ No servers were imported.`);
|
|
|
735830
736563
|
}
|
|
735831
736564
|
let t12;
|
|
735832
736565
|
if ($4[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
735833
|
-
t12 = /* @__PURE__ */
|
|
736566
|
+
t12 = /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ThemedText, {
|
|
735834
736567
|
children: "Please select the servers you want to import:"
|
|
735835
736568
|
}, undefined, false, undefined, this);
|
|
735836
736569
|
$4[18] = t12;
|
|
@@ -735855,7 +736588,7 @@ No servers were imported.`);
|
|
|
735855
736588
|
}
|
|
735856
736589
|
let t15;
|
|
735857
736590
|
if ($4[23] !== handleEscCancel || $4[24] !== onSubmit || $4[25] !== t13 || $4[26] !== t14) {
|
|
735858
|
-
t15 = /* @__PURE__ */
|
|
736591
|
+
t15 = /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(SelectMulti, {
|
|
735859
736592
|
options: t13,
|
|
735860
736593
|
defaultValue: t14,
|
|
735861
736594
|
onSubmit,
|
|
@@ -735872,7 +736605,7 @@ No servers were imported.`);
|
|
|
735872
736605
|
}
|
|
735873
736606
|
let t16;
|
|
735874
736607
|
if ($4[28] !== handleEscCancel || $4[29] !== t10 || $4[30] !== t11 || $4[31] !== t15) {
|
|
735875
|
-
t16 = /* @__PURE__ */
|
|
736608
|
+
t16 = /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(Dialog, {
|
|
735876
736609
|
title: "Import MCP Servers from Claude Desktop",
|
|
735877
736610
|
subtitle: t10,
|
|
735878
736611
|
color: "success",
|
|
@@ -735894,22 +736627,22 @@ No servers were imported.`);
|
|
|
735894
736627
|
}
|
|
735895
736628
|
let t17;
|
|
735896
736629
|
if ($4[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
735897
|
-
t17 = /* @__PURE__ */
|
|
736630
|
+
t17 = /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ThemedBox_default, {
|
|
735898
736631
|
paddingX: 1,
|
|
735899
|
-
children: /* @__PURE__ */
|
|
736632
|
+
children: /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ThemedText, {
|
|
735900
736633
|
dimColor: true,
|
|
735901
736634
|
italic: true,
|
|
735902
|
-
children: /* @__PURE__ */
|
|
736635
|
+
children: /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(Byline, {
|
|
735903
736636
|
children: [
|
|
735904
|
-
/* @__PURE__ */
|
|
736637
|
+
/* @__PURE__ */ jsx_dev_runtime484.jsxDEV(KeyboardShortcutHint, {
|
|
735905
736638
|
shortcut: "Space",
|
|
735906
736639
|
action: "select"
|
|
735907
736640
|
}, undefined, false, undefined, this),
|
|
735908
|
-
/* @__PURE__ */
|
|
736641
|
+
/* @__PURE__ */ jsx_dev_runtime484.jsxDEV(KeyboardShortcutHint, {
|
|
735909
736642
|
shortcut: "Enter",
|
|
735910
736643
|
action: "confirm"
|
|
735911
736644
|
}, undefined, false, undefined, this),
|
|
735912
|
-
/* @__PURE__ */
|
|
736645
|
+
/* @__PURE__ */ jsx_dev_runtime484.jsxDEV(ConfigurableShortcutHint, {
|
|
735913
736646
|
action: "confirm:no",
|
|
735914
736647
|
context: "Confirmation",
|
|
735915
736648
|
fallback: "Esc",
|
|
@@ -735925,7 +736658,7 @@ No servers were imported.`);
|
|
|
735925
736658
|
}
|
|
735926
736659
|
let t18;
|
|
735927
736660
|
if ($4[34] !== t16) {
|
|
735928
|
-
t18 = /* @__PURE__ */
|
|
736661
|
+
t18 = /* @__PURE__ */ jsx_dev_runtime484.jsxDEV(jsx_dev_runtime484.Fragment, {
|
|
735929
736662
|
children: [
|
|
735930
736663
|
t16,
|
|
735931
736664
|
t17
|
|
@@ -735938,7 +736671,7 @@ No servers were imported.`);
|
|
|
735938
736671
|
}
|
|
735939
736672
|
return t18;
|
|
735940
736673
|
}
|
|
735941
|
-
var import_compiler_runtime367, import_react331,
|
|
736674
|
+
var import_compiler_runtime367, import_react331, jsx_dev_runtime484;
|
|
735942
736675
|
var init_MCPServerDesktopImportDialog = __esm(() => {
|
|
735943
736676
|
init_gracefulShutdown();
|
|
735944
736677
|
init_ink2();
|
|
@@ -735951,7 +736684,7 @@ var init_MCPServerDesktopImportDialog = __esm(() => {
|
|
|
735951
736684
|
init_KeyboardShortcutHint();
|
|
735952
736685
|
import_compiler_runtime367 = __toESM(require_compiler_runtime(), 1);
|
|
735953
736686
|
import_react331 = __toESM(require_react(), 1);
|
|
735954
|
-
|
|
736687
|
+
jsx_dev_runtime484 = __toESM(require_jsx_dev_runtime(), 1);
|
|
735955
736688
|
});
|
|
735956
736689
|
|
|
735957
736690
|
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
@@ -736875,9 +737608,9 @@ async function mcpAddFromDesktopHandler(options) {
|
|
|
736875
737608
|
}
|
|
736876
737609
|
const {
|
|
736877
737610
|
unmount
|
|
736878
|
-
} = await render(/* @__PURE__ */
|
|
736879
|
-
children: /* @__PURE__ */
|
|
736880
|
-
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, {
|
|
736881
737614
|
servers,
|
|
736882
737615
|
scope,
|
|
736883
737616
|
onDone: () => {
|
|
@@ -736903,7 +737636,7 @@ async function mcpResetChoicesHandler() {
|
|
|
736903
737636
|
cliOk(`All project-scoped (.mcp.json) server approvals and rejections have been reset.
|
|
736904
737637
|
You will be prompted for approval next time you start Claude Code.`);
|
|
736905
737638
|
}
|
|
736906
|
-
var
|
|
737639
|
+
var jsx_dev_runtime485;
|
|
736907
737640
|
var init_mcp5 = __esm(() => {
|
|
736908
737641
|
init_p_map();
|
|
736909
737642
|
init_MCPServerDesktopImportDialog();
|
|
@@ -736920,7 +737653,7 @@ var init_mcp5 = __esm(() => {
|
|
|
736920
737653
|
init_gracefulShutdown();
|
|
736921
737654
|
init_json();
|
|
736922
737655
|
init_platform2();
|
|
736923
|
-
|
|
737656
|
+
jsx_dev_runtime485 = __toESM(require_jsx_dev_runtime(), 1);
|
|
736924
737657
|
});
|
|
736925
737658
|
|
|
736926
737659
|
// src/server/server.ts
|
|
@@ -737534,11 +738267,11 @@ function SetupNotes(t0) {
|
|
|
737534
738267
|
}
|
|
737535
738268
|
let t1;
|
|
737536
738269
|
if ($4[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
737537
|
-
t1 = /* @__PURE__ */
|
|
737538
|
-
children: /* @__PURE__ */
|
|
738270
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
738271
|
+
children: /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737539
738272
|
color: "warning",
|
|
737540
738273
|
children: [
|
|
737541
|
-
/* @__PURE__ */
|
|
738274
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(StatusIcon, {
|
|
737542
738275
|
status: "warning",
|
|
737543
738276
|
withSpace: true
|
|
737544
738277
|
}, undefined, false, undefined, this),
|
|
@@ -737560,7 +738293,7 @@ function SetupNotes(t0) {
|
|
|
737560
738293
|
}
|
|
737561
738294
|
let t32;
|
|
737562
738295
|
if ($4[3] !== t22) {
|
|
737563
|
-
t32 = /* @__PURE__ */
|
|
738296
|
+
t32 = /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737564
738297
|
flexDirection: "column",
|
|
737565
738298
|
gap: 0,
|
|
737566
738299
|
marginBottom: 1,
|
|
@@ -737577,9 +738310,9 @@ function SetupNotes(t0) {
|
|
|
737577
738310
|
return t32;
|
|
737578
738311
|
}
|
|
737579
738312
|
function _temp359(message, index2) {
|
|
737580
|
-
return /* @__PURE__ */
|
|
738313
|
+
return /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737581
738314
|
marginLeft: 2,
|
|
737582
|
-
children: /* @__PURE__ */
|
|
738315
|
+
children: /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737583
738316
|
dimColor: true,
|
|
737584
738317
|
children: [
|
|
737585
738318
|
"\u2022 ",
|
|
@@ -737695,19 +738428,19 @@ function Install({
|
|
|
737695
738428
|
});
|
|
737696
738429
|
}
|
|
737697
738430
|
}, [state4, onDone]);
|
|
737698
|
-
return /* @__PURE__ */
|
|
738431
|
+
return /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737699
738432
|
flexDirection: "column",
|
|
737700
738433
|
marginTop: 1,
|
|
737701
738434
|
children: [
|
|
737702
|
-
state4.type === "checking" && /* @__PURE__ */
|
|
738435
|
+
state4.type === "checking" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737703
738436
|
color: "claude",
|
|
737704
738437
|
children: "Checking installation status..."
|
|
737705
738438
|
}, undefined, false, undefined, this),
|
|
737706
|
-
state4.type === "cleaning-npm" && /* @__PURE__ */
|
|
738439
|
+
state4.type === "cleaning-npm" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737707
738440
|
color: "warning",
|
|
737708
738441
|
children: "Cleaning up old npm installations..."
|
|
737709
738442
|
}, undefined, false, undefined, this),
|
|
737710
|
-
state4.type === "installing" && /* @__PURE__ */
|
|
738443
|
+
state4.type === "installing" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737711
738444
|
color: "claude",
|
|
737712
738445
|
children: [
|
|
737713
738446
|
"Installing Claude Code native build ",
|
|
@@ -737715,54 +738448,54 @@ function Install({
|
|
|
737715
738448
|
"..."
|
|
737716
738449
|
]
|
|
737717
738450
|
}, undefined, true, undefined, this),
|
|
737718
|
-
state4.type === "setting-up" && /* @__PURE__ */
|
|
738451
|
+
state4.type === "setting-up" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737719
738452
|
color: "claude",
|
|
737720
738453
|
children: "Setting up launcher and shell integration..."
|
|
737721
738454
|
}, undefined, false, undefined, this),
|
|
737722
|
-
state4.type === "set-up" && /* @__PURE__ */
|
|
738455
|
+
state4.type === "set-up" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(SetupNotes, {
|
|
737723
738456
|
messages: state4.messages
|
|
737724
738457
|
}, undefined, false, undefined, this),
|
|
737725
|
-
state4.type === "success" && /* @__PURE__ */
|
|
738458
|
+
state4.type === "success" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737726
738459
|
flexDirection: "column",
|
|
737727
738460
|
gap: 1,
|
|
737728
738461
|
children: [
|
|
737729
|
-
/* @__PURE__ */
|
|
738462
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737730
738463
|
children: [
|
|
737731
|
-
/* @__PURE__ */
|
|
738464
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(StatusIcon, {
|
|
737732
738465
|
status: "success",
|
|
737733
738466
|
withSpace: true
|
|
737734
738467
|
}, undefined, false, undefined, this),
|
|
737735
|
-
/* @__PURE__ */
|
|
738468
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737736
738469
|
color: "success",
|
|
737737
738470
|
bold: true,
|
|
737738
738471
|
children: "Claude Code successfully installed!"
|
|
737739
738472
|
}, undefined, false, undefined, this)
|
|
737740
738473
|
]
|
|
737741
738474
|
}, undefined, true, undefined, this),
|
|
737742
|
-
/* @__PURE__ */
|
|
738475
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737743
738476
|
marginLeft: 2,
|
|
737744
738477
|
flexDirection: "column",
|
|
737745
738478
|
gap: 1,
|
|
737746
738479
|
children: [
|
|
737747
|
-
state4.version !== "current" && /* @__PURE__ */
|
|
738480
|
+
state4.version !== "current" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737748
738481
|
children: [
|
|
737749
|
-
/* @__PURE__ */
|
|
738482
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737750
738483
|
dimColor: true,
|
|
737751
738484
|
children: "Version: "
|
|
737752
738485
|
}, undefined, false, undefined, this),
|
|
737753
|
-
/* @__PURE__ */
|
|
738486
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737754
738487
|
color: "claude",
|
|
737755
738488
|
children: state4.version
|
|
737756
738489
|
}, undefined, false, undefined, this)
|
|
737757
738490
|
]
|
|
737758
738491
|
}, undefined, true, undefined, this),
|
|
737759
|
-
/* @__PURE__ */
|
|
738492
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737760
738493
|
children: [
|
|
737761
|
-
/* @__PURE__ */
|
|
738494
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737762
738495
|
dimColor: true,
|
|
737763
738496
|
children: "Location: "
|
|
737764
738497
|
}, undefined, false, undefined, this),
|
|
737765
|
-
/* @__PURE__ */
|
|
738498
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737766
738499
|
color: "text",
|
|
737767
738500
|
children: getInstallationPath2()
|
|
737768
738501
|
}, undefined, false, undefined, this)
|
|
@@ -737770,57 +738503,57 @@ function Install({
|
|
|
737770
738503
|
}, undefined, true, undefined, this)
|
|
737771
738504
|
]
|
|
737772
738505
|
}, undefined, true, undefined, this),
|
|
737773
|
-
/* @__PURE__ */
|
|
738506
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737774
738507
|
marginLeft: 2,
|
|
737775
738508
|
flexDirection: "column",
|
|
737776
738509
|
gap: 1,
|
|
737777
|
-
children: /* @__PURE__ */
|
|
738510
|
+
children: /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737778
738511
|
marginTop: 1,
|
|
737779
738512
|
children: [
|
|
737780
|
-
/* @__PURE__ */
|
|
738513
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737781
738514
|
dimColor: true,
|
|
737782
738515
|
children: "Next: Run "
|
|
737783
738516
|
}, undefined, false, undefined, this),
|
|
737784
|
-
/* @__PURE__ */
|
|
738517
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737785
738518
|
color: "claude",
|
|
737786
738519
|
bold: true,
|
|
737787
738520
|
children: "claude --help"
|
|
737788
738521
|
}, undefined, false, undefined, this),
|
|
737789
|
-
/* @__PURE__ */
|
|
738522
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737790
738523
|
dimColor: true,
|
|
737791
738524
|
children: " to get started"
|
|
737792
738525
|
}, undefined, false, undefined, this)
|
|
737793
738526
|
]
|
|
737794
738527
|
}, undefined, true, undefined, this)
|
|
737795
738528
|
}, undefined, false, undefined, this),
|
|
737796
|
-
state4.setupMessages && /* @__PURE__ */
|
|
738529
|
+
state4.setupMessages && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(SetupNotes, {
|
|
737797
738530
|
messages: state4.setupMessages
|
|
737798
738531
|
}, undefined, false, undefined, this)
|
|
737799
738532
|
]
|
|
737800
738533
|
}, undefined, true, undefined, this),
|
|
737801
|
-
state4.type === "error" && /* @__PURE__ */
|
|
738534
|
+
state4.type === "error" && /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737802
738535
|
flexDirection: "column",
|
|
737803
738536
|
gap: 1,
|
|
737804
738537
|
children: [
|
|
737805
|
-
/* @__PURE__ */
|
|
738538
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737806
738539
|
children: [
|
|
737807
|
-
/* @__PURE__ */
|
|
738540
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(StatusIcon, {
|
|
737808
738541
|
status: "error",
|
|
737809
738542
|
withSpace: true
|
|
737810
738543
|
}, undefined, false, undefined, this),
|
|
737811
|
-
/* @__PURE__ */
|
|
738544
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737812
738545
|
color: "error",
|
|
737813
738546
|
children: "Installation failed"
|
|
737814
738547
|
}, undefined, false, undefined, this)
|
|
737815
738548
|
]
|
|
737816
738549
|
}, undefined, true, undefined, this),
|
|
737817
|
-
/* @__PURE__ */
|
|
738550
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737818
738551
|
color: "error",
|
|
737819
738552
|
children: state4.message
|
|
737820
738553
|
}, undefined, false, undefined, this),
|
|
737821
|
-
/* @__PURE__ */
|
|
738554
|
+
/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedBox_default, {
|
|
737822
738555
|
marginTop: 1,
|
|
737823
|
-
children: /* @__PURE__ */
|
|
738556
|
+
children: /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(ThemedText, {
|
|
737824
738557
|
dimColor: true,
|
|
737825
738558
|
children: "Try running with --force to override checks"
|
|
737826
738559
|
}, undefined, false, undefined, this)
|
|
@@ -737830,7 +738563,7 @@ function Install({
|
|
|
737830
738563
|
]
|
|
737831
738564
|
}, undefined, true, undefined, this);
|
|
737832
738565
|
}
|
|
737833
|
-
var import_compiler_runtime368, import_react332,
|
|
738566
|
+
var import_compiler_runtime368, import_react332, jsx_dev_runtime486, install;
|
|
737834
738567
|
var init_install = __esm(() => {
|
|
737835
738568
|
init_analytics();
|
|
737836
738569
|
init_StatusIcon();
|
|
@@ -737842,7 +738575,7 @@ var init_install = __esm(() => {
|
|
|
737842
738575
|
init_settings2();
|
|
737843
738576
|
import_compiler_runtime368 = __toESM(require_compiler_runtime(), 1);
|
|
737844
738577
|
import_react332 = __toESM(require_react(), 1);
|
|
737845
|
-
|
|
738578
|
+
jsx_dev_runtime486 = __toESM(require_jsx_dev_runtime(), 1);
|
|
737846
738579
|
install = {
|
|
737847
738580
|
type: "local-jsx",
|
|
737848
738581
|
name: "install",
|
|
@@ -737854,7 +738587,7 @@ var init_install = __esm(() => {
|
|
|
737854
738587
|
const target = nonFlagArgs[0];
|
|
737855
738588
|
const {
|
|
737856
738589
|
unmount
|
|
737857
|
-
} = await render(/* @__PURE__ */
|
|
738590
|
+
} = await render(/* @__PURE__ */ jsx_dev_runtime486.jsxDEV(Install, {
|
|
737858
738591
|
onDone: (result, options) => {
|
|
737859
738592
|
unmount();
|
|
737860
738593
|
onDone(result, options);
|
|
@@ -737881,28 +738614,28 @@ async function setupTokenHandler(root3) {
|
|
|
737881
738614
|
ConsoleOAuthFlow: ConsoleOAuthFlow2
|
|
737882
738615
|
} = await Promise.resolve().then(() => (init_ConsoleOAuthFlow(), exports_ConsoleOAuthFlow));
|
|
737883
738616
|
await new Promise((resolve53) => {
|
|
737884
|
-
root3.render(/* @__PURE__ */
|
|
738617
|
+
root3.render(/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(AppStateProvider, {
|
|
737885
738618
|
onChangeAppState,
|
|
737886
|
-
children: /* @__PURE__ */
|
|
737887
|
-
children: /* @__PURE__ */
|
|
738619
|
+
children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(KeybindingSetup, {
|
|
738620
|
+
children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(ThemedBox_default, {
|
|
737888
738621
|
flexDirection: "column",
|
|
737889
738622
|
gap: 1,
|
|
737890
738623
|
children: [
|
|
737891
|
-
/* @__PURE__ */
|
|
737892
|
-
showAuthWarning && /* @__PURE__ */
|
|
738624
|
+
/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(WelcomeV2, {}, undefined, false, undefined, this),
|
|
738625
|
+
showAuthWarning && /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(ThemedBox_default, {
|
|
737893
738626
|
flexDirection: "column",
|
|
737894
738627
|
children: [
|
|
737895
|
-
/* @__PURE__ */
|
|
738628
|
+
/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(ThemedText, {
|
|
737896
738629
|
color: "warning",
|
|
737897
738630
|
children: "Warning: You already have authentication configured via environment variable or API key helper."
|
|
737898
738631
|
}, undefined, false, undefined, this),
|
|
737899
|
-
/* @__PURE__ */
|
|
738632
|
+
/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(ThemedText, {
|
|
737900
738633
|
color: "warning",
|
|
737901
738634
|
children: "The setup-token command will create a new OAuth token which you can use instead."
|
|
737902
738635
|
}, undefined, false, undefined, this)
|
|
737903
738636
|
]
|
|
737904
738637
|
}, undefined, true, undefined, this),
|
|
737905
|
-
/* @__PURE__ */
|
|
738638
|
+
/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(ConsoleOAuthFlow2, {
|
|
737906
738639
|
onDone: () => {
|
|
737907
738640
|
resolve53();
|
|
737908
738641
|
},
|
|
@@ -737925,9 +738658,9 @@ function DoctorWithPlugins(t0) {
|
|
|
737925
738658
|
useManagePlugins();
|
|
737926
738659
|
let t1;
|
|
737927
738660
|
if ($4[0] !== onDone) {
|
|
737928
|
-
t1 = /* @__PURE__ */
|
|
738661
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(import_react333.default.Suspense, {
|
|
737929
738662
|
fallback: null,
|
|
737930
|
-
children: /* @__PURE__ */
|
|
738663
|
+
children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(DoctorLazy, {
|
|
737931
738664
|
onDone
|
|
737932
738665
|
}, undefined, false, undefined, this)
|
|
737933
738666
|
}, undefined, false, undefined, this);
|
|
@@ -737941,12 +738674,12 @@ function DoctorWithPlugins(t0) {
|
|
|
737941
738674
|
async function doctorHandler(root3) {
|
|
737942
738675
|
logEvent("tengu_doctor_command", {});
|
|
737943
738676
|
await new Promise((resolve53) => {
|
|
737944
|
-
root3.render(/* @__PURE__ */
|
|
737945
|
-
children: /* @__PURE__ */
|
|
737946
|
-
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, {
|
|
737947
738680
|
dynamicMcpConfig: undefined,
|
|
737948
738681
|
isStrictMcpConfig: false,
|
|
737949
|
-
children: /* @__PURE__ */
|
|
738682
|
+
children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(DoctorWithPlugins, {
|
|
737950
738683
|
onDone: () => {
|
|
737951
738684
|
resolve53();
|
|
737952
738685
|
}
|
|
@@ -737978,7 +738711,7 @@ async function installHandler(target, options) {
|
|
|
737978
738711
|
}, {}, args);
|
|
737979
738712
|
});
|
|
737980
738713
|
}
|
|
737981
|
-
var import_compiler_runtime369, import_react333,
|
|
738714
|
+
var import_compiler_runtime369, import_react333, jsx_dev_runtime487, DoctorLazy;
|
|
737982
738715
|
var init_util6 = __esm(() => {
|
|
737983
738716
|
init_WelcomeV2();
|
|
737984
738717
|
init_useManagePlugins();
|
|
@@ -737991,7 +738724,7 @@ var init_util6 = __esm(() => {
|
|
|
737991
738724
|
init_auth6();
|
|
737992
738725
|
import_compiler_runtime369 = __toESM(require_compiler_runtime(), 1);
|
|
737993
738726
|
import_react333 = __toESM(require_react(), 1);
|
|
737994
|
-
|
|
738727
|
+
jsx_dev_runtime487 = __toESM(require_jsx_dev_runtime(), 1);
|
|
737995
738728
|
DoctorLazy = import_react333.default.lazy(() => Promise.resolve().then(() => (init_Doctor(), exports_Doctor)).then((m5) => ({
|
|
737996
738729
|
default: m5.Doctor
|
|
737997
738730
|
})));
|