Update files

This commit is contained in:
Mohamed Boudra
2026-01-28 21:57:31 +07:00
parent d158dcf77a
commit 2c138312b2
16 changed files with 1107 additions and 646 deletions
@@ -506,16 +506,6 @@ function AgentScreenContent({
const headerProjectPath = effectiveAgent
? deriveProjectPath(effectiveAgent.cwd, checkout)
: null;
const headerBranchLabel = deriveBranchLabel(checkout);
const headerSubtitle = useMemo(() => {
if (!headerProjectPath) return undefined;
const path = shortenPath(headerProjectPath);
if (headerBranchLabel) {
return `${path} · ${headerBranchLabel}`;
}
return path;
}, [headerProjectPath, headerBranchLabel]);
useEffect(() => {
if (!isPendingCreateForRoute || !pendingCreate) {
return;
@@ -622,7 +612,6 @@ function AgentScreenContent({
{/* Header */}
<MenuHeader
title={effectiveAgent.title || "Agent"}
subtitle={headerSubtitle}
rightContent={
<View style={styles.headerRightContent}>
<Pressable onPress={toggleFileExplorer} style={styles.menuButton}>