Repository navigation
v0.7.8 - CORS-Safe Ollama Check & Widget Fix
Offlyn Apply v0.7.8 — Release Notes
Release Date: April 3, 2026
Bug Fixes
CORS-Safe Ollama Connectivity Check
- Fixed: Content script Ollama connection checks (
checkOllamaConnection()) were making directfetch()calls tohttp://localhost:11434from job site origins (e.g.,https://jobs.ashbyhq.com), which browsers blocked due to CORS policy. - Impact: Users saw false "Ollama Offline" errors even when Ollama was running, plus console CORS errors on every page scan.
- Solution: All Ollama connectivity checks from content scripts now route through the background script via
CHECK_OLLAMAmessage passing. The background script has unrestricted network access and can reliably reach localhost services.
Widget Panel Positioning
- Fixed: The in-page compatibility widget panel opened off-screen to the left when the widget pill was on the left side of the viewport.
- Solution: Replaced CSS-relative positioning (
left: '0'/right: '0'within the narrow flex root) with calculated pixel offsets based on actual viewport coordinates. The panel now always opens toward the side with more available space, clamped within viewport bounds. - Additional fix: The
dragMovedflag was not reset after drag operations, causing the widget pill to become unclickable. Fixed with a post-drag timeout reset.
Technical Details
Files Changed
src/shared/ollama-service.ts—checkOllamaConnection()now useschrome.runtime.sendMessage({ kind: 'CHECK_OLLAMA' })with a fallback to direct fetch for non-extension contexts.src/background.ts— AddedCHECK_OLLAMAmessage handler that leverages the background's existing connection state andcheckOllamaConnection().src/ui/compatibility-widget.ts— RewroterepositionPanel()to use viewport-coordinate math; addedid="ow-panel"for reliable element lookup; movedrepositionPanel()call to after DOM attachment.
Applies To
- Chrome extension (Manifest V3)
- Firefox extension (Manifest V2)
Artifacts
offlyn-chrome-v0.7.8.zip— Chrome Web Store readyofflyn-firefox-v0.7.8.zip— Firefox Add-ons ready