Commit graph

10 commits

Author SHA1 Message Date
Sun Tao
eb838b42cc fix: strip ref=eXXX from overlay summary on frontend
Backend may not always resolve ref to element name (e.g. when snapshot
cache is empty). Strip internal ref IDs from the display text on the
frontend side as a safety net so users never see "Click: ref=e171".

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 20:17:49 +08:00
Sun Tao
ae17e922d7 fix: show human-readable action names in overlay summary
Use the action name (e.g. "Select", "Click", "Type") as the primary
overlay summary text instead of raw tool parameters like
"ref=e621, value=4 - Low". Short details are appended when brief enough.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 19:42:56 +08:00
Sun Tao
c9e0f7ab0d fix: add WebSocket keep-alive to prevent service worker sleep
Chrome MV3 service workers sleep after ~30s idle, dropping the
WebSocket connection. Send a PING every 20s to keep it alive.
Backend ignores PING messages silently.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 10:38:28 +08:00
Sun Tao
4cfd8c85f8 fix: restore aurora overlay after page navigation
Content script re-injects on navigation, resetting overlay state.
Track isAgentTaskRunning in background and re-send aurora state when
content script sends OVERLAY_READY after reload.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 10:24:53 +08:00
Sun Tao
41ade21d9a fix: address PR review - remove bridge.js, clean debug logs, dedup element resolver
- Remove overlay/bridge.js that exposed window.__eigentOverlay to page
  context (XSS risk: any page JS could control the overlay)
- Remove bridge.js from manifest content_scripts
- Clean up console.log debug statements in content.js
- Remove bridge event listeners from content.js
- Refactor highlightElement to reuse resolveElementRect instead of
  duplicating the 4-method element lookup logic

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 10:18:09 +08:00
Douglas
121fbf4092 refector ui ux 2026-04-02 16:45:32 +01:00
Sun Tao
3ef1cee4e8 update 2026-04-02 12:53:34 +08:00
Sun Tao
cbd3cf930e update 2026-03-31 17:20:08 +08:00
puzhen
7bc8d44e56 move extension files into extensions/chrome_extension/ 2026-03-04 14:34:04 +00:00
puzhen
549442ef56 rename extension to extensions 2026-03-04 14:31:24 +00:00