From d228b0dc58b6066c243a09f997939bd33fc20626 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sat, 2 May 2026 07:38:34 -0700 Subject: [PATCH] fix(plugins): narrow channel install defaults --- src/channels/plugins/catalog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channels/plugins/catalog.ts b/src/channels/plugins/catalog.ts index 331b7b4fed2..4269bdb45f7 100644 --- a/src/channels/plugins/catalog.ts +++ b/src/channels/plugins/catalog.ts @@ -222,7 +222,7 @@ function resolveInstallInfo(params: { localPath = path.relative(params.workspaceDir, params.packageDir) || undefined; } const requestedDefaultChoice = params.install?.defaultChoice; - const defaultChoice = + const defaultChoice: NonNullable = requestedDefaultChoice === "clawhub" && clawhubSpec ? "clawhub" : requestedDefaultChoice === "npm" && npmSpec