Skip to content

fix(shell): index tracked vendor files#2549

Open
lihailong00 wants to merge 1 commit into
MoonshotAI:mainfrom
lihailong00:codex/issue-1962-vendor-index
Open

fix(shell): index tracked vendor files#2549
lihailong00 wants to merge 1 commit into
MoonshotAI:mainfrom
lihailong00:codex/issue-1962-vendor-index

Conversation

@lihailong00

@lihailong00 lihailong00 commented Jul 23, 2026

Copy link
Copy Markdown

Summary

  • allow Git-tracked files under vendor/ to participate in @ file completion
  • continue filtering tracked node_modules and other generated directories
  • continue excluding untracked vendor trees to avoid candidate-set growth

Reproduction and verification

Before the fix, a tracked vendor/dep.py was deterministically absent from completion. Regression tests also create 100 untracked vendor files and verify that they remain excluded.

  • targeted file-completion/filter tests — 28 passed across focused runs
  • targeted Ruff and Pyright — passed

Closes #1962


Open in Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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.

kimi不能索引项目vendor目录下的文件 || kimi cannot index files in the project vendor directory

1 participant