Skip to content

feat(desktop): open threads from external links - #1

Closed
mrmg wants to merge 5 commits into
mainfrom
desktop-deep-link
Closed

mrmg wants to merge 5 commits into
mainfrom
desktop-deep-link

Conversation

@mrmg

@mrmg mrmg commented Aug 18, 2026 •

Copy link
Copy Markdown
Owner

What Changed

  • Adds the t3code://app/#/<environmentId>/<threadId> deep-link format (and t3code-dev in development).
  • Validates links strictly so only a scoped T3 thread route is accepted; unrelated custom-scheme traffic, including Clerk callback paths, is ignored.
  • Routes launch arguments, second-instance activations, and macOS open-url events through the same handler.
  • Reuses an existing desktop window when available, or retains the requested route until the backend is ready during cold startup.
  • Documents the URI for external tooling.

Why

External tools can now target the exact T3 Code conversation a user needs—for example external device control, an issue notification, or an email link—without relying on browser window behavior. The URL carries only environment and thread IDs; the desktop app still requires that environment to already be configured and authenticated.

Verification

  • vp test run --config apps/desktop/vite.config.ts … — 38 focused tests passed.
  • vp run --filter @t3tools/desktop build — passed.
  • tsgo --noEmit in apps/desktop — passed (two pre-existing suggestions only).

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • No visual UI changes require screenshots
  • No animation or interaction video is applicable

Built with GPT-5.6-terra in T3 Code.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Aug 18, 2026
@mrmg

mrmg commented Aug 18, 2026

Copy link
Copy Markdown
Owner Author

Closing the fork-local duplicate. The upstream PR is pingdotgg#7383.

@mrmg mrmg closed this Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant