# Enable safe external PR link opening in desktop app · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/c643de8ba70beab1f49d9176e8bb745cac807ed5)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: c643de8ba70beab1f49d9176e8bb745cac807ed5

Requested commit: c643de8ba70beab1f49d9176e8bb745cac807ed5

Commit: c643de8ba70beab1f49d9176e8bb745cac807ed5

Tree: 5d2105b39fce000ff1f7dde69fed83e0f58e5e05

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Enable safe external PR link opening in desktop app

- add desktop IPC handler to validate and open http(s) URLs via Electron shell
- expose `shell.openExternal` in shared NativeApi contracts and web bridge
- route Git PR opening and native API reads through the new `useNativeApi` hook

Co-authored-by: codex <codex@users.noreply.github.com>

```

## Parents

- [9accd1ffb758431dd80b8c1b79ceb5dc618abaca](https://git.cafe/pingdotgg/t3code/commit/9accd1ffb758431dd80b8c1b79ceb5dc618abaca?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/c643de8ba70beab1f49d9176e8bb745cac807ed5?format=markdown)
