Skip to content

fix: support latest Ghostty VT API in macOS build#24

Merged
roodboi merged 1 commit into
mainfrom
fix/macos-ghostty-vt-latest
Mar 23, 2026
Merged

fix: support latest Ghostty VT API in macOS build#24
roodboi merged 1 commit into
mainfrom
fix/macos-ghostty-vt-latest

Conversation

@roodboi

@roodboi roodboi commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make the Ghostty VT bridge compatible with both void and error-union ReadonlyStream.nextSlice return types
  • verify the bridge against the latest Ghostty main head (fa10237), which matches what the macOS release workflow clones in CI
  • keep the PR source-only and avoid committing rebuilt dylib artifacts

Verification

  • zig build -Dghostty=/Users/hack/dev/hack-dance/hack-cli/apps/macos/vendor/ghostty -Doptimize=ReleaseSafe -Dtarget=aarch64-macos in apps/macos/Experiments/GhosttyVTBridge
  • bun run macos:ghostty:bundle

Context

The release workflow already clones the latest Ghostty head during build-and-notarize, so the failure was caused by bridge API drift rather than an outdated vendored revision.

@changeset-bot

changeset-bot Bot commented Mar 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8c13dc0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@roodboi
roodboi merged commit 2546af4 into main Mar 23, 2026
3 checks passed
@roodboi
roodboi deleted the fix/macos-ghostty-vt-latest branch March 23, 2026 18:46
roodboi pushed a commit that referenced this pull request Mar 23, 2026
## <small>1.19.1 (2026-03-23)</small>

* Merge pull request #24 from hack-dance/fix/macos-ghostty-vt-latest ([2546af4](2546af4)), closes [#24](#24)
* fix(macos): support latest ghostty vt stream api ([8c13dc0](8c13dc0))
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