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

Agent definitions: plugin containers ignore the checkout root in subproject workspaces

Đang mở Phù hợp với người mới
#7,283 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
76/100
Loại issue
Lỗi
Độ 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
backend

Hướng nghiên cứu

Bắt đầu tại src/node/services/agentDefinitions/agentDefinitionsService.ts và so sánh cách các thư mục gốc của định nghĩa agent nhận thông tin workspace với cách skills sử dụng projectSearchRoot. Truyền thư mục gốc của dự án vào các plugin container và thêm một bài kiểm thử bao quát workspace trong dự án con. Hoàn tất khi các plugin agent nằm dưới thư mục gốc của dự án được tìm thấy tại đó, như issue mô tả.

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

Mô tả

Follow-up from #6426 (C3, remote plugin agents). Agent definitions take plugin containers from the workspace path, not the checkout root: getDefaultAgentDefinitionsRoots(runtime, workspacePath, projectPluginsTrusted) (src/node/services/agentDefinitions/agentDefinitionsService.ts) has no projectSearchRoot option, while skills use projectSearchRoot (the checkout root) for plugin containers.

Effect: in a subproject workspace (sub-project path inside a checkout), checkout-level plugin agents (<checkout>/.xum/plugins/*/agents) are not found. Skills of the same plugins are found. This holds for local and remote checkouts alike, so it predates #6426.

Related: #7225 (subProjectPath anchoring). Fix direction: pass the checkout root as projectSearchRoot to agent definition roots, as skills do, with a test for a subproject workspace.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Ngôn ngữ chính
TypeScript
Star
2.1k
Fork
140
Merge trung bình
5 giờ 1 phút
Pull request đã merge (30 ngày)
923

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 coder/xum

Tất cả issue của coder/xum

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.