diff --git a/packages/agent-sdk/src/managers/pluginManager.ts b/packages/agent-sdk/src/managers/pluginManager.ts index 2d54bfc7..b2c30072 100644 --- a/packages/agent-sdk/src/managers/pluginManager.ts +++ b/packages/agent-sdk/src/managers/pluginManager.ts @@ -178,7 +178,7 @@ export class PluginManager { for (const p of installedRegistry.plugins) { const pluginId = `${p.name}@${p.marketplace}`; if (this.enabledPlugins[pluginId] !== true) { - logger?.info(`Plugin ${pluginId} is not enabled via configuration`); + logger?.debug(`Plugin ${pluginId} is not enabled via configuration`); continue; } await this.loadSinglePlugin(p.cachePath); @@ -249,7 +249,7 @@ export class PluginManager { } this.plugins.set(manifest.name, plugin); - logger?.info(`Loaded plugin: ${manifest.name} v${manifest.version}`); + logger?.debug(`Loaded plugin: ${manifest.name} v${manifest.version}`); } catch (error) { logger?.error(`Failed to load plugin from ${absolutePath}`, error); } diff --git a/packages/agent-sdk/tests/managers/pluginManager.test.ts b/packages/agent-sdk/tests/managers/pluginManager.test.ts index 752fe0b3..7001d062 100644 --- a/packages/agent-sdk/tests/managers/pluginManager.test.ts +++ b/packages/agent-sdk/tests/managers/pluginManager.test.ts @@ -162,7 +162,7 @@ describe("PluginManager", () => { hooksConfig, ); - expect(logger.info).toHaveBeenCalledWith( + expect(logger.debug).toHaveBeenCalledWith( expect.stringContaining("Loaded plugin: test-plugin"), ); }); @@ -281,12 +281,12 @@ describe("PluginManager", () => { expect(pluginManager.getPlugin("plugin1")).toBeDefined(); expect(pluginManager.getPlugin("plugin2")).toBeUndefined(); expect(pluginManager.getPlugin("plugin3")).toBeUndefined(); - expect(logger.info).toHaveBeenCalledWith( + expect(logger.debug).toHaveBeenCalledWith( expect.stringContaining( "Plugin plugin2@m1 is not enabled via configuration", ), ); - expect(logger.info).toHaveBeenCalledWith( + expect(logger.debug).toHaveBeenCalledWith( expect.stringContaining( "Plugin plugin3@m1 is not enabled via configuration", ), diff --git a/packages/code/src/contexts/useChat.tsx b/packages/code/src/contexts/useChat.tsx index 48584036..6b2762dd 100644 --- a/packages/code/src/contexts/useChat.tsx +++ b/packages/code/src/contexts/useChat.tsx @@ -260,7 +260,7 @@ export const ChatProvider: React.FC = ({ () => throttle( () => { - logger.info("requesting remount"); + logger.debug("requesting remount"); stdout?.write("\u001b[2J\u001b[3J\u001b[0;0H", () => { setRemountKey((prev) => prev + 1); });