From time-machine
Every turn that changes files is a git snapshot off your history: /timeline shows them and puts the working tree back as it was before any turn, Bash changes included. Undoable.
10 events · 18 calls
Ships in time-machine. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runfs.existsfs.listprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startsession.endprompt.submitturn.starttool.callturn.completecommand.run{command=timeline}ui.focus{requestId=time-machine}ui.close{id=time-machine}ui.render{component=Pane, requestId=time-machine}Every mods API method its source calls, by namespace
aftereverynowregisterexistslistruncwdidgetsetdeletegetkeyssetopenresolvetoastWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub midudev/better-claude --plugin time-machine