Recognize Ghostty terminal hyperlinks#7918
Merged
alfonso-noriega merged 1 commit intoJun 24, 2026
Merged
Conversation
Assisted-By: devx/3c9d2be5-81a1-4ad5-90ba-4155c6ff125d
amcaplan
approved these changes
Jun 24, 2026
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.
WHY are these changes introduced?
Fixes #0000
Ghostty supports terminal hyperlinks, but the CLI currently resolves
supports-hyperlinksto3.1.0, which does not recognizeTERM_PROGRAM=ghostty.WHAT is this pull request doing?
Updates the root
supports-hyperlinksresolution from3.1.0to3.2.0, which recognizes Ghostty as hyperlink-capable while keeping the CommonJS-compatible API shape used by older transitive consumers.This intentionally does not update to latest
4.5.0because that version is ESM-only and would be riskier while@shopify/cli-hydrogenstill brings in@oclif/core@3.26.5.A patch changeset is included for
@shopify/cli-kit.How to test your changes?
pnpm install --frozen-lockfilepnpm --filter @shopify/cli-kit type-checkpnpm --filter @shopify/cli-kit lintpnpm --filter @shopify/cli-kit vitest -- src/private/node/ui/components/Link.test.tsx src/private/node/ui/components/TokenizedText.test.tsx src/public/node/ui.test.tsTERM_PROGRAM=ghostty FORCE_COLOR=1 pnpm --filter @shopify/cli-kit exec node -e "const {supportsHyperlink}=require('supports-hyperlinks'); if (!supportsHyperlink({isTTY:true})) throw new Error('Ghostty should support hyperlinks'); console.log('Ghostty hyperlink support detected')"git diff --checkPost-release steps
None.
Checklist
patchfor bug fixes ·minorfor new features ·majorfor breaking changes) and added a changeset withpnpm changeset add