`create_project` is hidden from the default tool list, so agents miss it during setup

Đang mở Phù hợp với người mới
#1,844 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ó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
72/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
devtools

Hướng nghiên cứu

Cơ chế gating nằm trong surfaces.ts (tools/list mặc định) và skills.ts (skill project-management tắt mặc định). Thay đổi là một chuỗi mô tả trên công cụ find_projects, nên hãy bắt đầu từ đó và tìm nơi mô tả của nó được định nghĩa. Hoàn thành khi find_projects không trả về kết quả khớp nào và mô tả của nó nêu tên create_project, search_sentry_tools/execute_sentry_tool và skill project-management.

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

Mô tả

When an agent sets up a new service, it looks for a way to create the Sentry project and doesn't find one. create_project isn't in the default tools/list (surfaces.ts), and it's gated behind the project-management skill, which is off by default (skills.ts). So unless that skill is granted, search_sentry_tools doesn't surface it either. The agent then tells the user to create the project by hand. If that gets missed, CI release steps fail later with "Invalid project ids or slugs".

Suggested fix: since the top-level list is locked, add one line to the find_projects description: when no matching project exists, projects can be created with create_project through search_sentry_tools/execute_sentry_tool, which needs the project-management skill.

Acceptance: when find_projects returns no match, its description points the agent to create_project and the skill it needs.

Ngôn ngữ chính
TypeScript
Star
949
Fork
171
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
284

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

  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 getsentry/toolkit

Tất cả issue của getsentry/toolkit

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.