Skip to content

feat(windows): add genhub:// URI scheme registrar and command line parser - #397

Merged
undead2146 merged 5 commits into
community-outpost:developmentfrom
undead2146:feat/windows-uri-scheme-registrar
Aug 19, 2026
Merged

feat(windows): add genhub:// URI scheme registrar and command line parser#397
undead2146 merged 5 commits into
community-outpost:developmentfrom
undead2146:feat/windows-uri-scheme-registrar

Conversation

@undead2146

Copy link
Copy Markdown
Member

Summary

Adds Windows registry protocol handler registration for the genhub:// custom URL scheme and CLI argument parsing for 1-click web browser subscriptions and launch deep links.

Note

This is a self-contained platform feature PR carved out of #265 and must be merged ahead of #265.

Changes

  • Core Constants & Helpers:
    • Added CommandLineConstants.cs and updated IpcCommands.cs for single-instance IPC forwarding.
    • Implemented CommandLineParser.cs for robust URL query parameter decoding and command dispatching.
  • Windows Platform Integration:
    • Added UriSchemeRegistrar.cs implementing idempotent per-user (HKCU\Software\Classes\genhub) registry associations.
    • Updated Program.cs to register the protocol on startup and forward CLI arguments to the active instance.
  • Tests: Added comprehensive test suites in CommandLineParserTests.cs and UriSchemeRegistrarTests.cs.

Verification

Comment thread GenHub/GenHub.Windows/Program.cs Outdated
@community-outpost community-outpost deleted a comment from qodo-code-review Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from deepsource-io Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from coderabbitai Bot Aug 19, 2026
Comment thread GenHub/GenHub/App.axaml.cs
Comment thread GenHub/GenHub/App.axaml.cs Outdated
Comment thread GenHub/GenHub/App.axaml.cs Outdated
Comment thread GenHub/GenHub/App.axaml.cs Outdated
Comment thread GenHub/GenHub.Windows/Program.cs Outdated
Comment thread GenHub/GenHub.Windows/Features/Shortcuts/UriSchemeRegistrar.cs Outdated
Comment thread GenHub/GenHub.Windows/Features/Shortcuts/UriSchemeRegistrar.cs Outdated
@community-outpost community-outpost deleted a comment from coderabbitai Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from kilo-code-bot Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from qodo-code-review Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from deepsource-io Bot Aug 19, 2026
@coderabbitai coderabbitai Bot added Enhancement New feature or request Testing Topic related to (unit) tests labels Aug 19, 2026
coderabbitai[bot]

This comment was marked as resolved.

@community-outpost community-outpost deleted a comment from kilo-code-bot Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from deepsource-io Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from coderabbitai Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from coderabbitai Bot Aug 19, 2026
@community-outpost community-outpost deleted a comment from deepsource-io Bot Aug 19, 2026
@coderabbitai coderabbitai Bot removed Enhancement New feature or request Testing Topic related to (unit) tests labels Aug 19, 2026
coderabbitai[bot]
coderabbitai Bot previously approved these changes Aug 19, 2026
@community-outpost community-outpost deleted a comment from coderabbitai Bot Aug 19, 2026
@undead2146
undead2146 merged commit cbfa3c4 into community-outpost:development Aug 19, 2026
11 of 12 checks passed
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.

1 participant