v0.4.0
What's New
π Bug Fixes
- Fix
includeparameter silent failure βhashline_grepnow detects whenincludeis passed a file path instead of a glob pattern and auto-corrects - Document anchorless append gotcha β
hashline_editdescription now warns about content duplication on existing files
β¨ New Features (hashline_grep)
ignoreCaseβ case-insensitive matching (likegrep -i)filesOnlyβ return only file paths (likegrep -l)invertMatchβ return non-matching lines (likegrep -v)countOnlyβ return match counts per file (likegrep -c)pathsβ multi-path search support
π₯οΈ CLI Tools (NEW)
Three human-facing CLI tools with 100% feature parity to MCP tools:
hreadβ read files/directories with hashline annotationshgβ search with-i,-l,-v,-c,-C,-gflagsheditβ edit files using hashline anchors (replace/append/prepend/delete/move/JSON mode)
Install globally: npm i -g @paulp-o/hashline-edit-opencode
π§ Internal
- Extracted shared modules (
grep-search.ts,file-utils.ts) for reuse between MCP plugin and CLI - Refactored
runRipgrep/fsBasedSearchto useGrepOptionsinterface