diff --git a/apps/web/src/components/v2/terminal-input.tsx b/apps/web/src/components/v2/terminal-input.tsx
index 92d0b7d0..6d149f48 100644
--- a/apps/web/src/components/v2/terminal-input.tsx
+++ b/apps/web/src/components/v2/terminal-input.tsx
@@ -136,13 +136,13 @@ export function TerminalInput({
onKeyDown={handleKeyPress}
placeholder={placeholder}
disabled={disabled}
- className="text-foreground placeholder:text-muted-foreground min-h-[40px] flex-1 resize-none border-none bg-transparent p-0 font-mono text-xs focus-visible:ring-0 focus-visible:ring-offset-0"
+ className="text-foreground placeholder:text-muted-foreground min-h-[40px] flex-1 resize-none border-none bg-transparent p-0 font-mono text-xs shadow-none focus-visible:ring-0 focus-visible:ring-offset-0"
rows={3}
onPaste={onPaste}
/>
-
+
{displayThread.title}
- •
-
-
- {displayThread.repository}
-
+ {displayThread.repository && (
+ <>
+ •
+
+
+ {displayThread.repository}
+
+ >
+ )}
)}
+ {!programmerSession && (
+
+ No programmer session
+
+ )}
diff --git a/apps/web/src/components/v2/types.ts b/apps/web/src/components/v2/types.ts
index 08a2b83b..da6305e0 100644
--- a/apps/web/src/components/v2/types.ts
+++ b/apps/web/src/components/v2/types.ts
@@ -77,7 +77,9 @@ export function threadToDisplayInfo(
status: uiStatus,
lastActivity,
taskCount: values?.taskPlan?.tasks.length ?? 0,
- repository: `${values?.targetRepository.owner}/${values?.targetRepository.repo}`,
+ repository: values?.targetRepository
+ ? `${values.targetRepository.owner}/${values.targetRepository.repo}`
+ : "",
branch: values?.targetRepository.branch || "main",
githubIssue: values?.githubIssueId
? {