Uh oh!
There was an error while loading. Please reload this page.
feat(app): git repo cloning dialog + shortcut - #16227
Conversation
1fd1378 to
ac5e42dCompareThanks for updating your PR! It now meets our contributing guidelines. 👍 |
rekram1-node
commented
May 15, 2026
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes#18241
Type of change
What does this PR do?
This makes cloning new repos into OpenCode much easier from the desktop app.
Before this, I was hopping out to GitHub Desktop to clone and then coming back. Now the flow is built in:
github.com/org/repo)It also adds a default clone location in Settings > General > Projects, and fixes a path bug where the destination could end up nested like
.../repo/repo.How did you verify your code works?
bun test --preload ./happydom.ts ./src/components/dialog-open-project.helpers.test.ts(packages/app)bun run typecheck(packages/app)bun run typecheck(packages/desktop)bun run test:clone(packages/desktop) - real clone test againsthttps://github.com/anomalyco/opencode.gitcargo check --manifest-path src-tauri/Cargo.toml(packages/desktop)https://github.com/anomalyco/opencoderesolves to/Users/<user>/Documents/code/opencodeon macos without duplicate nestingScreenshots / recordings
Checklist
If you do not follow this template your PR will be automatically rejected.