Conversation
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.
Add mode-aware mouse input for terminal automation through the native libghostty-vt backend. For example, a left press, move, and release now produces a drag using the child's negotiated tracking mode and wire format.
mouseCLI/RPC command and batch steps with zero-based row/column coordinates, modifiers, held-button state, wheel presses, and optional pixel cell dimensions.input_mouseevents as base64, including raw X10 bytes. Suppressed events returnreported: falseand still receive a sequence number.mouse-inputcapability andCAPABILITY_UNAVAILABLE(exit 12) for unsupported renderers or older native packages. Update schemas, replay/export handling, CLI docs, and public skill guidance together.Depends on libghostty-vt-node PR #12. The optional dependency and lockfile retain the published package; they need updating after a mouse-capable native release. The development recipe pins tested binding revision
8318d03and explains how to build/install its tarball. Native integration tests run when that API is available;AGENT_TTY_REQUIRE_MOUSE_NATIVE=1makes missing support fail rather than skip.Validation on x86_64 Linux with Node 24.18.1, npm 10.9.8, and binding
8318d03:AGENT_TTY_REQUIRE_MOUSE_NATIVE=1 npm run verifypasses: formatting, lint, typecheck, all 1,673 tests across 161 files, build, and isolated tarball installation. Tested after merging upstreama269ca4and installing its lockfile with aube 1.10.4 (Vitest 4.1.11). NixOS verification used steam-run, browser libraries, Python/Make/GCC, and an isolated home. npm 10.9.8 avoids the npm 12 pack JSON change in the existing packaging script.GitHub Actions for head
47102f9require maintainer approval (action_required). The PR is conflict-free; local verification does not imply upstream CI has run.