Fix ShowBrowser merge + consistent browser defaults (#15, #16) #38

Merged
Claude merged 1 commits from fix/merge-options-and-browser-defaults into main 2026-02-15 16:23:08 +00:00
Collaborator

Summary

  • Change ShowBrowser from bool to *bool in BrowserOptions so nil means "don't override" in mergeOptions(), fixing the bug where it always overwrote the base value
  • Add extractor.Bool() helper for convenient *bool construction
  • Align NewInteractiveBrowser default browser from Chromium to Firefox, matching NewBrowser
  • Update README example and CLI flags for the *bool change

Test plan

  • go build ./... passes
  • go test ./... passes
  • go vet ./... passes
  • Verify mergeOptions no longer resets ShowBrowser to false when not explicitly set

Closes #15, #16
Parent: #31 (Phase 3, PR 7)

🤖 Generated with Claude Code

## Summary - Change `ShowBrowser` from `bool` to `*bool` in `BrowserOptions` so `nil` means "don't override" in `mergeOptions()`, fixing the bug where it always overwrote the base value - Add `extractor.Bool()` helper for convenient `*bool` construction - Align `NewInteractiveBrowser` default browser from Chromium to Firefox, matching `NewBrowser` - Update README example and CLI flags for the `*bool` change ## Test plan - [x] `go build ./...` passes - [x] `go test ./...` passes - [x] `go vet ./...` passes - [ ] Verify `mergeOptions` no longer resets `ShowBrowser` to false when not explicitly set Closes #15, #16 **Parent:** #31 (Phase 3, PR 7) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Claude added 1 commit 2026-02-15 16:23:03 +00:00
fix: ShowBrowser merge behavior and consistent browser defaults
All checks were successful
CI / vet (pull_request) Successful in 1m49s
CI / build (pull_request) Successful in 1m51s
CI / test (pull_request) Successful in 1m52s
328455de32
- Change ShowBrowser from bool to *bool so nil means "don't override"
  in mergeOptions(), fixing the bug where it always overwrote the base
- Add Bool() helper for convenient *bool construction
- Align NewInteractiveBrowser default from Chromium to Firefox to match
  NewBrowser
- Update README example and CLI flags for the *bool change

Closes #15, #16

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude merged commit 0df639abea into main 2026-02-15 16:23:08 +00:00
Claude deleted branch fix/merge-options-and-browser-defaults 2026-02-15 16:23:08 +00:00
Sign in to join this conversation.