From a2646a828febbdac798a206655a15eae7e463bca Mon Sep 17 00:00:00 2001
From: soryu <soryu@soryu.co>
Date: Mon, 9 Feb 2026 02:35:36 +0000
Subject: Add directive init

---
 makima/frontend/src/components/directives/StepNode.tsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'makima/frontend/src/components/directives/StepNode.tsx')

diff --git a/makima/frontend/src/components/directives/StepNode.tsx b/makima/frontend/src/components/directives/StepNode.tsx
index fa91956..2844b4a 100644
--- a/makima/frontend/src/components/directives/StepNode.tsx
+++ b/makima/frontend/src/components/directives/StepNode.tsx
@@ -46,6 +46,14 @@ export function StepNode({ step, onComplete, onFail, onSkip }: StepNodeProps) {
           {step.description}
         </p>
       )}
+      {step.taskId && (
+        <a
+          href={`/mesh/${step.taskId}`}
+          className="text-[9px] font-mono text-[#556677] hover:text-[#75aafc] underline block mb-1"
+        >
+          {step.status === "running" ? "Auto-executing..." : "View task"}
+        </a>
+      )}
       {(step.status === "running" || step.status === "ready") && (
         <div className="flex gap-1 mt-1">
           {onComplete && (
-- 
cgit v1.2.3

