bug: an unknown --a2a-version is not a usage error
Maintainer thường phản hồi trong vòng 2 ngà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
- 25/100
Hướng nghiên cứu
The flag value is accepted without validation, so unknown versions fall through to clientFactoryOpts, where no transports get registered. Start by finding where --a2a-version is parsed and where the 'no compatible transports found' error is produced. Done means an unsupported value fails early as a usage error that names the flag and lists the accepted values. Pull request #157 is already open against this issue, so check it before starting.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened?
--a2a-version only accepts 1.0 or 0.3. Any other value registers no transports in clientFactoryOpts, so the command fails with no compatible transports found, exit 1 as A2ACLI_ERR_INTERNAL. If the card can't be reached it exits 3 with a connectivity hint instead. Nothing says the flag value is the problem.
Steps to reproduce
a2a server --echo --port 18431a2a send -a http://127.0.0.1:18431 --a2a-version 1 hiexits 1 with:
Error: failed to create a client: no compatible transports found: available transports - [HTTP+JSON_1.0]
a2a send -a http://127.0.0.1:1 --a2a-version 1 hiexits 3 withfailed to resolve agent card.
CLI version
main @ 5c95123
Operating system & environment
macOS (Darwin 25.6.0), arm64
- Ngôn ngữ chính
- Go
- Star
- 181
- Fork
- 28
- Merge trung bình
- 2 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 22
Chuẩn bị môi trường
- 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 a2aproject/a2a-cli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
a2aproject/a2a-cli#159 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
a2aproject/a2a-cli#158 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
a2aproject/a2a-cli#15 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug: [flagparse] loopback references with paths default to HTTPSCó thể đã có người làm @ktsoator đã nhận 2 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
a2aproject/a2a-cli#162 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
a2aproject/a2a-cli#160 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của a2aproject/a2a-cli
Issue tương tự
-
ssa: wait errors drop the kstatus message, so health check failures don't say whyCó thể đã có người làm @schdief đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Pin and verify Security Insights schema in lintinsights targetCó thể đã có người làm @imshubham22apr-gif đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gemaraproj/gemara#618 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
a2aproject/a2a-go#597 ·
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 72/100
Maintainer thường phản hồi trong vòng 4 ngày
-
scopes: GetAllowedTopics, GetProtectedTopics, and GetScopedTopics include empty topic names and do not trim whitespace charactersCó thể đã có người làm @patelshivani2283-lab đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày