Skip to content

Releases: dhaern/better-opencode-tools

Better OpenCode Tools v0.2.1

29 May 02:12
8734c86

Choose a tag to compare

Better OpenCode Tools v0.2.1

This release contains the three standalone OpenCode plugin folders:

  • opencode-betterread
  • opencode-bettergrep
  • opencode-betterglob

Download the attached ZIP and copy the plugin folders into your OpenCode plugins directory.

Changes since v0.2.0

opencode-betterread

  • Relaxed safe permission path validation to reject only actual glob metacharacters, preserving Unicode paths and safe punctuation.
  • Switched file attachment URLs to pathToFileURL() for portable file:// generation.
  • Uses the resolved absolute inspection.accessPath for image/PDF attachments.
  • Keeps image/PDF text and metadata output while adding plugin attachments where supported.

opencode-bettergrep

  • Resolves relative worktree paths against the tool directory instead of process.cwd().
  • Keeps worktree canonicalization robust with fallback behavior when realpathSync fails.
  • Removes unused Effect bridge helper export.
  • Preserves the existing automatic internal behavior: no extra prompts for symlink following or ripgrep auto-install.

opencode-betterglob

  • Fixes containsPath() so nested entries beginning with .. (for example ..bar) are not treated as parent-directory escapes.
  • Keeps the previous v0.2.0 glob fixes for brace/bracket patterns and leading ./ patterns.

Validation

Validated on main after merging the 0.2.1 follow-ups:

  • bun run test
  • bun run typecheck
  • bun run build
  • bun run check
  • git diff --check

All checks passed.