René's URL Explorer Experiment


Title: git-stats: make clicking a chip actually open the pull request by navbytes · Pull Request #24 · navbytes/opencode-plugins · GitHub

Open Graph Title: git-stats: make clicking a chip actually open the pull request by navbytes · Pull Request #24 · navbytes/opencode-plugins

X Title: git-stats: make clicking a chip actually open the pull request by navbytes · Pull Request #24 · navbytes/opencode-plugins

Description: Reported: clicking a PR chip does nothing. Why it never worked The label was an OSC 8 hyperlink, and the escape sequence really was in the output — I checked that when building it, which is precisely why the bug survived. OpenCode's TUI holds any-event mouse tracking on. Straight from a pty capture: ?1000h X11 mouse click ENABLE ?1002h button-event tracking ENABLE ?1003h any-event tracking ENABLE ?1006h SGR extended coords ENABLE Under mouse tracking the terminal forwards every click to the application and never activates a hyperlink itself. The link was reachable only via the terminal's bypass modifier, which nobody is obliged to know about. Confirming the escape sequence was emitted is not the same as confirming a click does something, and only the second claim was worth making. Fix The click reaches the plugin, so the plugin opens the URL: open on macOS, xdg-open elsewhere, cmd /c start "" on Windows. Spawned with an argv array, never a shell string, and gated to http(s) — chip URLs are already built from an allow-listed host, but this is the last gate before a URL reaches the OS. The OSC 8 link stays for anyone who does modifier-click. The × keeps its own handler on its own element, so dismissing a chip does not also open a browser tab. Verified in a real terminal With a stub open first on PATH, driving the actual TUI under a pty: SGR click at the chip (\x1b[<0;105;15M) → OPENED: https://github.com/navbytes/opencode-plugins/pull/20 SGR click at the × (\x1b[<0;114;15M) → no open call, and the chip disappears from every subsequent screen Plus 12 new unit tests on the opener: per-platform argv, the empty title argument cmd /c start needs or it swallows the URL, and refusal of file:, javascript:, data:, ssh: and bare paths. 91 tests total, typecheck and build clean. Also Corrects the 0.1.1-beta.1 changelog entry, which claimed that version was deprecated on npm. It is not — the registry still reports no deprecation — and a changelog that says otherwise is worse than one that says nothing.

Open Graph Description: Reported: clicking a PR chip does nothing. Why it never worked The label was an OSC 8 hyperlink, and the escape sequence really was in the output — I checked that when building it, which is precise...

X Description: Reported: clicking a PR chip does nothing. Why it never worked The label was an OSC 8 hyperlink, and the escape sequence really was in the output — I checked that when building it, which is precise...

Opengraph URL: https://github.com/navbytes/opencode-plugins/pull/24

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8d8a53c8-2d6e-0dac-a007-6c1c6662fe36
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB7CE:29FFA9:2E52C23:3AA7560:6B01B9D4
html-safe-nonce0739610bbf035697ea25817366714eadd374ea851d7ba96c8e88e6aa97668bac
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0NFOjI5RkZBOToyRTUyQzIzOjNBQTc1NjA6NkIwMUI5RDQiLCJ2aXNpdG9yX2lkIjoiNjA2MzM3ODk0MDQzMTU0NjgzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac623ed99b0f9c4dba239f678851b8226caa8e4194461f15a028acf2c5c01f93e0
hovercard-subject-tagpull_request:4495608078
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/navbytes/opencode-plugins/pull/24/files
twitter:imagehttps://avatars.githubusercontent.com/u/25281802?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/25281802?s=400&v=4
og:image:altReported: clicking a PR chip does nothing. Why it never worked The label was an OSC 8 hyperlink, and the escape sequence really was in the output — I checked that when building it, which is precise...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/navbytes/opencode-plugins git https://github.com/navbytes/opencode-plugins.git
octolytics-dimension-user_id25281802
octolytics-dimension-user_loginnavbytes
octolytics-dimension-repository_id1354341697
octolytics-dimension-repository_nwonavbytes/opencode-plugins
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1354341697
octolytics-dimension-repository_network_root_nwonavbytes/opencode-plugins
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/navbytes/opencode-plugins/pull/24/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnavbytes%2Fopencode-plugins%2Fpull%2F24%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnavbytes%2Fopencode-plugins%2Fpull%2F24%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=navbytes%2Fopencode-plugins
Reloadhttps://github.com/navbytes/opencode-plugins/pull/24/files
Reloadhttps://github.com/navbytes/opencode-plugins/pull/24/files
Reloadhttps://github.com/navbytes/opencode-plugins/pull/24/files
navbyteshttps://github.com/navbytes
opencode-pluginshttps://github.com/navbytes/opencode-plugins
Codehttps://github.com/navbytes/opencode-plugins
Issueshttps://github.com/navbytes/opencode-plugins/issues
Pull requests1 (1)https://github.com/navbytes/opencode-plugins/pulls
Actionshttps://github.com/navbytes/opencode-plugins/actions
Projectshttps://github.com/navbytes/opencode-plugins/projects
Security and qualityhttps://github.com/navbytes/opencode-plugins/security
Insightshttps://github.com/navbytes/opencode-plugins/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnavbytes%2Fopencode-plugins%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnavbytes%2Fopencode-plugins%2Fissues%2Fnew%2Fchoose
navbyteshttps://github.com/navbytes
mainhttps://github.com/navbytes/opencode-plugins/tree/main
fix-chip-click-opens-prhttps://github.com/navbytes/opencode-plugins/tree/fix-chip-click-opens-pr
Conversation 0 https://github.com/navbytes/opencode-plugins/pull/24
Commits 1 https://github.com/navbytes/opencode-plugins/pull/24/commits
Checks 1 https://github.com/navbytes/opencode-plugins/pull/24/checks
Files changed https://github.com/navbytes/opencode-plugins/pull/24/files
Please reload this pagehttps://github.com/navbytes/opencode-plugins/pull/24/files
git-stats: make clicking a chip actually open the pull request https://github.com/navbytes/opencode-plugins/pull/24/files#top
Show all changes 1 commit https://github.com/navbytes/opencode-plugins/pull/24/files
dfadbb8 git-stats: make clicking a chip actually open the pull request navbytes Sep 10, 2026 https://github.com/navbytes/opencode-plugins/pull/24/commits/dfadbb833bfba8d81cbb4abfa4c9981849333565
Clear filters https://github.com/navbytes/opencode-plugins/pull/24/files
Please reload this pagehttps://github.com/navbytes/opencode-plugins/pull/24/files
Please reload this pagehttps://github.com/navbytes/opencode-plugins/pull/24/files
CHANGELOG.md https://github.com/navbytes/opencode-plugins/pull/24/files#diff-c87ceb280f935d487fcd43d79da40976c5fdf119484d0b8c4a8f55ec91d2a3cc
README.md https://github.com/navbytes/opencode-plugins/pull/24/files#diff-2b09845d4574d10fc9da390f7498ef0fd02e8009d1d45fee3ca4e07f4ba9d8e6
open.ts https://github.com/navbytes/opencode-plugins/pull/24/files#diff-967e89870b533a0156094ab745763448f552e6422343717f1ad8416466940e39
card.tsx https://github.com/navbytes/opencode-plugins/pull/24/files#diff-ebd09823ee8cb1cf332d7c6d68eadf111b0dc0e3037c584824b09fccaf415f36
index.tsx https://github.com/navbytes/opencode-plugins/pull/24/files#diff-595714a66d010bf1cb5f577775285bd99b4ad5a7983a7da9ac438497bd5ad354
open.test.ts https://github.com/navbytes/opencode-plugins/pull/24/files#diff-15bb53cfab30f563263acbdf038ff90caa1c4a11b15a34c6d29cc004fe0b0628
packages/git-stats/CHANGELOG.mdhttps://github.com/navbytes/opencode-plugins/pull/24/files#diff-c87ceb280f935d487fcd43d79da40976c5fdf119484d0b8c4a8f55ec91d2a3cc
View file https://github.com/navbytes/opencode-plugins/blob/dfadbb833bfba8d81cbb4abfa4c9981849333565/packages/git-stats/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/navbytes/opencode-plugins/pull/24/{{ revealButtonHref }}
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-c87ceb280f935d487fcd43d79da40976c5fdf119484d0b8c4a8f55ec91d2a3cc
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-c87ceb280f935d487fcd43d79da40976c5fdf119484d0b8c4a8f55ec91d2a3cc
packages/git-stats/README.mdhttps://github.com/navbytes/opencode-plugins/pull/24/files#diff-2b09845d4574d10fc9da390f7498ef0fd02e8009d1d45fee3ca4e07f4ba9d8e6
View file https://github.com/navbytes/opencode-plugins/blob/dfadbb833bfba8d81cbb4abfa4c9981849333565/packages/git-stats/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/navbytes/opencode-plugins/pull/24/{{ revealButtonHref }}
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-2b09845d4574d10fc9da390f7498ef0fd02e8009d1d45fee3ca4e07f4ba9d8e6
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-2b09845d4574d10fc9da390f7498ef0fd02e8009d1d45fee3ca4e07f4ba9d8e6
packages/git-stats/src/core/open.tshttps://github.com/navbytes/opencode-plugins/pull/24/files#diff-967e89870b533a0156094ab745763448f552e6422343717f1ad8416466940e39
View file https://github.com/navbytes/opencode-plugins/blob/dfadbb833bfba8d81cbb4abfa4c9981849333565/packages/git-stats/src/core/open.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/navbytes/opencode-plugins/pull/24/{{ revealButtonHref }}
packages/git-stats/src/tui/card.tsxhttps://github.com/navbytes/opencode-plugins/pull/24/files#diff-ebd09823ee8cb1cf332d7c6d68eadf111b0dc0e3037c584824b09fccaf415f36
View file https://github.com/navbytes/opencode-plugins/blob/dfadbb833bfba8d81cbb4abfa4c9981849333565/packages/git-stats/src/tui/card.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/navbytes/opencode-plugins/pull/24/{{ revealButtonHref }}
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-ebd09823ee8cb1cf332d7c6d68eadf111b0dc0e3037c584824b09fccaf415f36
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-ebd09823ee8cb1cf332d7c6d68eadf111b0dc0e3037c584824b09fccaf415f36
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-ebd09823ee8cb1cf332d7c6d68eadf111b0dc0e3037c584824b09fccaf415f36
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-ebd09823ee8cb1cf332d7c6d68eadf111b0dc0e3037c584824b09fccaf415f36
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-ebd09823ee8cb1cf332d7c6d68eadf111b0dc0e3037c584824b09fccaf415f36
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-ebd09823ee8cb1cf332d7c6d68eadf111b0dc0e3037c584824b09fccaf415f36
packages/git-stats/src/tui/index.tsxhttps://github.com/navbytes/opencode-plugins/pull/24/files#diff-595714a66d010bf1cb5f577775285bd99b4ad5a7983a7da9ac438497bd5ad354
View file https://github.com/navbytes/opencode-plugins/blob/dfadbb833bfba8d81cbb4abfa4c9981849333565/packages/git-stats/src/tui/index.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/navbytes/opencode-plugins/pull/24/{{ revealButtonHref }}
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-595714a66d010bf1cb5f577775285bd99b4ad5a7983a7da9ac438497bd5ad354
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-595714a66d010bf1cb5f577775285bd99b4ad5a7983a7da9ac438497bd5ad354
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-595714a66d010bf1cb5f577775285bd99b4ad5a7983a7da9ac438497bd5ad354
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-595714a66d010bf1cb5f577775285bd99b4ad5a7983a7da9ac438497bd5ad354
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-595714a66d010bf1cb5f577775285bd99b4ad5a7983a7da9ac438497bd5ad354
https://github.com/navbytes/opencode-plugins/pull/24/files#diff-595714a66d010bf1cb5f577775285bd99b4ad5a7983a7da9ac438497bd5ad354
packages/git-stats/test/open.test.tshttps://github.com/navbytes/opencode-plugins/pull/24/files#diff-15bb53cfab30f563263acbdf038ff90caa1c4a11b15a34c6d29cc004fe0b0628
View file https://github.com/navbytes/opencode-plugins/blob/dfadbb833bfba8d81cbb4abfa4c9981849333565/packages/git-stats/test/open.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/navbytes/opencode-plugins/pull/24/{{ revealButtonHref }}
Please reload this pagehttps://github.com/navbytes/opencode-plugins/pull/24/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.