Repository navigation
Fix browser - #14
Merged
Merged
Fix browser#14
Conversation
- Headless Chrome renders no native context menu, so suppress the browser default and surface our own with copy, paste, select all, back, forward, and reload actions. - Keep the right button untouched in onPointerDown so the contextmenu event still fires while left/middle presses keep suppressing focus. - Close the menu on outside click, Escape, resize, and scroll, and clamp its position within the viewport. - Add en/vi labels for the new menu entries.
- Add POST /browser/inspect that starts the agent-browser DevTools proxy and returns its loopback frontend URL, rejecting non-local hosts. - Make the shared runner return command output so callers can parse it. - Open the DevTools tab synchronously to keep the click a user gesture, then redirect it once the async URL arrives.
- Expose GET /projects/{id}/agent-sessions merging in-app chat
conversations and host CLI agent sessions, newest first
- Read OpenCode sessions read-only from its local SQLite database,
matched by launch directory (project or worktree)
- Add resume_args to agent specs and a validated resolve_resume_launch
so the terminal WS can reopen a CLI session via ?session=<id>
- Add a Sessions tab to the right panel (desktop and mobile) that
lists sessions and resumes chats or CLI terminals on click
The session id comes from the client and is typed into a shell line,
so only a conservative character set is accepted.
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.
No description provided.