Skip to content

Feat: browser extension#1436

Draft
nitpicker55555 wants to merge 24 commits intomainfrom
feat/browser_extension
Draft

Feat: browser extension#1436
nitpicker55555 wants to merge 24 commits intomainfrom
feat/browser_extension

Conversation

@nitpicker55555
Copy link
Collaborator

Related Issue

Closes #

Description

Testing Evidence (REQUIRED)

  • I have included human-verified testing evidence in this PR.
  • This PR includes frontend/UI changes, and I attached screenshot(s) or screen recording(s).
  • No frontend/UI changes in this PR.

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Contribution Guidelines Acknowledgement

nitpicker55555 and others added 20 commits February 27, 2026 01:03
- Add @mention dropdown UI in input box (keyboard navigable)
- Parse {{@agentid}} tags in message content for mention badge rendering
- Backend: route @agent messages directly to persistent agents, skip workforce
- Backend: reuse persistent agents across turns (preserve toolkit state)
- Frontend: persist mention target across turns, render in input and chat bubbles
- Fix keyboard ArrowUp/Down selection in mention dropdown
Persistent agents reused across multi-turn @mention conversations were
losing tool call history due to prune_tool_calls_from_memory, causing
the LLM to repeat operations (e.g. get_page_snapshot) it already performed.
Move prune_tool_calls_from_memory=False from chat_service persistent
agent override to browser factory directly, so all browser agents
(workforce and @mention) retain tool call history.
Resolve conflicts in:
- server/uv.lock (revision number, greenlet wheel format)
- src/store/chatStore.ts (merge target/displayContent and executionId/projectId params)
- src/components/ChatBox/BottomBox/InputBox.tsx (merge mention and trigger/expanded features)
- src/components/ChatBox/index.tsx (merge mention/direct-agent features with new unified layout)
Resolve conflicts keeping feature branch mention/direct-agent additions
merged with main's trigger, execution, and layout changes.
- Add ExtensionProxyWrapper support for browser_plug Chrome extension
- Extension proxy managed via dedicated Extension settings page
- Backend starts WebSocket server on connect, polls for extension status
- Multi-tab parallelism: each sub-agent gets its own browser tab
- Extension proxy mode is exclusive (no CDP fallback when connected)
- Add extension_proxy_service singleton and controller endpoints
- Use local camel package instead of PyPI version
Enable real-time token streaming from ChatAgent to Chrome extension UI
by setting stream=True in model config and async-iterating over response
chunks, sending each text delta immediately via STREAM_TEXT.
@nitpicker55555 nitpicker55555 marked this pull request as draft March 4, 2026 14:25
Includes sidepanel UI, background service worker with WebSocket
connection to eigent backend, CDP debugger management, and
auto-reconnect/tab-lock/settings-persistence robustness features.
@nitpicker55555
Copy link
Collaborator Author

TODO:gif record for actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant