Commit 75b01da
Treat skill expansions (isMeta) as continuations for prompt numbering
Skill expansion messages have isMeta=True in JSONL sessions. These are
system-injected, not user-typed prompts. They should be treated as
continuations of the previous conversation for prompt numbering purposes.
This fixes the code viewer showing all blame as "prompt simonw#2" when a skill
was invoked - now all operations are correctly attributed to prompt #1
(the original user request to invoke the skill).
- Preserve isMeta field in JSONL parsing
- Treat isMeta entries like isCompactSummary (continuations)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 7ebad63 commit 75b01da
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
625 | 629 | | |
626 | 630 | | |
627 | 631 | | |
| |||
1199 | 1203 | | |
1200 | 1204 | | |
1201 | 1205 | | |
| 1206 | + | |
1202 | 1207 | | |
1203 | 1208 | | |
1204 | 1209 | | |
| |||
1215 | 1220 | | |
1216 | 1221 | | |
1217 | 1222 | | |
| 1223 | + | |
1218 | 1224 | | |
1219 | 1225 | | |
1220 | 1226 | | |
1221 | 1227 | | |
1222 | | - | |
| 1228 | + | |
1223 | 1229 | | |
1224 | 1230 | | |
1225 | 1231 | | |
| |||
1706 | 1712 | | |
1707 | 1713 | | |
1708 | 1714 | | |
| 1715 | + | |
1709 | 1716 | | |
1710 | 1717 | | |
1711 | 1718 | | |
| |||
1722 | 1729 | | |
1723 | 1730 | | |
1724 | 1731 | | |
| 1732 | + | |
1725 | 1733 | | |
1726 | 1734 | | |
1727 | 1735 | | |
1728 | 1736 | | |
1729 | | - | |
| 1737 | + | |
1730 | 1738 | | |
1731 | 1739 | | |
1732 | 1740 | | |
| |||
0 commit comments