From eeafe072bc6bb81459f7d087b48fc921afe9cc11 Mon Sep 17 00:00:00 2001
From: soryu <soryu@soryu.co>
Date: Thu, 15 Jan 2026 03:26:28 +0000
Subject: Automatically derive repo URL and add notifications for input

---
 makima/frontend/src/components/mesh/TaskDetail.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'makima/frontend/src/components/mesh/TaskDetail.tsx')

diff --git a/makima/frontend/src/components/mesh/TaskDetail.tsx b/makima/frontend/src/components/mesh/TaskDetail.tsx
index 967b1d1..8e853e7 100644
--- a/makima/frontend/src/components/mesh/TaskDetail.tsx
+++ b/makima/frontend/src/components/mesh/TaskDetail.tsx
@@ -144,6 +144,10 @@ export function TaskDetail({
   const isTaskRunning = task.status === "running" || task.status === "initializing" || task.status === "starting";
   // Check if task is in a terminal state (can be continued/reopened)
   const isTaskTerminal = task.status === "done" || task.status === "failed" || task.status === "merged";
+  // Check if this is a supervisor task
+  const isSupervisor = task.isSupervisor === true;
+  // Show continue for supervisors (always) or terminal states for other tasks
+  const canContinue = isSupervisor || isTaskTerminal;
 
   // Calculate subtask statistics
   const subtaskStats = useMemo(
@@ -356,7 +360,7 @@ export function TaskDetail({
                   )}
                 </div>
               )}
-              {isTaskTerminal && (
+              {canContinue && (
                 <button
                   onClick={() => onContinue(task.id)}
                   className="px-3 py-1 font-mono text-xs text-cyan-400 border border-cyan-400/30 hover:border-cyan-400/50 hover:bg-cyan-400/10 transition-colors uppercase flex items-center gap-1"
-- 
cgit v1.2.3

