n8n-nodes-smart-browser-automation 1.1.6 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -287,11 +287,7 @@ class SmartBrowserAutomation {
287
287
  // AI Agent mode: Just initialize or close
288
288
  const operation = this.getNodeParameter('operation', i);
289
289
  if (operation === 'initialize') {
290
- // Pull CDP URL from options if available, fallback to credentials
291
- const cdpUrl = options.cdpUrl || credentials.cdpEndpoint;
292
- if (verbose) {
293
- console.log(`Initializing AI session with CDP: ${cdpUrl}`);
294
- }
290
+ const cdpUrl = credentials.cdpEndpoint;
295
291
  const tools = await sessionManager.initialize(credentials.mcpEndpoint, true, cdpUrl);
296
292
  let connectionStatus = 'Skipped (No CDP URL provided)';
297
293
  let connectionResult = null;
@@ -316,7 +312,7 @@ class SmartBrowserAutomation {
316
312
  browserConnection: connectionStatus,
317
313
  browserResponse: connectionResult,
318
314
  totalToolsAvailable: tools.length,
319
- // We omit the full tools list here to keep the n8n UI clean
315
+ availableTools: tools.map(t => t.name),
320
316
  },
321
317
  pairedItem: i,
322
318
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-smart-browser-automation",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "n8n node for AI-driven browser automation using MCP",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",