Skip to content

feat: expose list file filters - #53

Merged
jlitola merged 2 commits into
mainfrom
bubbly-latency
Apr 30, 2026
Merged

feat: expose list file filters#53
jlitola merged 2 commits into
mainfrom
bubbly-latency

Conversation

@jlitola

@jlitola jlitola commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • expose the backend listRepoFiles v7 filter surface through the code_files MCP tool and the githits code files CLI command
  • forward selector, extension, language, file type, and file-intent filters through shared request building and the code navigation service
  • extend parity, request-builder, response, text-format, and CLI tests to lock the new filter behavior on both surfaces

Verification

  • bun test src/shared/list-files-request.test.ts src/shared/list-files-response.test.ts src/shared/list-files-text.test.ts src/tools/list-files.test.ts src/tools/list-files-parity.test.ts src/commands/code/files.test.ts src/services/code-navigation-service.test.ts src/commands/mcp-instructions.test.ts
  • bun run build

jlitola added 2 commits April 30, 2026 14:06
Adopt the backend listRepoFiles v7 filter surface across the code_files MCP tool and the githits code files CLI command. This lets callers narrow file listings by selectors, language, type, and file intent without falling back to broader grep flows.
Tighten the code files help and MCP instructions so selector semantics are explicit and repeatable flags stay readable. Remove noisy default-array markers from help output to keep the new filter surface easy to scan.
@jlitola
jlitola merged commit dd2a2a1 into main Apr 30, 2026
3 checks passed
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