Skip to content

feat(vscode): add T3 Code VS Code extension#3

Open
patroza wants to merge 1 commit into
mainfrom
t3code/vscode-extension-pr
Open

feat(vscode): add T3 Code VS Code extension#3
patroza wants to merge 1 commit into
mainfrom
t3code/vscode-extension-pr

Conversation

@patroza

@patroza patroza commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Motivation

T3 Code is already amazing on the web, desktop, and mobile. You get a powerful, synchronized coding agent experience everywhere you work.

But there are moments when you're deep inside your editor and you really want the chat right there with you:

  • You want to carry your current thread and full conversation context with you without switching tools.
  • You want to quickly refer to a particular file or specific line of code directly from the chat.
  • You want the chat to just survive — a window reload, an extension host restart, a VS Code update — without losing your thread.

The integration is fully realtime and synchronized. Start a thread in the extension, switch to desktop or mobile, continue the exact same conversation, then jump straight back into VS Code — everything stays perfectly in sync with zero friction or manual steps.

This extension brings the full T3 Code experience directly into VS Code as a first-class citizen.

Features

  • A dedicated T3 Code view in the secondary sidebar (or activity bar)
  • Native @t3 Chat participant support
  • Realtime, fully synchronized threads with your web, desktop, and mobile clients
  • Editor context, slash commands, image attachments, approvals, tool rendering, tasks, etc.
  • Works with both local T3 Desktop and remote T3 servers

T3 Code in VS Code

@github-actions github-actions Bot added size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Jul 13, 2026
@patroza
patroza changed the base branch from main to cursor/remote-advisory-status-demotion-6b43 July 13, 2026 06:13
@patroza
patroza changed the base branch from cursor/remote-advisory-status-demotion-6b43 to main July 13, 2026 06:14

@patroza patroza left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the extension. Overall a solid, well-structured contribution that follows the repo's conventions (Effect, contracts, thorough webview→host validation, sanitized markdown, strict CSP with per-load nonce) and has good unit coverage of the pure logic.

One blocking item (activation crash in an empty window), two defense-in-depth hardening items (arbitrary file open via links, broad img-src), plus a few minor notes. Details inline.

Comment thread apps/vscode/src/extension.ts Outdated
Comment thread apps/vscode/src/chatViewProvider.ts
Comment thread apps/vscode/src/chatViewProvider.ts Outdated
Comment thread apps/vscode/src/chatViewProvider.ts
Comment thread apps/vscode/src/t3Client.ts
Comment thread apps/vscode/src/t3Client.ts Outdated
Comment thread apps/vscode/src/webview.ts

@patroza patroza left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found four blocking integration/correctness issues. The extension tests, build, vp check, and full typecheck pass after installing with a regenerated lockfile, but the committed tree cannot be installed with the repository’s frozen-lockfile policy.

Comment thread apps/vscode/package.json
Comment thread apps/vscode/src/extension.ts Outdated
Comment thread apps/vscode/src/chatViewProvider.ts
Comment thread apps/vscode/src/t3Client.ts
@patroza patroza changed the title feat(vscode): add T3 Code VS Code extension (dumbed down for upstream) feat(vscode): add T3 Code VS Code extension Jul 13, 2026
A dedicated VS Code chat client for synchronized T3 Code threads.

- Sidebar webview + native @T3 Chat participant
- Realtime synchronized threads with web/desktop/mobile
- Editor context, slash commands, images, approvals, tools, tasks
- Secure: worktree-scoped links, strict CSP, empty-window activation
- Multi-root safe, tolerant of no open folder

Connects to local T3 Desktop or remote T3 servers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 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