browse-code 0.2.9__tar.gz → 0.2.11__tar.gz

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.
Files changed (23) hide show
  1. {browse_code-0.2.9 → browse_code-0.2.11}/PKG-INFO +1 -1
  2. browse_code-0.2.11/browse_code/__init__.py +1 -0
  3. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code/extension/content.js +1 -7
  4. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code.egg-info/PKG-INFO +1 -1
  5. {browse_code-0.2.9 → browse_code-0.2.11}/setup.py +1 -1
  6. browse_code-0.2.9/browse_code/__init__.py +0 -1
  7. {browse_code-0.2.9 → browse_code-0.2.11}/README.md +0 -0
  8. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code/cli.py +0 -0
  9. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code/extension/icon128.png +0 -0
  10. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code/extension/icon16.png +0 -0
  11. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code/extension/icon48.png +0 -0
  12. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code/extension/manifest.json +0 -0
  13. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code/extension/popup.html +0 -0
  14. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code/extension/popup.js +0 -0
  15. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code/extension/spoof.js +0 -0
  16. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code/server.py +0 -0
  17. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code.egg-info/SOURCES.txt +0 -0
  18. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code.egg-info/dependency_links.txt +0 -0
  19. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code.egg-info/entry_points.txt +0 -0
  20. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code.egg-info/requires.txt +0 -0
  21. {browse_code-0.2.9 → browse_code-0.2.11}/browse_code.egg-info/top_level.txt +0 -0
  22. {browse_code-0.2.9 → browse_code-0.2.11}/pyproject.toml +0 -0
  23. {browse_code-0.2.9 → browse_code-0.2.11}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: browse_code
3
- Version: 0.2.9
3
+ Version: 0.2.11
4
4
  Summary: Turn any AI chatbot into an autonomous coding agent
5
5
  Description-Content-Type: text/markdown
6
6
  Requires-Dist: fastapi
@@ -0,0 +1 @@
1
+ __version__ = "0.2.11"
@@ -6,7 +6,7 @@ let PLATFORM = {};
6
6
  if (hostname.includes('gemini.google.com')) {
7
7
  PLATFORM = {
8
8
  name: "Gemini",
9
- inputBox: 'rich-textarea div[contenteditable="true"], div[role="textbox"][contenteditable="true"]',
9
+ inputBox: 'rich-textarea div[contenteditable="true"], div[role="textbox"][contenteditable="true"], .ql-editor, textarea, input',
10
10
  sendBtn: 'button[aria-label*="Send"], button[aria-label*="send"], button[mattooltip*="Send"]',
11
11
  responseContainer: 'message-content, model-response, .model-response-text'
12
12
  };
@@ -257,12 +257,6 @@ function processQueue() {
257
257
  const userText = inputBox.tagName === 'INPUT' || inputBox.tagName === 'TEXTAREA' ? inputBox.value : inputBox.textContent;
258
258
  if (userText && userText.trim() !== "") return;
259
259
 
260
- // Do not inject if the LLM is currently generating (Send button is missing or disabled)
261
- const sendButton = document.querySelector(PLATFORM.sendBtn);
262
- if (!sendButton || sendButton.disabled || sendButton.getAttribute('aria-disabled') === 'true') {
263
- return;
264
- }
265
-
266
260
  const nextMessage = messageQueue.shift();
267
261
  isInjectingQueue = true;
268
262
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: browse_code
3
- Version: 0.2.9
3
+ Version: 0.2.11
4
4
  Summary: Turn any AI chatbot into an autonomous coding agent
5
5
  Description-Content-Type: text/markdown
6
6
  Requires-Dist: fastapi
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="browse_code",
5
- version="0.2.9",
5
+ version="0.2.11",
6
6
  description="Turn any AI chatbot into an autonomous coding agent",
7
7
  long_description=open("README.md").read(),
8
8
  long_description_content_type="text/markdown",
@@ -1 +0,0 @@
1
- __version__ = "0.2.9"
File without changes
File without changes
File without changes