feat(os): port the injcheck injector diagnostic#30
Merged
statik merged 1 commit intoJun 21, 2026
Merged
Conversation
Add a small Rust diagnostic binary (port of the Go cmd/injcheck) for verifying the real OS injector against a running player during on-device macOS/Windows testing: - `injcheck trust` — check / prompt for the input permission (macOS). - `injcheck list [filter]` — list on-screen windows. - `injcheck focus <pid>` — bring an app to the foreground. - `injcheck keys|bgkeys <pid> <chord...>` — send chords with / without stealing focus. It drives the existing hyperdeck-os injector/enumerator entry points, so it also gives those per-OS adapters compile coverage in the rust CI matrix. Add a `just injcheck` recipe and document it in the README. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R8X1NxFiaLGJzwUD5wgRTv
statik
marked this pull request as ready for review
June 21, 2026 16:02
statik
merged commit Jun 21, 2026
73e8613
into
claude/tauri-migration-self-update-74d57g
6 checks passed
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.
Ports the Go
cmd/injcheckto a small Rust diagnostic binary inhyperdeck-os. It's the on-device testing aid for verifying the real OS injector against a running player (directly supports the macOS/Windows testing-handoff issues #10/#11).Commands
injcheck trust— check / prompt for the input permission (macOS).injcheck list [filter]— list on-screen windows (handle/process/title).injcheck focus <pid>— bring an app to the foreground.injcheck keys <pid> <chord…>— focus, then send chords (foreground).injcheck bgkeys <pid> <chord…>— send chords without stealing focus (exercises the background-injection path).Drives the existing
hyperdeck_os::injectorentry points (injector/enumerator/request_accessibility) andhyperdeck_core'sparse_chord, so it also gives those per-OS adapters compile coverage in therustCI matrix.Adds a
just injcheck *ARGSrecipe and documents it in the README development section.Verification (Linux, full toolchain)
cargo fmt --all --check✅cargo clippy --workspace --all-targets -- -D warnings✅cargo test --workspace✅ (71 core + 5 os)cargo run -p hyperdeck-os --bin injcheck -- list/ usage output run cleanly (empty window list on Linux's no-op adapter, as expected).🤖 Generated with Claude Code
Generated by Claude Code