RFC: Deprecate `semcode-mcp --lazy` in favor of client-side tool discovery
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- backend-api-design, cli
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
--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.
- Lingua principale
- Rust
- Stelle
- 187
- Fork
- 53
- Merge medio
- 1g 9h
- PR unite (30g)
- 79
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di facebookexperimental/semcode
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 71/100
facebookexperimental/semcode#195 ·
I maintainer di solito rispondono entro 2 giorni
-
extract: namespaced C++ this->m and parameter p->m accesses file under different container typesAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
facebookexperimental/semcode#198 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
facebookexperimental/semcode#197 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
facebookexperimental/semcode#196 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
facebookexperimental/semcode#194 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di facebookexperimental/semcode
Issue simili
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Forse già presa @flyingrobots l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
flyingrobots/edict#457 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
-
O-windows relnotes relnotes-needs-review relnotes-tracking-issue T-libs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
approved
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
fritzprix/libr-agent#3266 ·
I maintainer di solito rispondono entro 1 giorno
-
Frame::second_to_frame truncates f32 product, causing periodic off-by-one framesForse già presa @ShamanicArts l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
dmtrKovalenko/fframes#296 ·
I maintainer di solito rispondono entro 1 giorno