feat(core): port config, clip sources, and state probes#17
Merged
statik merged 1 commit intoJun 21, 2026
Merged
Conversation
Port the remaining pure driven adapters into hyperdeck-core: - config::Store (serde_norway YAML loader + full validation), config:: SelectionStore (serde_json pinned-profile persistence), config:: ensure_default (embeds examples/profiles.yaml as the first-run seed) - clipsource: Positional, Mitti (positional fallback), Playlist (.m3u + .xspf via quick-xml serde), and the type-driven factory - stateprobe: TitleRegex, NoneProbe, and Uia behind a pure ElementNamer trait (Windows namer supplied later by the OS crate), plus the factory - port::ProfileStore; domain::KeyName::parse (unmodeled actions like Mitti's "pause" are validated then dropped, matching Go's open KeyName) New deps: serde, serde_json, serde_norway (maintained serde_yaml fork), quick-xml. All Go config/clipsource/stateprobe tests ported, including loading testdata fixtures and the embedded default seed. 70 tests green. 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
c6bd128
into
claude/tauri-migration-self-update-74d57g
2 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 5 of the Tauri/Rust migration
Ports the remaining pure driven adapters, completing the OS-independent core.
What's here
config—Store(YAML loader viaserde_norway+ full validation logic),SelectionStore(pinned-profile JSON persistence),ensure_default(first-run seed; embedsexamples/profiles.yamlviainclude_str!so example & seed can't drift).clipsource—Positional,Mitti(positional fallback),Playlist(.m3uline parser +.xspfvia quick-xml serde-de), and theclip_source.typefactory.stateprobe—TitleRegex,NoneProbe, andUiabehind a pureElementNamertrait (the Windows namer comes later from the OS crate) + thestate.typefactory.port::ProfileStore;domain::KeyName::parse— unmodeled actions (e.g. Mitti'spause) are chord-validated then dropped, matching Go's openKeyNamestring.New deps
serde,serde_json,serde_norway(maintainedserde_yamlfork),quick-xml.Tests
All Go
config,clipsource, andstateprobetests ported — including loading thetestdata/fixtures and parsing/validating the embedded default seed. 70 tests green;fmt/clippy -D warningsclean locally.Milestone
The entire
internal/corehexagon and all pure driven adapters are now ported to Rust and unit-tested. What remains is inherently OS/Tauri-specific (injection, UIA, tray, updater, CI) and is covered by the macOS/Windows testing handoffs (#10, #11).Part of: #10, #11, #12.
Generated by Claude Code