Skip to content

feat(mcp): make permalinks opt-in, add tool parameter aliases, and resolve custom C#/TS/Python routes - #177

Merged
spelech merged 1 commit into
mainfrom
feat/opt-in-permalinks-and-custom-routes-177
Nov 18, 2026
Merged

spelech merged 1 commit into
mainfrom
feat/opt-in-permalinks-and-custom-routes-177

Conversation

@spelech

@spelech spelech commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Opt-In Permalinks (include_permalinks: bool = False): find_routes, search, and grep_code omit Git web permalinks by default (matching trace_path) and include them when include_permalinks=True.
  • Direct & Code Mode Parameter Aliases: Accept common parameter aliases on direct MCP tool calls and inside execute_script (path / path_query / route on find_routes, filepath / file on read_file, query on find_symbol / trace_path / grep_code, query / error on diagnose_issue, and top_k -> limit) while keeping published JSON Schemas compact via _SCHEMA_REQUIRED_OVERRIDES and _SCHEMA_HIDDEN_ALIAS_PROPERTIES.
  • Streamable HTTP /sse Routing & Dynamic Code Mode Gating: Route POST /sse and DELETE /sse (without session_id=) to /mcp in McpPingMiddleware, and omit execute_script when CODE_MODE_ENABLED=false.
  • Multi-Language Route & Client Call Extraction: Resolve C# custom route/verb attributes (IRouteTemplateProvider, IActionHttpMethodProvider, base constructor forwarding, optional trailing route params), TypeScript class field arrow functions, Express custom Router() variables, and Python @decorator(..., route="/api") routes.
  • Database Single-Writer Channel (DatabaseWriteChannel): Serialize concurrent SQLite writer threads through a bounded queue to eliminate lock contention during multi-repo ingestion.

@spelech
spelech merged commit b02ebb4 into main Nov 18, 2026
16 checks passed
@spelech
spelech deleted the feat/opt-in-permalinks-and-custom-routes-177 branch November 18, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant