RFC: Deprecate `semcode-mcp --lazy` in favor of client-side tool discovery
Maintainer thường phản hồi trong vòng 2 ngày
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
- 48/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- backend-api-design, cli
Hướng nghiên cứu
Start by reading the CLI help and documentation entries for --lazy, then trace where Semcode builds its MCP initialization instructions. The issue proposes deprecating the flag while keeping it functional and shortening those instructions. Done means the deprecation and instruction changes are specified; the issue leaves the compatibility decision open and asks for user evidence, so the scope needs maintainer agreement.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
--lazy was added to reduce the model context used by MCP tool schemas. It advertises three discovery and dispatch tools in place of Semcode’s individual tools. Clients that already support on-demand discovery can find tools such as find_function and grep_functions directly when Semcode advertises them. Original PR #12
| Client | MCP tool discovery | When it applies |
|---|---|---|
| Claude Code | Tool Search loads full tool definitions on demand. | On by default on supported models and deployments. Claude Code docs |
| Codex | Native tool_search discovers deferred MCP tools. |
Available on models that support tool search. Code Mode is optional. Tool discovery · Code Mode defaults |
| OpenCode | Code Mode provides a tool catalog and lookup on demand. | On by default in current main. Individual servers can opt out. OpenCode MCP docs |
| oh-my-pi | MCP tools appear in a Bash command catalog with schema-derived --help on demand. |
Tool commands are on by default and require Bash to be active. MCP tool authoring · Tool command defaults |
I propose marking --lazy deprecated in CLI help and the docs while keeping it functional. I also propose shortening the default MCP initialization instructions. Semcode currently sends the full usage guide in that field, which can still consume context when clients defer tool schemas. Related PR #104
Comments welcome, especially from anyone still using --lazy. Client versions, workflows that depend on it, and measured context savings would help determine whether to keep it as a compatibility option or remove it after a deprecation period.
- Ngôn ngữ chính
- Rust
- Star
- 187
- Fork
- 53
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 79
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của facebookexperimental/semcode
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
facebookexperimental/semcode#195 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
extract: namespaced C++ this->m and parameter p->m accesses file under different container typesĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
facebookexperimental/semcode#198 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
facebookexperimental/semcode#197 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
facebookexperimental/semcode#196 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
facebookexperimental/semcode#194 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của facebookexperimental/semcode
Issue tương tự
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Có thể đã có người làm @flyingrobots đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
flyingrobots/edict#457 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
O-windows relnotes relnotes-needs-review relnotes-tracking-issue T-libs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
approved
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
fritzprix/libr-agent#3266 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Frame::second_to_frame truncates f32 product, causing periodic off-by-one framesCó thể đã có người làm @ShamanicArts đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
dmtrKovalenko/fframes#296 ·
Maintainer thường phản hồi trong vòng 1 ngày