browser-assistant 2.8.23 → 2.8.25

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.
package/README.md CHANGED
@@ -10,7 +10,7 @@ A Chrome Manifest V3 extension with a local Python backend for exploring multipl
10
10
  - Displays results in an in-page panel, offers code copying, and saves successful scans in local SQLite history.
11
11
  - Includes a local practice page and automation for selecting answers, filling editors, and submitting supported forms after starting a run.
12
12
  - Resumes CCBP practice from an already submitted answer through its submitted-question Next control, without generating or submitting that answer again. Delayed Submit controls are awaited for up to 15 seconds while the question and selected answer remain unchanged.
13
- - Press **Alt + Shift + A** on the webpage to start automation, then press it again to pause or resume. It also works with the code editor focused and opens QA Control. Journal automation uses the same toggle; its existing **Alt + Shift + J** shortcut remains available.
13
+ - Press **Alt + A** on the webpage to start automation, then press it again to pause or resume. The previous **Alt + Shift + A** shortcut also works. It also works with the code editor focused and opens QA Control. Journal automation uses the same toggle; its existing **Alt + Shift + J** shortcut remains available.
14
14
 
15
15
  AI answers can be wrong. Automation can change or submit page content: use it only where authorized, review results, and avoid restricted assessments. Site detection is heuristic; custom controls, frames, editors, and navigation can fail. The policy includes a general HTTP/HTTPS fallback, so it is not a strict site allowlist.
16
16
 
@@ -2058,7 +2058,7 @@ function mountJournalCountdown(signal) {
2058
2058
  root.style.display = 'none';
2059
2059
  }
2060
2060
  function handleAutomationShortcut(e) {
2061
- if (e.repeat || e.isComposing || e.defaultPrevented || !e.altKey || !e.shiftKey || e.ctrlKey || e.metaKey
2061
+ if (e.repeat || e.isComposing || e.defaultPrevented || !e.altKey || e.ctrlKey || e.metaKey
2062
2062
  || (e.code !== 'KeyA' && String(e.key).toLowerCase() !== 'a'))
2063
2063
  return false;
2064
2064
  e.preventDefault();
@@ -2583,11 +2583,11 @@ function mountJournalCountdown(signal) {
2583
2583
  <div class="assistant-qa-latest" id="assistant-automation-latest" aria-live="polite"></div>
2584
2584
  <div id="assistant-journal-slot"></div>
2585
2585
  <div class="assistant-automation-actions assistant-qa-actions">
2586
- <button class="assistant-auto-btn start" id="assistant-auto-start-btn" aria-keyshortcuts="Alt+Shift+A" title="Start automation (Alt + Shift + A)">▶ Start automation</button>
2587
- <button class="assistant-auto-btn" id="assistant-auto-pause-btn" aria-keyshortcuts="Alt+Shift+A" title="Pause or resume (Alt + Shift + A)" disabled>Pause</button>
2586
+ <button class="assistant-auto-btn start" id="assistant-auto-start-btn" aria-keyshortcuts="Alt+A Alt+Shift+A" title="Start automation (Alt + A)">▶ Start automation</button>
2587
+ <button class="assistant-auto-btn" id="assistant-auto-pause-btn" aria-keyshortcuts="Alt+A Alt+Shift+A" title="Pause or resume (Alt + A)" disabled>Pause</button>
2588
2588
  <button class="assistant-auto-btn stop" id="assistant-auto-stop-btn" disabled>■ Stop</button>
2589
2589
  </div>
2590
- <p class="assistant-automation-status">Alt + Shift + A: Start / Pause / Resume</p>
2590
+ <p class="assistant-automation-status">Alt + A: Start / Pause / Resume</p>
2591
2591
  <button class="assistant-auto-btn" id="assistant-export-question-btn">Export question details</button>
2592
2592
  </section>
2593
2593
  `;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "Browser Assistant",
4
- "version": "2.8.23",
4
+ "version": "2.8.25",
5
5
  "description": "Scans webpages for MCQs and coding problems. Powered by Groq (cloud) and Ollama (local fallback).",
6
6
  "permissions": [
7
7
  "activeTab",
@@ -70,7 +70,7 @@
70
70
  <div class="shortcut-row"><span>Vision scan</span> <kbd>\</kbd></div>
71
71
  <div class="shortcut-row"><span>Minimal mode</span> <kbd>[</kbd></div>
72
72
  <div class="shortcut-row"><span>Journal fill &amp; submit</span> <kbd>Alt+Shift+J</kbd></div>
73
- <div class="shortcut-row"><span>Automation start / pause / resume</span> <kbd>Alt+Shift+A</kbd></div>
73
+ <div class="shortcut-row"><span>Automation start / pause / resume</span> <kbd>Alt+A</kbd></div>
74
74
  </div>
75
75
  <script src="popup.js"></script>
76
76
  </body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-assistant",
3
- "version": "2.8.23",
3
+ "version": "2.8.25",
4
4
  "description": "Chrome extension and local Python backend for exploring webpage questions and coding exercises",
5
5
  "license": "MIT",
6
6
  "repository": {
package/server/main.py CHANGED
@@ -191,7 +191,7 @@ async def lifespan(_app: FastAPI):
191
191
  client.close()
192
192
 
193
193
 
194
- app = FastAPI(title="Browser Assistant API", version="2.8.23", lifespan=lifespan)
194
+ app = FastAPI(title="Browser Assistant API", version="2.8.25", lifespan=lifespan)
195
195
  install_local_guards(app)
196
196
 
197
197
  @app.exception_handler(HTTPException)