feat: 扩展文本型文件索引兜底支持#1
Open
mjnhmd wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
.cs扩展名映射用户影响
Android、配置密集型、Web/脚本混合仓库在未接入专用 Tree-sitter grammar 前,也能把关键文本文件纳入检索,不再因为没有 AST parser 直接丢失上下文。
验证
pnpm fmt通过;保留既有src/cli.ts未使用参数 warning,未在本 PR 处理pnpm exec vitest run tests/scanner/filter.test.ts tests/scanner/processor.test.ts通过:15 testspnpm build通过pnpm exec vitest run tests/entryCli.test.ts通过:8 testsEMBEDDINGS_API_KEY=dummy EMBEDDINGS_BASE_URL=http://localhost/v1/embeddings EMBEDDINGS_MODEL=dummy pnpm exec vitest run tests/indexer/index.test.ts通过:1 testEMBEDDINGS_API_KEY=dummy EMBEDDINGS_BASE_URL=http://localhost/v1/embeddings EMBEDDINGS_MODEL=dummy pnpm test仍有 1 个既有失败:tests/skills/skillAssets.test.ts期望description: Use when,但当前skills/using-contextweaver/SKILL.md已是中文 description;该失败与本 PR 改动无关