A tasks-capable connector cannot ask an /mcp client for input

Đang mở
#1,663 0 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
ai, backend

Hướng nghiên cứu

Start with the task path in McpSource, which polls tasks to completion without an McpCaller, and compare it with the non-task path that passes the caller's capabilities through. Read how the task envelope is built and how input_required is handled today, including the cancel-and-report behaviour. Done would mean a tasks-capable connector can relay input_required to an /mcp/<wsId> client and accept its tasks/update, bound to that caller the way requestState is sealed. This is design work that needs maintainer agreement on the approach first.

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

Mô tả

needs-triage

A connector that advertises the tasks extension (io.modelcontextprotocol/tasks) cannot ask an outside /mcp/<wsId> client for input.

Every call to such a connector takes McpSource's task path, which polls to completion and carries no McpCaller: the connector sees the runtime's capabilities, not the client's, and a task that reaches input_required is cancelled and reported, because the runtime does not serve tasks/update. A connector without the extension gets the caller's capabilities and passes input_required through to the client.

Carrying the caller on the task path needs the task wire to send the client's capabilities in its envelope and the door to relay a task's input_required and the client's tasks/update, bound to the caller the way a sealed requestState is.

Ngôn ngữ chính
TypeScript
Star
23
Fork
15
Merge trung bình
5 giờ 13 phút
Pull request đã merge (30 ngày)
304

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

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 NimbleBrainInc/nimblebrain

Tất cả issue của NimbleBrainInc/nimblebrain

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.