[Bug]: SSH-style `host:path` references in chat never become file chips
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
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu trong packages/client-runtime/src/markdownLinks.ts tại parseMarkdownFileLink và kiểm tra cách EXTERNAL_SCHEME_PATTERN được áp dụng trước các bước kiểm tra đường dẫn. Tái hiện các ví dụ host:path và bare-path từ issue, sau đó xác minh hành vi đã chọn: các tham chiếu host:path либо phải trở thành file chips khi được hỗ trợ, либо vẫn được ghi rõ là nằm ngoài phạm vi, mà không gây hồi quy đối với bare paths.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- In any thread, have the agent (or yourself) write an SSH-style
host:pathreference in inline code, e.g.`devbox:~/notes/handoff.md`or`devbox:/home/me/notes/handoff.md`. - In the same message, include a plain path such as
`~/notes/handoff.md`for comparison.
Expected behavior
Either the host:path reference renders as a file chip (ideally resolved against the matching SSH environment when the host matches one), or this is documented as intentionally out of scope.
This may well be intended behavior; filing so maintainers can decide. The reverse direction already exists: #11229 makes "Copy full path" on a remote file chip produce host:path, so a chip copied from one thread and pasted into another currently doesn't round-trip back into a chip.
Actual behavior
The host:path reference stays as plain inline code. The bare ~/… path in the same message becomes a chip.
Cause (from reading main): parseMarkdownFileLink in packages/client-runtime/src/markdownLinks.ts rejects anything matching EXTERNAL_SCHEME_PATTERN (/^([A-Za-z][A-Za-z0-9+.-]*):(.*)$/). A hostname like devbox or devbox-doggo is a valid URL scheme under that pattern, so devbox:~/… is treated as an external URL (like mailto:) and dropped before any path checks run.
Impact
Minor bug or occasional failure
Version or commit
main @ c57a04b722
Environment
Linux server (remote environment), web/desktop client; agent output from Claude Code. Applies to any provider since detection is client-side.
Workaround
Write the path without the host prefix (~/… or an absolute path); it then resolves against the thread's environment.
Related: #11229 (copies host:path), #8251 (chips for files outside the project root fail to open).
🤖 Generated with Claude Code
- Ngôn ngữ chính
- TypeScript
- Star
- 24.8k
- Fork
- 6.4k
- Merge trung bình
- 2 giờ 58 phút
- Pull request đã merge (30 ngày)
- 480
Chuẩn bị môi trường
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.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pingdotgg/t3code
-
accepted bug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
pingdotgg/t3code#20931 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pingdotgg/t3code#20128 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: T3_CODE_ORCHESTRATION_INSTRUCTIONS has no carve-out for user- or repo-mandated CLI review workflows (unlike T3_CODE_BROWSER_TOOL_INSTRUCTIONS)Có thể đã có người làm @nivethass15102007-tech đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pingdotgg/t3code#19908 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accepted bug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pingdotgg/t3code#19536 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pingdotgg/t3code
Issue tương tự
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
lingdojo/kana-dojo#32663 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Admin: Title Separator field can't be cleared (input falls back to "|")Có thể đã có người làm @emdashbot đã nhận hôm nay. Đang mởbot:bug bot:in-review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
emdash-cms/emdash#4236 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PHP workflow streaming requests buffer the full SSE responseCó thể đã có người làm @Winoren đã nhận hôm nay. Đang mởreview: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
langgenius/dify#44270 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:holodeck review-finding
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
hyperdrive-technology/holodeck#142 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
session-worker-compile.yml uses a floating oven-sh/setup-bun@v2 tag instead of the pinned SHAĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
code-yeongyu/senpi#3573 ·
Maintainer thường phản hồi trong vòng 1 ngày