Skip to content

feat: add /diff command to show git changes in working directory#4839

Open
SHL0MS wants to merge 1 commit into
NousResearch:mainfrom
SHL0MS:feat/diff-command
Open

feat: add /diff command to show git changes in working directory#4839
SHL0MS wants to merge 1 commit into
NousResearch:mainfrom
SHL0MS:feat/diff-command

Conversation

@SHL0MS

@SHL0MS SHL0MS commented Apr 3, 2026

Copy link
Copy Markdown
Collaborator

Shows staged and unstaged changes in the current working directory. /diff shows stat summary + full diff, /diff --stat shows summary only. Uses git diff directly — no checkpoint system required. Works in any git repo. Separates staged vs unstaged changes. Timeouts on all subprocess calls. 65 lines across cli.py and commands.py. Closes #4865

@SHL0MS SHL0MS added the type/feature New feature or request label Apr 3, 2026
Shows staged and unstaged changes in the current working directory.
/diff shows stat summary + full diff, /diff --stat shows summary only.

Uses git diff directly — no checkpoint system required. Works in any
git repository.

Closes NousResearch#4250
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UX] No /diff command to see what the agent changed this session

1 participant