Merge nucleic/jolly-kelp-marten-pn7t into dev

This commit is contained in:
2026-07-17 20:15:16 -07:00
parent b36a8ead7d
commit 9136a9d8dd
@@ -175,15 +175,16 @@ struct HostCommandBreakdown: View {
private func stepRow(_ inv: HostCommandSummary.Invocation) -> some View {
let risky = inv.destructive || inv.elevated
let tail = stepTail(inv)
let headline = Text(inv.headline)
.font(.caption.monospaced().weight(.semibold))
.foregroundColor(.primary)
let tailText = Text(tail.isEmpty ? "" : " " + tail)
.font(.caption.monospaced())
.foregroundColor(.secondary)
return HStack(alignment: .firstTextBaseline, spacing: 8) {
Image(systemName: stepGlyph(inv))
.font(.caption2).foregroundStyle(risky ? Palette.danger : accent).frame(width: 14)
(Text(inv.headline)
.font(.caption.monospaced().weight(.semibold))
.foregroundColor(.primary)
+ Text(tail.isEmpty ? "" : " " + tail)
.font(.caption.monospaced())
.foregroundColor(.secondary))
Text("\(headline)\(tailText)")
.lineLimit(1).truncationMode(.middle)
.textSelection(.enabled)
Spacer(minLength: 0)