Skip to content

The open-source app everyone uses to manage agents at work

Update cli/src/commands/client/plugin.ts

gsxdsm0afd5d5630f3
diff --git a/cli/src/commands/client/plugin.ts b/cli/src/commands/client/plugin.ts
index bb54f00d63..59733915d4 100644
--- a/cli/src/commands/client/plugin.ts
+++ b/cli/src/commands/client/plugin.ts
@@ -167,7 +167,7 @@ export function registerPluginCommands(program: Command): void {
);
}
- const plugin = await ctx.api.post<PluginRecord>("/api/plugins/install", {
+ const installedPlugin = await ctx.api.post<PluginRecord>("/api/plugins/install", {
packageName: resolvedPackage,
version: opts.version,
isLocalPath: isLocal,