feat: add Browser scene, web-element context and relay server improvements#163
Merged
bobleer merged 2 commits intoGCWing:mainfrom Mar 15, 2026
Merged
Conversation
added 2 commits
March 15, 2026 23:18
…ments - Add embedded Browser scene with Tauri webview integration and inspector - Introduce WebElementContext type for referencing web page elements in chat - Improve ChatInput focus management and context tag insertion reliability - Harden relay server: bind to 127.0.0.1, redesign landing page, fix deps - Add browser-related Tauri capabilities and API commands Made-with: Cursor
Accept upstream's collapsed chat input styling (cursor: text, max-width: 300px, pill-shaped border-radius, symmetric padding). Made-with: Cursor
bobleer
added a commit
to bobleer/BitFun
that referenced
this pull request
Mar 15, 2026
…ments (GCWing#163) - Add embedded Browser scene with Tauri webview integration and inspector - Introduce WebElementContext type for referencing web page elements in chat - Improve ChatInput focus management and context tag insertion reliability - Harden relay server: bind to 127.0.0.1, redesign landing page, fix deps - Add browser-related Tauri capabilities and API commands Co-authored-by: bowen628 <bowen628@noreply.gitcode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
WebElementContexttype and supporting infrastructure, enabling users to reference and share web page elements as context in chat conversationsrequestAnimationFramefor focus timing127.0.0.1by default for security, redesign the landing page with modern UI, and fix workspace dependency resolution inCargo.tomlChanges
Frontend (
src/web-ui/)BrowserSceneandBrowserPanelcomponents with URL bar, navigation controls, and element inspectorWebElementContexttype andWebElementContextImplfor context systemChatInputfocus and tag insertion logicweb-elementserialization inuseMessageSenderDesktop (
src/apps/desktop/)browser_api.rswithbrowser_webview_evalandbrowser_pull_debug_logscommandsdefault.jsonand newbrowser-webview.jsonunstablefeature for webview API supportRelay Server (
src/apps/relay-server/)127.0.0.1viaRELAY_HOST_BIND_IPenv variable for securityindex.htmllanding pageMobile Web (
src/mobile-web/)App.tsxwith enhanced layoutTest plan
start.shand binds to 127.0.0.1Made with Cursor