agent-ecosystem/src/renderer/components/extensions
iliya 60cf80f90a fix: resolve CLI binary dynamically for MCP diagnostics and extension installs
Use ClaudeBinaryResolver instead of null binary path in extension services
(McpHealthDiagnosticsService, PluginInstallService, McpInstallService).
Packaged Electron on macOS has minimal PATH — bare `claude` lookup fails
with ENOENT. Now all CLI calls resolve the binary via ClaudeBinaryResolver
which checks PATH, NVM, standard install dirs and login shell env.

- Add buildEnrichedEnv() helper for child process env (PATH, HOME, USERPROFILE)
- Add stale cache re-verification with 30s TTL in ClaudeBinaryResolver
- Guard execCli() against null binaryPath with explicit error
- Replace projectPath.startsWith('/') with path.isAbsolute() for Windows
- Extract CLI_NOT_FOUND_MARKER/MESSAGE constants for consistent error detection
- Show amber info banner instead of red error when CLI not installed
2026-03-22 13:10:11 +02:00
..
apikeys style: auto-fix import/export sorting and formatting 2026-03-16 20:48:42 +02:00
common style: auto-fix import/export sorting and formatting 2026-03-16 20:48:42 +02:00
mcp fix: resolve CLI binary dynamically for MCP diagnostics and extension installs 2026-03-22 13:10:11 +02:00
plugins style: auto-fix import/export sorting and formatting 2026-03-16 20:48:42 +02:00
skills style: auto-fix import/export sorting and formatting 2026-03-16 20:48:42 +02:00
ExtensionsSubTabTrigger.tsx style: auto-fix import/export sorting and formatting 2026-03-16 20:48:42 +02:00
ExtensionStoreView.tsx style: auto-fix import/export sorting and formatting 2026-03-16 20:48:42 +02:00