Skip to content

feat(os): port the injcheck injector diagnostic#30

Merged
statik merged 1 commit into
claude/tauri-migration-self-update-74d57gfrom
claude/step-18-injcheck
Jun 21, 2026
Merged

feat(os): port the injcheck injector diagnostic#30
statik merged 1 commit into
claude/tauri-migration-self-update-74d57gfrom
claude/step-18-injcheck

Conversation

@statik

@statik statik commented Jun 21, 2026

Copy link
Copy Markdown
Member

Ports the Go cmd/injcheck to a small Rust diagnostic binary in hyperdeck-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::injector entry points (injector / enumerator / request_accessibility) and hyperdeck_core's parse_chord, so it also gives those per-OS adapters compile coverage in the rust CI matrix.

Adds a just injcheck *ARGS recipe 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

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
statik marked this pull request as ready for review June 21, 2026 16:02
@statik
statik merged commit 73e8613 into claude/tauri-migration-self-update-74d57g Jun 21, 2026
6 checks passed
@statik
statik deleted the claude/step-18-injcheck branch June 21, 2026 16:02
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.

2 participants