feat(browser/ux): visible in-tab AI control indicator, action highlight and optional agent cursor
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 18/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- react, typescript
Línea de trabajo
Start with the existing highlight and status code: src/browser/executor.ts (HIGHLIGHT_MS, onActivity), src/browser/tab-marker.ts, src/browser/adapters/cdp/cdp-adapter.ts, and src/sidepanel/browser/BrowserActivity.tsx. The issue asks for a design first, then a P0 in-tab indicator tied to Pause, Stop and revoke state, with no click interception. Done means the design is agreed in the thread and the P0 acceptance criteria can be checked in both Standard and Advanced builds. This needs maintainer input before any coding.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Bối cảnh
Connected Browser đã có cơ chế thông báo và kiểm soát cơ bản, nhưng người dùng đang nhìn trực tiếp trang web vẫn khó nhận ra lúc nào agent đang điều khiển, sắp bấm vào đâu và làm cách nào để can thiệp ngay.
Đây là cải tiến UX/AX sau #18, không làm lại browser control, permission/grant, approval hay Pause/Stop đã có.
Hiện trạng từ mã nguồn
src/browser/tab-marker.ts: badgeAImàu tím + tooltip tên agent trên toolbar, không inject dấu hiệu vào trang.src/browser/executor.ts: highlight target trước click vớiHIGHLIGHT_MS = 250, best-effort.src/browser/adapters/cdp/cdp-adapter.ts: CDPOverlay.highlightNodeđã hỗ trợ border/fill highlight.src/sidepanel/browser/BrowserActivity.tsx: activity strip, tên agent/action/domain, nút Pause/Resume/Stop và approval.- #18 (đã đóng) bao gồm UX browser control cơ bản.
Khoảng trống: toolbar badge/side panel không phải lúc nào cũng nằm trong tầm nhìn, highlight 250 ms rất dễ bị bỏ lỡ. Chưa thấy cơ chế con trỏ AI hoạt họa hoặc chỉ báo điều khiển liên tục ngay trong nội dung tab ở các phần mã nguồn đã kiểm tra. Cần xác minh cả Standard và Advanced build trước khi triển khai.
Mục tiêu
Người dùng chỉ cần nhìn tab là phân biệt được rõ AI đang điều khiển / đang tạm dừng / người dùng đã tiếp quản, biết hành động hiện tại và có cách dừng nhanh, mà không đánh đổi bảo mật hoặc gây cản trở tương tác.
Phạm vi triển khai
P0 - Trạng thái rõ ràng ngay trong agent-owned tab
- Thiết kế indicator gọn, dễ nhận diện ngay trong tab do agent sở hữu:
Dewee · AI đang điều khiển, tên agent và trạng tháiActive / Paused / Takeover. - Có thể dùng viền viewport tím nhẹ + compact floating status; không cần hiệu ứng phát sáng mạnh liên tục. Chỉ xuất hiện trong agent-owned tabs thuộc grant hợp lệ. Badge toolbar vẫn là tín hiệu tin cậy dự phòng.
- Pause / Stop phải truy cập nhanh; nếu hiển thị nút trong trang, hành động phải đi qua cùng local control authority và dùng nguyên policy hiện tại. Trạng thái hiển thị phải được đồng bộ với side panel/background.
- Khi revoke, stop, disconnect, tab close, navigation ngoài grant hoặc grant hết hạn: dọn UI đúng vòng đời, không để overlay mồ côi. Khi paused/takeover, trạng thái đổi ngay; không thể hiểu nhầm AI vẫn thao tác.
- Không chặn click, focus, selection, nhập liệu hoặc nội dung website; các thành phần chỉ báo mặc định
pointer-events: nonetrừ controls có chủ đích. Không đặt lên password/payment inputs, approval UI quan trọng, hoặc site/URL bị cấm.
P1 - Trực quan hóa thao tác, không giả lập sai thực tế
- Làm rõ target trước click: highlight dễ thấy hơn 250 ms (ví dụ ~500-800 ms trong Watch mode), có thể chỉnh/thử nghiệm thời lượng; chế độ nhanh giữ latency thấp.
- Hiển thị mô tả thao tác đang diễn ra (ví dụ
Đang bấm nút Gửi,Đang nhập văn bản,Đang cuộn trang) với target đã được làm sạch thông tin nhạy cảm. Không render nội dung gõ, mật khẩu, form data hay DOM riêng tư. - Optional animated agent cursor/focus trail dẫn mắt tới target trước click/scroll, phân biệt rõ đây là con trỏ minh họa của AI chứ không phải hardware mouse pointer. Không tạo click giả, không làm thay đổi hành vi command.
- Dùng chung semantic action state cho Standard và Advanced (CDP) nếu khả thi; tránh mỗi adapter có một cách hiển thị/trạng thái lệch nhau.
P2 - Cài đặt, accessibility và hiệu suất
- Có tuỳ chọn
Minimal / Watch(hoặc tương đương) cho mức độ trực quan; mặc định vừa đủ rõ, tránh gây xao nhãng. - Hỗ trợ vi/en, light/dark/system,
prefers-reduced-motion, tương phản tốt, keyboard accessibility và screen reader. - Không tự giành focus, không gây layout shift; chi phí CPU/DOM tối thiểu; không thêm permission hoặc dependency không cần thiết.
Tiêu chí nghiệm thu
- Trên tab do agent mở và kiểm soát, người dùng không mở side panel vẫn nhận ra trạng thái AI trong lúc hoạt động; tab thường không có indicator.
- Click có target feedback nhìn thấy rõ ở Watch mode; điều chỉnh này không âm thầm tăng delay của Fast/Minimal mode.
- Pause/Stop/revoke/user takeover cập nhật indicator và dừng thao tác theo chính sách hiện hành; không có UI mắc kẹt sau navigation/tab close/crash/reconnect.
- Test cả Standard và Advanced build: SPA navigation, nested iframes, scrolling, nhiều tab, cross-origin/unsupported targets, user takeover giữa action.
- Test reduced-motion, bàn phím, dark/light, vi/en; overlay không intercept click/typing và không lộ dữ liệu nhạy cảm.
- Không thay đổi authorization, approval, grant scope, tab ownership, không truyền DOM/typed contents lên telemetry để phục vụ hiệu ứng.
- Có e2e/video hoặc screenshot minh chứng rõ các trạng thái Active/Paused/Stopped/Takeover, cũng như lúc click/scroll.
Gợi ý thực thi
Tận dụng ExecutorDeps.onActivity, PanelState, TabMarker, các adapter highlight đã có. Bắt đầu bằng in-tab indicator + action state (P0), rồi mới thêm con trỏ hoạt họa (P1). Overlay trong trang là UX hint, không phải ranh giới bảo mật: mọi quyền, Pause/Stop và approval vẫn được thực thi ở extension background/local guard.
Không nằm trong phạm vi: thay mới CDP/Standard executor, thay permission model, sửa các issue bảo mật khác, hoặc làm full remote-desktop streaming.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2
- Forks
- 1
- Merge medio
- 2 d 5 h
- PR fusionados (30 d)
- 4
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nextlevelbuilder/dewee-chrome-ext
-
feat(browser): structured observations v2 and policy-checked micro-batching for adaptive decisionsAbiertoenhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
-
feat(quality): QGP browser postconditions, DOM-first verification và opt-in visual escalationAbiertoenhancement security
Dificultad 5/5 Más de una semana Aptitud para principiantes 28/100
-
enhancement security
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
nextlevelbuilder/dewee-chrome-ext#35 · 2 comentarios ·
-
security(browser): block off-grant navigations in agent tabs before the request leaves ChromeQuizá libre de nuevo @mrgoonie la tomó hace 48 días y no hay ningún pull request abierto. Abiertoneeds-design security
nextlevelbuilder/dewee-chrome-ext#33 · 1 asignado ·
-
bug
Dificultad 4/5 1-2 días Aptitud para principiantes 35/100
Todos los issues de nextlevelbuilder/dewee-chrome-ext
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
makecindy/cindy#15342 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
kwitsch/claude-code-plugin-tooling#219 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
no-repo-link tool-submission
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
BraveOPotato/NoSignups#2618 ·
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100