feat(mcp): ask the user mid-call when no index exists (elicitation)

Đang mở
#121 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
22/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ệ
go
Lĩnh vực
ai-infra-agents

Hướng nghiên cứu

The payload names no source files, so start with the requirement MRTR-01 in the linked planning file and the open question about #74 (serve --mcp outside an indexed repo). Settle how the server negotiates client capability before any prompt is sent. Done means wire-oracle transcripts exist for a client that supports the prompt and one that does not, and both behave as specified.

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

Mô tả

area:mcp feature priority:low spec-needed
What problem does this solve?

In an unindexed repo, the MCP server returns an empty tool set or an error, and the agent has to work out that codegraph init is the remedy.

What should it do?

Use resultType: "input_required" to ask "no index found here, initialize now?" and proceed on yes.

Which surface does this affect?

MCP (agent-facing tools)

Is this covered by an existing command or tool today?

No. Note the interaction with #74 (serve --mcp outside an indexed repo).

Acceptance criteria
  • Behavior behind client capability negotiation; wire-oracle transcripts for a client that supports it and one that does not.

Source (GSD planning files, archived at d384473e): .planning/milestones/v0.3.0-REQUIREMENTS.md:62 (MRTR-01); .planning/ROADMAP.md (Later)


🤖 Generated with Claude Code

https://claude.ai/code/session_01UNqdnC3q6U362BvyfxuKCF

Ngôn ngữ chính
Go
Star
0
Fork
0
Merge trung bình
7 giờ 42 phút
Pull request đã merge (30 ngày)
111

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 seanb4t/codegraph-go

Tất cả issue của seanb4t/codegraph-go

Issue tương tự

Thêm issue về Go

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.