last-turn-diff

by Romulo Drumond · ★ 0 · updated 12 days ago

PanesBandsGuardsCommandswarnings

0

Shows the file edits Claude made in the last turn, and earlier turns, in a pane, built from its own Edit, Write and NotebookEdit calls (no git).

install last-turn-diff

Install

/plugin marketplace add RomuloDrumond/claude-last-turn-diff
/plugin install last-turn-diff@last-turn-diff

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startclassic.SessionStartcommand.runturn.starttool.callturn.completeui.render
API calls
$.agent.list$.command.register$.fs.exists$.fs.read$.session.cwd$.session.messages$.session.version$.state.get$.state.set$.store.get$.store.set$.ui.copy$.ui.open$.ui.resolve$.ui.scroll$.ui.toast
Draws
AbovePromptPane
Can see
classic hooksevery tool call
Reach
level 1 of 3 writes the clipboardreads filesreads the transcriptreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/RomuloDrumond/claude-last-turn-diff
Path in repo
repository root
Source commit
25dbe66 the exact code the scan read
Author
Romulo Drumond @RomuloDrumond
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.