Skip to content

Claude Code autodetect fails on macOS 26.2 + Homebrew Cask v2.1.62 (installMethod: unknown) #451

@lucas-sesti

Description

@lucas-sesti

Bug Report

CodexBar Version: 0.18.0-beta.3
macOS Version: 26.2 (Build 25C56)
Claude Code Version: 2.1.62 (Homebrew Cask - latest)

What happened?

CodexBar fails to autodetect Claude Code provider despite CLI working perfectly in terminal. "Provider Autodetect" shows no Claude, diagnostics show RPCWireError or "CLI not found".

Diagnostics

Terminal:
$ which claude
/opt/homebrew/bin/claude

$ claude --version
2.1.62 (Claude Code)

$ claude /doctor
Diagnostics
└ Currently running: package-manager (2.1.62)
└ Package manager: homebrew
└ Path: /opt/homebrew/Caskroom/claude-code/2.1.62/claude
└ Config install method: unknown ← SUSPECT
└ Search: OK (bundled)

CLI Tests (ALL WORKING):
claude /usage ✓
claude /status ✓
claude /doctor ✓

PATH contains: /opt/homebrew/bin (early position)

Tried (no success)

  • ✅ Keychain "Always Allow" for CodexBar
  • ✅ Full Disk Access granted
  • ✅ Restart app, shell, macOS login
  • ✅ Force Provider Autodetect x5
  • claude config set --global installMethod homebrew (error: unknown option)
  • brew info --cask claude-code (up-to-date)

Shell: /bin/zsh

Suspected cause

  1. Config install method: unknown confuses PTY/shell detection
  2. macOS 26.2 + Homebrew Cask path (/opt/homebrew/Caskroom/...) not handled
  3. Claude v2.1.62 config flags missing --global support

Minimal repro

brew install --cask claude-code # v2.1.62

CLI works ✓
CodexBar autodetect → fails

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedConfirmed backlog item or verified open bugarea:cli-integrationCLI detection, PTY interaction, config compatibilitybugSomething isn't workingpriority:mediumMedium priority: real issue or meaningful backlog itemprovider:claudeIssue specific to Claude

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions