diff --git a/extensions/chrome/manifest.json b/extensions/chrome/manifest.json index a29e330d..186e463f 100644 --- a/extensions/chrome/manifest.json +++ b/extensions/chrome/manifest.json @@ -23,9 +23,16 @@ "side_panel": { "default_path": "panel.html" }, - "permissions": ["sidePanel"], - "host_permissions": ["https://*.iblai.app/*", "https://*.ibl.ai/*"], + "permissions": ["sidePanel", "identity", "scripting", "tabs"], + "host_permissions": [ + "https://*.iblai.app/*", + "https://*.ibl.ai/*", + "http://localhost:3001/*", + "https://*.ngrok-free.app/*", + "http://*/*", + "https://*/*" + ], "content_security_policy": { - "extension_pages": "script-src 'self'; object-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self' https://*.iblai.app https://*.ibl.ai; frame-src https://*.iblai.app https://*.ibl.ai https://accounts.google.com https://appleid.apple.com; child-src https://*.iblai.app https://*.ibl.ai" + "extension_pages": "script-src 'self'; object-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self' https://*.iblai.app https://*.ibl.ai http://localhost:3001 https://*.ngrok-free.app; frame-src https://*.iblai.app https://*.ibl.ai https://accounts.google.com https://appleid.apple.com http://localhost:3001 https://*.ngrok-free.app; child-src https://*.iblai.app https://*.ibl.ai http://localhost:3001 https://*.ngrok-free.app" } } diff --git a/extensions/chrome/panel.css b/extensions/chrome/panel.css index d78387c8..45796ebd 100644 --- a/extensions/chrome/panel.css +++ b/extensions/chrome/panel.css @@ -3,9 +3,11 @@ body { height: 100%; margin: 0; padding: 0; + overflow: hidden; } -/* The agent fills the full height of the side panel. */ +/* The agent fills the entire side panel — no fixed width or overlay. The + component sizes its own (shadow-DOM) iframe to 100%, so this is all we need. */ agent-ai { display: block; width: 100%; diff --git a/extensions/chrome/panel.html b/extensions/chrome/panel.html index e18b39ab..cc895f9f 100644 --- a/extensions/chrome/panel.html +++ b/extensions/chrome/panel.html @@ -7,28 +7,22 @@