Releases: paulp-o/hashline-edit-opencode
Releases · paulp-o/hashline-edit-opencode
Release list
v0.4.1
🐛 Bug Fix
- Remove cross-file LSP diagnostics leakage —
hashline_editnow only shows diagnostics for the edited file. Previously, errors/warnings from up to 5 unrelated project files were included in edit responses, causing confusion.
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
v0.2.0 — Auto LSP Detection
What's New
Auto-detect LSP servers (zero-config)
- Plugin now automatically scans project files and detects which languages are present
- Checks PATH for known LSP servers (
Bun.which()) and auto-starts available ones - Supports 21 languages: TypeScript, Python, Rust, Go, C/C++, Java, Ruby, PHP, C#, Swift, Kotlin, Scala, Zig, Vue, Svelte, Lua, YAML, CSS/SCSS, HTML, JSON, TOML
- Shows missing server install hints on first
hashline_editresponse
Breaking Changes
- Removed
opencode.json/opencode.jsoncconfig reading — LSP is now fully automatic - No manual LSP configuration needed or supported
Tests
- 42 new tests (project scanning, PATH detection, registry validation)
- 101 total tests, all passing
Install
npm install @paulp-o/hashline-edit-opencode@0.2.0
Or from this release tarball:
npm install https://github.com/paulp-o/hashline-edit-opencode/releases/download/v0.2.0/paulp-o-hashline-edit-opencode-0.2.0.tgz