diff options
| author | TJ Dong <122852285+tj-dong@users.noreply.github.com> | 2026-06-08 20:39:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-08 23:39:14 -0400 |
| commit | dce772f330db12a73e85297918882c0c4f28f030 (patch) | |
| tree | 4999c5ade1242bcfefb3dc0c5bc2443b91fcdd70 /docs | |
| parent | 35bebbbb35d4f461ca6d3302294b45d5602eca13 (diff) | |
feat: show remaining auth time in Chrome Bridge status bar (#5)
* 0.15.36: richer chrome_snapshot + chrome_find/chrome_inspect (ported from foxfirecodes fork)
- chrome_snapshot returns a concise observation (layout, hints, actions, forms,
page map, query matches, diff) with mode/query/maxTextChars params
- new chrome_find (query -> ranked uids) and chrome_inspect (deep element context,
with page.inspect fallback)
- includeSnapshot on click/type/fill/key now embeds the formatted snapshot
- snapshot/inspect logic shipped as eval-free packaged snapshot_injected.js,
sharing window.__PI_CHROME_STATE__ (el- uid scheme) with existing input helpers
* feat: show remaining auth time in Chrome Bridge status bar
Before: ● Chrome Bridge
After: ● Chrome Bridge (14m)
● Chrome Bridge (indefinite)
Changes:
- authCountdownLabel() computes remaining minutes from chromeAuthorizedUntil
- updateChromeStatus appends the label to the status line
- startCountdownTicker() runs setInterval every 60s to refresh the display
while a timed authorization is active; no-ops for indefinite auth
- clearCountdownInterval() called in lockChromeControl and session_shutdown
so no interval leaks on revoke or reload
- scheduleAuthExpiry calls startCountdownTicker so the ticker starts
whenever authorization is granted or restored after /reload
---------
Co-authored-by: Tianren Dong <tianrendong.dtr@gmail.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
