Add Markdown Formatting

Nucleic-Session: 23936B4B-52E9-43F5-908B-C7919A5BD6DD
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-06-27 20:23:37 -07:00
co-authored by Nucleic
parent 13d4b302b9
commit ee0fa90feb
@@ -59,10 +59,14 @@ struct HostExecToolCard: View {
.font(.caption).foregroundStyle(Palette.accent).frame(width: 16) .font(.caption).foregroundStyle(Palette.accent).frame(width: 16)
VStack(alignment: .leading, spacing: 3) { VStack(alignment: .leading, spacing: 3) {
HStack(alignment: .firstTextBaseline, spacing: 6) { HStack(alignment: .firstTextBaseline, spacing: 6) {
Text("Host").font(.caption.weight(.semibold)) Text("HOST").font(.caption2.weight(.bold)).foregroundStyle(Palette.accent)
if let parsed { if let parsed {
// The command-derived purpose leads as the bold headline; "HOST" is just a
// quiet tag (the desktop glyph already marks it as a host call).
Text(MessageBubble.markdown(parsed.purpose)) Text(MessageBubble.markdown(parsed.purpose))
.font(.caption).lineLimit(1).truncationMode(.tail) .font(.callout.weight(.semibold)).lineLimit(1).truncationMode(.tail)
} else {
Text("Host").font(.callout.weight(.semibold))
} }
} }
HStack(alignment: .firstTextBaseline, spacing: 5) { HStack(alignment: .firstTextBaseline, spacing: 5) {