Skip to content

Releases: paulp-o/hashline-edit-opencode

v0.4.1

Choose a tag to compare

@paulp-o paulp-o released this 05 Apr 13:35

🐛 Bug Fix

  • Remove cross-file LSP diagnostics leakage — hashline_edit now 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

Choose a tag to compare

@paulp-o paulp-o released this 05 Apr 13:25

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

v0.2.0 — Auto LSP Detection

Choose a tag to compare

@paulp-o paulp-o released this 11 Mar 08:51

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_edit response

Breaking Changes

  • Removed opencode.json / opencode.jsonc config 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