RFC: Deprecate `semcode-mcp --lazy` in favor of client-side tool discovery

Abierto
#184 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

--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.

Lenguaje dominante
Rust
Estrellas
187
Forks
53
Merge medio
1 d 9 h
PR fusionados (30 d)
79

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de facebookexperimental/semcode

Todos los issues de facebookexperimental/semcode

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.