refactor: move hunkdiff into packages/hunk - #997
Merged
Conversation
Contributor
|
Too many files changed for review (781 files, 50 file limit). |
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
benvinegar
force-pushed
the
refactor/package-first-phase-1
branch
from
September 6, 2026 01:21
1121965 to
b697137
Compare
benvinegar
enabled auto-merge (squash)
September 6, 2026 01:34
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.
Summary
Move the published
hunkdiffpackage intopackages/hunkand turn the repository root into a private Bun workspace controller.This is the first independently reviewable phase of the package-first monorepo migration. It replaces the all-in-one exploratory approach preserved in #994.
What changed
packages/hunk;hunkdiffmanifest topackages/hunk/package.jsonwhile keeping the root private and orchestration-only;hunkdiff/extension,hunkdiff/opentui, bin aliases, Pi skill discovery, and existing runtime behavior;CHANGELOG.mdcanonical through an explicit Changesets version wrapper and real Changesets integration test;Scope and non-goals
This PR is intentionally mechanical:
packages/hunk/src/extensions/default/vcs;Follow-up phases will handle those concerns separately after this PR lands.
Validation
Passed locally:
bun run format:checkbun run lintbun run typecheckbun run deps:checkbun run knipbun run check:docsbun run check:changelogbun run changeset:statusbun run testbun run test:session-broker-nodebun run test:integration— 143 passed, 1 macOS-only skipbun run test:tty-smoke— 9 passedbun run check:packbun run build:prebuilt:npmbun run check:prebuilt-packbun run smoke:prebuilt-installbun run build:binThe packed
hunkdiff/extensionandhunkdiff/opentuiexports were validated under NodeNext and Bundler resolution. Independent fresh-context review returned ACCEPT with no blocker/high findings.Not available locally:
This PR description was generated by Pi using gpt-5.6-sol