René's URL Explorer Experiment


Title: Fix base path encoding by nick-the-nuke · Pull Request #3 · prokube/opencode · GitHub

Open Graph Title: Fix base path encoding by nick-the-nuke · Pull Request #3 · prokube/opencode

X Title: Fix base path encoding by nick-the-nuke · Pull Request #3 · prokube/opencode

Description: The open source coding agent. Contribute to prokube/opencode development by creating an account on GitHub.

Open Graph Description: What does this PR do? Fixes an issue where the CWD path gets corrupted because it tries to base64 decode the wrong part of the URL If the CWD gets corrupted, the agents can't run bash commands....

X Description: What does this PR do? Fixes an issue where the CWD path gets corrupted because it tries to base64 decode the wrong part of the URL If the CWD gets corrupted, the agents can't run bash comma...

Opengraph URL: https://github.com/prokube/opencode/pull/3

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:84f12c0e-edc7-4ba8-24bb-beae1b796b07
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE388:D408D:23DA2D:318354:698E1BD0
html-safe-nonce490b0e78265eb040e7bbbf1bfe99fe6e409fba584a891ea01928f38e9e6e18c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzg4OkQ0MDhEOjIzREEyRDozMTgzNTQ6Njk4RTFCRDAiLCJ2aXNpdG9yX2lkIjoiODM3MDU5NjE4MDI0MTgxNjUyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdd633f8a602da7b74a3d852b78092edd1c1fd9ea1113e8c448889fb224c5816b
hovercard-subject-tagpull_request:3251876900
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/prokube/opencode/3/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b1e16e8f7af6d3596a27b91316755228c1c1c605c23b8574b13db4cc3a995932/prokube/opencode/pull/3
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b1e16e8f7af6d3596a27b91316755228c1c1c605c23b8574b13db4cc3a995932/prokube/opencode/pull/3
og:image:altWhat does this PR do? Fixes an issue where the CWD path gets corrupted because it tries to base64 decode the wrong part of the URL If the CWD gets corrupted, the agents can't run bash commands....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenick-the-nuke
hostnamegithub.com
expected-hostnamegithub.com
None52130a026bd9a3f98228b6aa6af91acdab5d18de411e2c1e67e6253493561296
turbo-cache-controlno-cache
go-importgithub.com/prokube/opencode git https://github.com/prokube/opencode.git
octolytics-dimension-user_id183354392
octolytics-dimension-user_loginprokube
octolytics-dimension-repository_id1130944547
octolytics-dimension-repository_nwoprokube/opencode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id975734319
octolytics-dimension-repository_parent_nwoanomalyco/opencode
octolytics-dimension-repository_network_root_id975734319
octolytics-dimension-repository_network_root_nwoanomalyco/opencode
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release301a1d7743177dcb7528b1322117cdafeda8ff08
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprokube%2Fopencode%2Fpull%2F3
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprokube%2Fopencode%2Fpull%2F3
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=prokube%2Fopencode
Reloadhttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
Reloadhttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
Reloadhttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
prokube https://patch-diff.githubusercontent.com/prokube
opencodehttps://patch-diff.githubusercontent.com/prokube/opencode
anomalyco/opencodehttps://patch-diff.githubusercontent.com/anomalyco/opencode
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fprokube%2Fopencode
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fprokube%2Fopencode
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2Fprokube%2Fopencode
Code https://patch-diff.githubusercontent.com/prokube/opencode
Pull requests 2 https://patch-diff.githubusercontent.com/prokube/opencode/pulls
Actions https://patch-diff.githubusercontent.com/prokube/opencode/actions
Projects 0 https://patch-diff.githubusercontent.com/prokube/opencode/projects
Security 0 https://patch-diff.githubusercontent.com/prokube/opencode/security
Insights https://patch-diff.githubusercontent.com/prokube/opencode/pulse
Code https://patch-diff.githubusercontent.com/prokube/opencode
Pull requests https://patch-diff.githubusercontent.com/prokube/opencode/pulls
Actions https://patch-diff.githubusercontent.com/prokube/opencode/actions
Projects https://patch-diff.githubusercontent.com/prokube/opencode/projects
Security https://patch-diff.githubusercontent.com/prokube/opencode/security
Insights https://patch-diff.githubusercontent.com/prokube/opencode/pulse
nick-the-nukehttps://patch-diff.githubusercontent.com/nick-the-nuke
prokube:feature/base-path-supporthttps://patch-diff.githubusercontent.com/prokube/opencode/tree/feature/base-path-support
nick-the-nuke:base-path-supporthttps://patch-diff.githubusercontent.com/nick-the-nuke/opencode/tree/base-path-support
Conversationhttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
Commits2 (2)https://patch-diff.githubusercontent.com/prokube/opencode/pull/3/commits
Checkshttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/checks
Files changedhttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/files
Fix base path encodinghttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3#top
nick-the-nukehttps://patch-diff.githubusercontent.com/nick-the-nuke
prokube:feature/base-path-supporthttps://patch-diff.githubusercontent.com/prokube/opencode/tree/feature/base-path-support
nick-the-nuke:base-path-supporthttps://patch-diff.githubusercontent.com/nick-the-nuke/opencode/tree/base-path-support
https://patch-diff.githubusercontent.com/nick-the-nuke
nick-the-nukehttps://patch-diff.githubusercontent.com/nick-the-nuke
Feb 5, 2026https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#issue-3903485116
anomalyco#7625https://github.com/anomalyco/opencode/pull/7625
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
nick-the-nukehttps://patch-diff.githubusercontent.com/nick-the-nuke
February 5, 2026 13:06https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#commits-pushed-0ca4db0
https://patch-diff.githubusercontent.com/nick-the-nuke
https://patch-diff.githubusercontent.com/claude
fix(base-path): rewrite hardcoded /assets/ paths in JShttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/commits/0ca4db0adb56a2834fe18c2929e771663fbbeac7
0ca4db0https://patch-diff.githubusercontent.com/prokube/opencode/pull/3/commits/0ca4db0adb56a2834fe18c2929e771663fbbeac7
https://patch-diff.githubusercontent.com/nick-the-nuke
https://patch-diff.githubusercontent.com/claude
fix(server): serve embedded assets instead of proxying to app.opencod…https://patch-diff.githubusercontent.com/prokube/opencode/pull/3/commits/3f306eb92a4225a6a455d0efeb8a2cd9208abe76
3f306ebhttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/commits/3f306eb92a4225a6a455d0efeb8a2cd9208abe76
https://patch-diff.githubusercontent.com/nick-the-nuke
nick-the-nukehttps://patch-diff.githubusercontent.com/nick-the-nuke
Feb 5, 2026 https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#ref-pullrequest-3799571293
feat: base path support anomalyco/opencode#7625 https://patch-diff.githubusercontent.com/anomalyco/opencode/pull/7625
https://patch-diff.githubusercontent.com/hsteude
hsteudehttps://patch-diff.githubusercontent.com/hsteude
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
February 5, 2026 21:00https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#event-22571043463
started reviewinghttps://github.com/prokube/opencode/agents/pull/3?session_id=cc124ea5-d6cf-4b6f-bdb5-f5479767d7ed
hsteudehttps://patch-diff.githubusercontent.com/hsteude
February 5, 2026 21:00https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#event-22571054135
View session https://github.com/prokube/opencode/agents/pull/3?session_id=cc124ea5-d6cf-4b6f-bdb5-f5479767d7ed
https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Feb 5, 2026 https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#pullrequestreview-3759465167
View reviewed changes https://patch-diff.githubusercontent.com/prokube/opencode/pull/3/files/3f306eb92a4225a6a455d0efeb8a2cd9208abe76
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#pullrequestreview-3759465167
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://patch-diff.githubusercontent.com/prokube/opencode/new/dev/.github/instructions?filename=*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
packages/opencode/script/generate-app-manifest.tshttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/files/3f306eb92a4225a6a455d0efeb8a2cd9208abe76#diff-347916e5ac76d0e29e72b9aa015def29348e86fb04af1b46618236fbe526f2a1
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Feb 5, 2026https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#discussion_r2771158772
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
packages/opencode/src/server/app.tshttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/files/3f306eb92a4225a6a455d0efeb8a2cd9208abe76#diff-72997769ba847e9baa40a019dc387490228439d073c68d649bfff7f9f8e4a642
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Feb 5, 2026https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#discussion_r2771158811
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
packages/opencode/src/util/base-path.tshttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/files/3f306eb92a4225a6a455d0efeb8a2cd9208abe76#diff-5d4d755b7bc89d3dafcd1409b01cf5d3952a1737329b2d80492c75175ddf83f0
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Feb 5, 2026https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#discussion_r2771158842
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
packages/opencode/src/util/base-path.tshttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/files/3f306eb92a4225a6a455d0efeb8a2cd9208abe76#diff-5d4d755b7bc89d3dafcd1409b01cf5d3952a1737329b2d80492c75175ddf83f0
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Feb 5, 2026https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#discussion_r2771158864
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
packages/opencode/src/server/app.tshttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/files/3f306eb92a4225a6a455d0efeb8a2cd9208abe76#diff-72997769ba847e9baa40a019dc387490228439d073c68d649bfff7f9f8e4a642
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Feb 5, 2026https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#discussion_r2771158877
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
packages/opencode/src/server/app.tshttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/files/3f306eb92a4225a6a455d0efeb8a2cd9208abe76#diff-72997769ba847e9baa40a019dc387490228439d073c68d649bfff7f9f8e4a642
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Feb 5, 2026https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#discussion_r2771158892
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
packages/opencode/src/server/app.tshttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3/files/3f306eb92a4225a6a455d0efeb8a2cd9208abe76#diff-72997769ba847e9baa40a019dc387490228439d073c68d649bfff7f9f8e4a642
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Feb 5, 2026https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#discussion_r2771158911
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
https://patch-diff.githubusercontent.com/hsteude
hsteudehttps://patch-diff.githubusercontent.com/hsteude
Feb 5, 2026https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#issuecomment-3856266148
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
@nick-the-nukehttps://github.com/nick-the-nuke
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
https://patch-diff.githubusercontent.com/nick-the-nuke
nick-the-nukehttps://patch-diff.githubusercontent.com/nick-the-nuke
Feb 6, 2026https://patch-diff.githubusercontent.com/prokube/opencode/pull/3#issuecomment-3858756037
@nick-the-nukehttps://github.com/nick-the-nuke
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/prokube/opencode/pull/{{ revealButtonHref }}
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprokube%2Fopencode%2Fpull%2F3
Copilot code review https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Copilot https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
https://patch-diff.githubusercontent.com/prokube/opencode/pull/3/files/3f306eb92a4225a6a455d0efeb8a2cd9208abe76
Please reload this pagehttps://patch-diff.githubusercontent.com/prokube/opencode/pull/3
https://patch-diff.githubusercontent.com/nick-the-nuke
https://patch-diff.githubusercontent.com/hsteude
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.