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

Diffity Tour Step Links Broken Of Referenced Code Files Outside of Repo Root

Đang mở
#17 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
devtools

Hướng nghiên cứu

Bắt đầu từ skill /diffity-tour và theo dõi cách các đường dẫn được tham chiếu được tạo và tải. So sánh ví dụ đang hoạt động main-repo/src/server.ts với trường hợp bị lỗi main-repo//users/repo/other-repo/src/server.ts, sau đó xác minh rằng liên kết nguồn giữa các repository được tải chính xác khi tour được sử dụng với các thư mục bổ sung của Claude Code.

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

Mô tả

I noticed a bug when using /diffity-tour skill, whereby when i stepped through a tour which surfaced results across files that are not just from the repo root from which the Claude Code session started, the body of the page will of course fail to load source code of the file outside of the repo root path.

  • ✅ main-repo/src/server.ts
    • a current example of a working relative path to the "main-repo" only
  • ❌ main-repo//users/repo/other-repo/src/server.ts
    • an example of broken file path to a source code file located in some "other-repo" that is outside of the "main-repo"

For context, in Claude Code, we can add as many "other" repo working directories through Claude Code /add-dir command (or in settings.local.json via permissions.additionalDirectories config property), so that Claude Code can lookup and cross-reference files across related git projects to the agent sessions' main project repo.

I think we should set paths as absolute file paths when cross-referencing files in other project repos.

Ngôn ngữ chính
TypeScript
Star
775
Fork
57
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 nilbuild/diffity

Tất cả issue của nilbuild/diffity

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.