Lyreto VS Code Link

Bridge your open VS Code workspace and live diagnostics directly to @lyretoai — read-only, strictly scoped to you, and toggleable in one click.

Download & install in 60 seconds

The Lyreto VS Code Link extension has zero runtime dependencies and runs locally inside VS Code. It syncs your active workspace name, git branch, a bounded snippet around your cursor, and your current errors/warnings so @lyretoai can help you debug without copy-pasting stack traces.

  1. Download and unzip: extract lyreto-vscode-link.zip into your VS Code extensions folder:
    macOS / Linux: ~/.vscode/extensions/lyreto-vscode-link
    Windows: %USERPROFILE%\.vscode\extensions\lyreto-vscode-link
  2. Reload VS Code: open the Command Palette (Cmd/Ctrl+Shift+P) and run Developer: Reload Window.
  3. Generate your personal link token: in Lyreto, open User Settings → VS Code Link and click Generate Link Token. Copy the one-time lyvsc_… token.
  4. Connect VS Code: click Lyreto in the VS Code status bar (bottom-right) or run Lyreto: Connect VS Code Link, and paste your token.

Using VS Code Link with @lyretoai

Once connected, open any group chat with @lyretoai and ask directly about what is on your screen. Because your open file snippet and live VS Code diagnostics are attached automatically (read-only), you can skip pasting boilerplate:

@lyretoai why is TypeScript complaining on line 42?
@lyretoai look at my current errors and suggest the cleanest fix
@lyretoai diagnose this alert against the route I currently have open

Pair VS Code Link with Server Settings → Deploy & Error Monitor: every Vercel, Sentry, GitHub Actions, or Uptime alert card includes a one-click Ask @lyretoai to diagnose button.

Privacy & security guarantees

Strict per-user scoping & bounded sync: your VS Code context is tied exclusively to your own account and is only included when you message @lyretoai. Other members never see your code snippet or diagnostics.
ControlHow it works
Personal token (lyvsc_…)Stored encrypted in VS Code SecretStorage and saved only as a SHA-256 hash on Lyreto. Rotate or revoke it anytime in one click.
Payload capsActive file snippet is capped at 8 KB around your cursor; diagnostics are capped at 30 errors/warnings. Entire repositories are never uploaded.
Freshness TTLSessions auto-expire after 5 minutes for live presence and 10 minutes for @lyretoai context, or immediately when you run Lyreto: Disconnect VS Code Link.
Independent togglesFlip Share activity presence or Share active file & errors with @lyretoai off independently in User Settings → VS Code Link.

Extension API endpoints

Building a custom editor bridge (Neovim, JetBrains, Zed)? The sync endpoints accept your personal Authorization: Bearer lyvsc_… token:

POST https://lyreto.com/api/vscode/link/sync
Authorization: Bearer lyvsc_your_token
Content-Type: application/json

{
  "workspaceName": "acme-api",
  "gitBranch": "fix/auth-timeout",
  "activeFile": "src/auth.ts",
  "activeLanguage": "typescript",
  "activeSnippet": "41: const res = await verifyToken(tok);",
  "diagnostics": [
    { "file": "src/auth.ts", "line": 41, "severity": "error", "message": "Cannot find name 'verifyToken'", "source": "ts" }
  ]
}
POST https://lyreto.com/api/vscode/link/disconnect
Authorization: Bearer lyvsc_your_token

FAQ

Does Lyreto ever upload my whole repository or edit local files?

No. The extension only sends a bounded 8 KB snippet around your cursor and up to 30 errors/warnings, and @lyretoai treats it strictly as read-only context.

Can other people in my server read my open file through @lyretoai?

No. Your VS Code session is strictly scoped to your own user account and is only attached when you personally ask @lyretoai.

How do I stop sharing?

Toggle off Share active file & errors with @lyretoai or Share activity presence in User Settings → VS Code Link, run Lyreto: Disconnect in VS Code, or revoke your token.

Can I connect Neovim, Cursor, or JetBrains?

Yes — Cursor supports VS Code extensions directly, and any editor can POST to /api/vscode/link/sync using your personal lyvsc_… Bearer token.

Debug faster with your editor and team in the same loop.

Free. No credit card. Works in your browser, on iPhone and Android, and on Mac, Windows and Linux.