Merge remote-tracking branch 'origin/main' into mcp

Carlos Alexandro Becker created

Change summary

Taskfile.yaml                                                            | 4 
internal/tui/components/core/core.go                                     | 7 
internal/tui/components/core/testdata/TestStatus/EmptyDescription.golden | 2 
internal/tui/components/mcp/mcp.go                                       | 2 
4 files changed, 9 insertions(+), 6 deletions(-)

Detailed changes

Taskfile.yaml 🔗

@@ -38,7 +38,7 @@ tasks:
   run:
     desc: Run build
     cmds:
-      - go run .
+      - go run . {{.CLI_ARGS}}
 
   test:
     desc: Run tests
@@ -104,6 +104,6 @@ tasks:
       - git push origin --tags
 
   fetch-tags:
-      cmds:
+    cmds:
       - git tag -d nightly || true
       - git fetch --tags

internal/tui/components/core/core.go 🔗

@@ -110,14 +110,17 @@ func Status(opts StatusOpts, width int) string {
 			extraContentWidth += 1
 		}
 		description = ansi.Truncate(description, width-lipgloss.Width(icon)-lipgloss.Width(title)-2-extraContentWidth, "…")
+		description = t.S().Base.Foreground(descriptionColor).Render(description)
 	}
-	description = t.S().Base.Foreground(descriptionColor).Render(description)
 
 	content := []string{}
 	if icon != "" {
 		content = append(content, icon)
 	}
-	content = append(content, title, description)
+	content = append(content, title)
+	if description != "" {
+		content = append(content, description)
+	}
 	if opts.ExtraContent != "" {
 		content = append(content, opts.ExtraContent)
 	}

internal/tui/components/mcp/mcp.go 🔗

@@ -55,7 +55,7 @@ func RenderMCPList(opts RenderOptions) []string {
 
 		// Determine icon and color based on state
 		icon := t.ItemOfflineIcon
-		description := l.MCP.Command
+		description := ""
 		extraContent := ""
 
 		if state, exists := mcpStates[l.Name]; exists {