Skip to content

feat: add code file extensions - #625

Open
FeiZhou02 wants to merge 1 commit into
nashsu:mainfrom
FeiZhou02:feat/add-code-extension
Open

feat: add code file extensions#625
FeiZhou02 wants to merge 1 commit into
nashsu:mainfrom
FeiZhou02:feat/add-code-extension

Conversation

@FeiZhou02

Copy link
Copy Markdown

Summary

  • INGESTABLE_SOURCE_EXTENSIONS 中新增 13 种常见代码文件扩展名(js, ts, jsx, tsx, py, java, c, cpp, cs, rb, go, rs, php),使代码文件可作为源文件被摄取
  • SOURCE_WATCH_FILE_TYPE_GROUPS 中新增 "code" 文件类型分组,便于在监控配置中按代码类型过滤

Test Plan

  • isIngestableSourcePath 正确接受小写和大小写混合的代码扩展名
  • isIngestableSourcePath 拒绝未知扩展名和 dotfiles
  • 默认配置拒绝代码文件(不影响现有行为)
  • 显式配置 includeExtensions 后接受代码文件

Copilot AI review requested due to automatic review settings July 30, 2026 13:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants