Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Bug]: cursor:// and vscode:// links in chat do nothing when clicked

Đang mở Phù hợp với người mới
#16,822 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

Tìm danh sách cho phép URI của ứng dụng bên ngoài được giới thiệu trong #15722 (tìm các scheme như linear:, slack:, notion:, obsidian: trong apps/desktop) — chính cổng chặn này đang chặn các liên kết trong chat. Kiểm tra cách click handler quyết định shell out tới hệ điều hành và xem cursor:, vscode:, zed: có bị thiếu hay bị lọc ở nơi khác; đồng thời xem các liên kết markdown trong tin nhắn chat được render và mở ở đâu. Xong nghĩa là các liên kết cursor://file/...:186 và vscode://file/... trong một tin nhắn chat sẽ mở trình soạn thảo ở đúng dòng (kiểm chứng thủ công, cộng với bất kỳ test hiện có nào bao phủ danh sách cho phép hoặc hành vi nhấp liên kết), hoặc một lý do được ghi lại cho việc giữ chúng bị chặn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug via-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/desktop

Steps to reproduce
  1. On macOS with Cursor installed, have an agent reply with a markdown link such as
    [file.md line 186](cursor://file/Users/me/repo/file.md:186).
  2. Click the link in the chat message.
Expected behavior

Cursor opens file.md at line 186, as it does when the same link is clicked in a browser or a terminal.

Actual behavior

Nothing happens: no app opens and no error is shown. The link is styled as a normal link. A vscode://file/... link behaves the same.

open "cursor://file/...:186" from a shell opens Cursor at the right line, so the OS handler works.

Related: #15722 adds an external-app allowlist (linear:, slack:, notion:, obsidian:) for the same root cause. This asks to add editor schemes (cursor:, vscode:, possibly zed:), or to document why they stay blocked. #16251 is the same symptom in the preview browser.

Impact

Minor bug or occasional failure

Version or commit

T3 Code (Nightly) 0.0.46-nightly.20261005.2702

Environment

macOS 26.7.1, desktop app, Claude Code provider

Logs or stack traces
_No response_
Screenshots, recordings, or supporting files

No response

Workaround

Use a plain absolute-path link, e.g. [file.md line 186](/Users/me/repo/file.md:186). It renders as a file chip, but it opens in T3's side panel, not in the editor at the line.

Ngôn ngữ chính
TypeScript
Star
24.8k
Fork
6.4k
Merge trung bình
8 giờ 34 phút
Pull request đã merge (30 ngày)
243

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.