Skip to content

v0.4.0

Choose a tag to compare

@paulp-o paulp-o released this 05 Apr 13:25
· 1 commit to main since this release

What's New

πŸ› Bug Fixes

  • Fix include parameter silent failure β€” hashline_grep now detects when include is passed a file path instead of a glob pattern and auto-corrects
  • Document anchorless append gotcha β€” hashline_edit description now warns about content duplication on existing files

✨ New Features (hashline_grep)

  • ignoreCase β€” case-insensitive matching (like grep -i)
  • filesOnly β€” return only file paths (like grep -l)
  • invertMatch β€” return non-matching lines (like grep -v)
  • countOnly β€” return match counts per file (like grep -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 annotations
  • hg β€” search with -i, -l, -v, -c, -C, -g flags
  • hedit β€” 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/fsBasedSearch to use GrepOptions interface