Add magenta to the shared status styles · Entire

Add magenta to the shared status styles

2130467→main·

computermode·2w ago·1 file·+10 added/-8 removed

The trail list/show coloring needs a magenta foreground (ANSI 5) for the merged status. Add it alongside the existing green/red/gray/cyan/yellow styles so it's built only when color is enabled.

Sessions

23d5ffcbb9aaView transcript

[?
Enhance Trails CLI Output ColoringClaude Code·Opus 4.8·16 steps](/content/gh/entireio/cli/session/6eb0647c-ca86-4afc-9812-62b4044c8253#timeline-23d5ffcbb9aa/index.html)

Changes

1

20 unmodified lines

21
22
23
24
25
26
27
28
29
30
31
24
25
26
27
28
29
30
31
32
33
34
35
15 unmodified lines

51
52
53
54
55
56
57

20 unmodified lines

width        int

// Styles
    green  lipgloss.Style
    red    lipgloss.Style
    gray   lipgloss.Style
    bold   lipgloss.Style
    dim    lipgloss.Style
    agent  lipgloss.Style // amber/orange for agent names
    cyan   lipgloss.Style
    yellow lipgloss.Style // yellow for stale warnings
    green   lipgloss.Style
    red     lipgloss.Style
    gray    lipgloss.Style
    bold    lipgloss.Style
    dim     lipgloss.Style
    agent   lipgloss.Style // amber/orange for agent names
    cyan    lipgloss.Style
    yellow  lipgloss.Style // yellow for stale warnings
    magenta lipgloss.Style
}

// newStatusStyles creates styles appropriate for the output writer.
15 unmodified lines

s.agent = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("214"))
        s.cyan = lipgloss.NewStyle().Foreground(lipgloss.Color("6"))
        s.yellow = lipgloss.NewStyle().Foreground(lipgloss.Color("3"))
        s.magenta = lipgloss.NewStyle().Foreground(lipgloss.Color("5"))
    }

return s

Mcmd/entire/cli/status_style.go+10/-8