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
refactor(cli/exp_agents): remove dead gitChanges plumbing
The earlier fetchChatDiffContents refactor dropped the GetChatGitChanges
dispatch from toggleDiffDrawerCmd, which orphaned the whole gitChangesMsg
consumer chain. m.chat.gitChanges is never populated, so every downstream
consumer worked against a permanently nil slice and resolvedChatDiffChanges
always fell through to parseChatGitChangesFromUnifiedDiff.
Drop:
- gitChangesMsg struct and its chat handler branch
- gitChanges field on chatViewModel and its reset in setChat
- Draft/gitChangesMsg stale-generation test case
- resolvedChatDiffChanges helper now that the parsed-from-diff path is
the only one we ever hit
- changes parameter from renderChatDiffSummary and renderDiffDrawer
(both are now driven purely by the ChatDiffContents input)
Callers and tests are updated accordingly. No behavior change: the
diff drawer still derives its summary from the unified diff via
parseChatGitChangesFromUnifiedDiff.
0 commit comments