feat(os): add hyperdeck-os crate with the VLC HTTP controller#19
Merged
statik merged 1 commit intoJun 21, 2026
Merged
Conversation
Introduce the hyperdeck-os crate that will host the OS- and player-specific driven adapters (injection, window enumeration, UIA) which need external or platform crates and so live outside the pure core. First adapter: vlchttp::VlcController (port of internal/adapter/driven/ vlchttp), a PlayerController for api.type "vlc_http" that drives VLC's HTTP requests interface (pl_play/pl_stop/pl_next/pl_previous) with empty-user Basic auth and a 4s timeout. Uses ureq (default-features off: plain HTTP, no TLS/system deps) so it compiles cleanly on the Linux/macOS/Windows CI matrix. Ported all Go vlchttp tests against an in-process TCP stub server (mapped commands + Basic auth, unmapped-key no-op, 401/500 errors, empty base url). 5 tests green; workspace 75 total. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R8X1NxFiaLGJzwUD5wgRTv
statik
merged commit Jun 21, 2026
f7be2bd
into
claude/tauri-migration-self-update-74d57g
5 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.
Step 7 of the Tauri/Rust migration
Introduces the
hyperdeck-oscrate — the home for OS- and player-specific driven adapters (injection, window enumeration, UI Automation) that need external/platform crates and so live outside the pure core. It lands with its first, fully cross-platform adapter.What's here
vlchttp::VlcController(port ofinternal/adapter/driven/vlchttp): aPlayerControllerforapi.type = "vlc_http"driving VLC's HTTP requests interface (pl_play/pl_stop/pl_next/pl_previous) with empty-user Basic auth and a 4s timeout.ureqwithdefault-features = false(plain HTTP only — VLC's control interface is localhost http — so no TLS/system-crypto deps), keeping it compile-clean on the Linux/macOS/Windows CI matrix.Tests
All Go
vlchttptests ported against an in-process TCP stub server: mapped commands + Basic auth, unmapped-key no-op (server not contacted), 401/500 → error, empty-base-url default without panic. 5 new tests; 75 workspace total —fmt/clippy -D warnings/tests green locally.Next in this crate
Keystroke injection, window enumeration, and Windows UI Automation, added behind
cfg(target_os = ...)with platform-gated deps (validated per-platform by the CI matrix; behavior validated on hardware via #10/#11).Part of: #10, #11, #12.
Generated by Claude Code