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

Add optional `parentAgentId` to the session-event envelope for nested sub-agents

Đang mở
#1,731 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đá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
58/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
java
Lĩnh vực
api

Hướng nghiên cứu

Issue không nêu tên file hay test nào; hãy bắt đầu bằng cách tìm định nghĩa của session-event envelope và đoạn code tạo các event của sub-agent lồng nhau. Theo dõi cách id của agent thực hiện việc spawn khả dụng, sau đó xác minh rằng các event gốc bỏ qua parentAgentId, các event lồng nhau bao gồm nó và các consumer có thể tái dựng chuỗi parent từ event stream.

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

Mô tả

enhancement

Sub-agent session events carry only the innermost agentId on the event envelope. When sub-agents nest, a consumer receiving the event stream cannot reconstruct parent-of relationships — there is no field linking a sub-agent to the agent that spawned it.

Today a consumer has to infer the parent indirectly, by correlating each sub-agent's id with the id of the tool call that started it. That works but is fragile and couples consumers to an implementation detail.

Request: add an explicit optional parentAgentId to the session-event envelope — absent for top-level/root agents, set to the spawning agent's id for nested sub-agents — so parent chains are recoverable directly from the event stream.

Ngôn ngữ chính
Java
Star
10.5k
Fork
1.5k
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
130

Hướng dẫn đóng góp

Mở 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 github/copilot-sdk

Tất cả issue của github/copilot-sdk

Issue tương tự

Thêm issue về Java

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.