feat(version): enhance version detection and display across sidecar and binary installations

- Implement regex-based version extraction for more reliable parsing
- Add version detection for bundled sidecar installations with proper execution
- Improve version checking for sidecar binary with timeout and error handling
- Update UI to display version with "v" prefix for consistency
- Add comprehensive logging for version detection debugging
- Handle edge cases in version extraction with fallback mechanisms
This commit is contained in:
Mufeed VH
2025-07-04 18:25:06 +05:30
parent 6ab32ea20f
commit 9b4777978e
4 changed files with 194 additions and 29 deletions

View File

@@ -112,7 +112,7 @@ export const Topbar: React.FC<TopbarProps> = ({
/>
<span>
{versionStatus.is_installed && versionStatus.version
? `Claude Code ${versionStatus.version}`
? `Claude Code v${versionStatus.version}`
: "Claude Code"}
</span>
</div>