Skip to content

feat: windows support - #10

Draft
jhochenbaum wants to merge 9 commits into
mainfrom
windows-support
Draft

feat: windows support#10
jhochenbaum wants to merge 9 commits into
mainfrom
windows-support

Conversation

@jhochenbaum

@jhochenbaum jhochenbaum commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Closes #7. Builds on #9.

Summary

  • Declare Windows support so remote installs run npm ci and npm run build.
  • Add cmd pane entries while retaining sh entries for macOS and Linux.
  • Launch the bundled hunk.cjs with Node instead of spawning npm's platform-specific shim.
  • Match Herdr's config precedence, including XDG_CONFIG_HOME before Windows fallbacks.
  • Use Windows path and PATHEXT semantics for pager discovery and explicit binaries.
  • Canonicalize worktree identity without merging repositories in case-sensitive Windows directories.
  • Use platform-aware basenames for pane titles.
  • Run the test suite on windows-latest.

Validation

  • npm run check
  • npm run build
  • 668 tests
  • Manifest coverage for build platforms, pane shells, and event commands

Hunk currently publishes a Windows x64 binary only. Windows ARM users must set [hunk].bin to a compatible build.

Reporter smoke test:

herdr plugin install jhochenbaum/herdr-hunk-diff --ref windows-support --yes

@jhochenbaum
jhochenbaum changed the base branch from manifest-portable-commands to main August 19, 2026 02:56
@jhochenbaum jhochenbaum reopened this Aug 19, 2026
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.

Windows support: add "windows" to plugin platforms

1 participant