Skip to content

Conversation

@Rettend
Copy link

@Rettend Rettend commented Jan 22, 2026

What does this PR do?

Adds the opencode:// deep link to the desktop app.

it also works when opening specific projects with this format:
opencode://file/C:/path/to/project

this is the same format that VS Code uses.

How did you verify your code works?

i could only test on Windows, but it should work everywhere.

start opencode://file/C:/path/to/project

this opens OpenCode and adds the correct project, if the project is already open it just focuses it.

fixed #6009 and #10055

@github-actions
Copy link
Contributor

Hey! Your PR title Add desktop deep link doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@Rettend Rettend changed the title Add desktop deep link feat(desktop): Add desktop deep link Jan 22, 2026
@adamdotdevin
Copy link
Contributor

@Brendonovich handing this one off to you; wondering if we can also support deep linking to specific sessions?

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.

[FEATURE]: opencode:// protocol handler to support cmds and args

3 participants