fix(macos): honor pnpm/node when locating clawdis for health

This commit is contained in:
Peter Steinberger
2025-12-07 15:07:38 +01:00
parent 96ae0dd23a
commit a3bf0d6002
2 changed files with 15 additions and 4 deletions

View File

@@ -93,8 +93,8 @@ final class HealthStore: ObservableObject {
self.isRefreshing = true
defer { self.isRefreshing = false }
guard CommandResolver.clawdisExecutable() != nil else {
self.lastError = "clawdis CLI not found; install the CLI (pnpm) or symlink it into PATH"
guard CommandResolver.hasAnyClawdisInvoker() else {
self.lastError = "clawdis CLI not found; install deps in the configured project root or add it to PATH"
if onDemand { self.snapshot = nil }
return
}