Releases: dhaern/better-opencode-tools
Releases · dhaern/better-opencode-tools
Better OpenCode Tools v0.2.1
Better OpenCode Tools v0.2.1
This release contains the three standalone OpenCode plugin folders:
opencode-betterreadopencode-bettergrepopencode-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 portablefile://generation. - Uses the resolved absolute
inspection.accessPathfor 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
realpathSyncfails. - 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 testbun run typecheckbun run buildbun run checkgit diff --check
All checks passed.