feat(Add --since, -o, --version, map extension filter)#5
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
exclusive with --map/--from.
output.
Details
The --since flag is the flagship feature. It enables a workflow where the user runs dewdrops --since main ., pastes the output into an LLM, and asks "Review these changes." The output gives the LLM three views: structural map
with change status, unified diff, and full content of changed files. Deleted files appear in the tree with [D] but are excluded from the content section.
The --map extension filter uses Go's IsBoolFlag() interface so --map works as a bare flag (supported extensions only) while --map=value passes a filter. Default supported set: .go, .py, .js/.ts/.jsx/.tsx, .rs, .java/.kt, .rb,
.php, .c/.h/.cpp/.hpp, .sh/.bash, .sql, .md. Config/data files excluded from default to avoid first-3-lines fallback noise.