ability-search: expose full input schemas (optional fields) for selected abilities
Đá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
- 72/100
Hướng nghiên cứu
Start in src/Tools/register-agent-ability-meta-abilities.php at agents_compact_ability_entry() and trace how the select: query token narrows abilities and shapes the output. Check the ability-search output schema and its existing tests; add coverage for selected abilities including optional input properties and schemas, and for broad searches remaining compact. Done when both cases pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
agents/ability-search returns compact entries with only name, summary, and required_fields. No other path in the meta-tools gives an outside agent an ability's full input_schema. Optional fields can't be discovered, so agents guess at them.
Real example (Extra Chill, over MCP): extrachill/create-artist comes back with required_fields: ["name"] only. The agent can't see bio, profile_image_id, local_city, and so on, and it has no types, enums, or descriptions for any field.
Code: src/Tools/register-agent-ability-meta-abilities.php, agents_compact_ability_entry(). The select: query token already narrows results to named abilities, but it still returns the compact shape.
Proposed fix
- When a search uses
select:<name>[,<name>], or sets a newdetail: "full"input, return each matched ability's fullinput_schema(andoutput_schema) alongside the compact fields. Broad keyword searches stay compact so the payload stays small. - Declare the extra fields in the ability-search output schema.
- Add tests: a selected ability returns its optional properties; a broad search stays compact.
Found while building Extra-Chill/extrachill#1691, where link-page tab and feed abilities need agents to see their optional fields.
AI disclosure: issue drafted and filed by Claude (Pi via Roadie) at Chubes' direction.
- Ngôn ngữ chính
- PHP
- Star
- 36
- Fork
- 10
- Merge trung bình
- 14 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: 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
- Đọ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 Automattic/agents-api
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Automattic/agents-api#564 ·
-
Agents API 1.0: exit criteriaĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 6/100
Automattic/agents-api#590 · 3 bình luận ·
-
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 48/100
Automattic/agents-api#587 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Automattic/agents-api#584 ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Automattic/agents-api#552 ·
Tất cả issue của Automattic/agents-api
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
recca0120/vscode-phpunit#620 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Validation rule generation for recursive Data objects is unbounded (O(payload depth))Có thể đã có người làm @irfanm96 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
spatie/laravel-data#1226 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày