You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
π feat(notes): tint inline notes per agent author
When an annotation carries `author`, derive a stable accent color from
a new per-theme `noteAccentPalette` via FNV-1a hash and tint the entire
inline note card from that accent β top/side/bottom borders, the title
row's right-edge bar, the trailing `β΅` guide cap below a multi-row
range, and the body/title backgrounds (derived in HSL with low
saturation and theme-appropriate lightness so `theme.text` /
`theme.muted` body copy stays legible). The cap accent is threaded
through the planned `note-guide-cap` row and resolved in
PierreDiffView, with first-author-wins when two notes share a row+side.
Background tint falls back to `theme.noteBackground` /
`theme.noteTitleBackground` when no author is set, palette resolution
returns null, or accent parsing fails; unauthored notes keep
`theme.noteBorder`. Contrast-ratio tests guard the dark and light theme
palettes against `theme.text`.
Also spread the `3-agent-review-demo` example across all five accent
slots (llama, grok, phi, gemini, sonnet) so one screenshot captures
the full palette.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ All notable user-visible changes to Hunk are documented in this file.
7
7
### Added
8
8
9
9
- Surfaced the agent author name in inline notes and the matching agent popover so multi-agent reviews are readable at a glance, with a fallback title when an annotation has no author.
10
+
- Tinted inline agent notes per author with a stable per-theme accent β borders, the title-row right-edge bar, the guide cap below multi-row ranges, and a soft body/title background β so notes from different agents are visually distinct on the same diff.
Copy file name to clipboardExpand all lines: examples/3-agent-review-demo/agent-context.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
"newRange": [1, 3],
11
11
"summary": "Adds one normalization helper for whitespace, case, and dashed shortcut terms.",
12
12
"rationale": "This lets the search layer reason about one normalized token shape instead of repeating slightly different cleanup logic in multiple places.",
13
-
"author": "sonnet"
13
+
"author": "llama"
14
14
}
15
15
]
16
16
},
@@ -22,13 +22,13 @@
22
22
"newRange": [15, 35],
23
23
"summary": "Prefix and exact keyword matches now outrank weaker substring hits before the result list is sorted.",
24
24
"rationale": "The old behavior made every match look equally good, which was fine for filtering but weak for command-palette ranking where the top result should usually be the most obvious intent.",
25
-
"author": "sonnet"
25
+
"author": "grok"
26
26
},
27
27
{
28
28
"newRange": [20, 27],
29
29
"summary": "Worth checking the score floor β could mask edge cases.",
30
30
"rationale": "The scoring thresholds (4, 3, 2, 1) look good but validate that zero-score items are properly filtered out.",
31
-
"author": "prism"
31
+
"author": "gemini"
32
32
}
33
33
]
34
34
},
@@ -40,7 +40,7 @@
40
40
"newRange": [1, 8],
41
41
"summary": "The preview now shows only the top three ranked commands.",
42
42
"rationale": "Once ranking is reliable, the preview can stay compact and let the best results carry the review without flooding the UI.",
0 commit comments