Repository navigation
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
…e rendering logic
…s and related functions
…pecifications from user prompts
… file parsing logic
…lidate ignore patterns and hidden file parsing logic
Author
|
@tibo-openai any update on this PR? |
|
This is critical, any update? The codebase does mention it here: But has no ability to load ignore files |
|
Related to #206 |
Author
|
Hii @fouad-openai any update on this PR? |
|
Thanks for the contribution! We're primarily focused on the native/Rust implementation of Codex CLI and would love to see if this is still an issue on the latest version. If it is, we're happy to take a look at a PR to the |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
.agentignore Support
Overview
This PR implements support for
.agentignorefiles, providing users with a familiar and flexible way to exclude specific files and directories from agent processing. The implementation follows the.gitignorepattern syntax that developers are already familiar with.This PR Resolves #85
Features
.agentignorefiles*.env,*.loglogs//top-level-only.txtsrc/**/node_modules/!important.envImplementation Details
loadAgentIgnorePatterns()to read user-defined patternsgetMergedIgnorePatterns()to combine default and user patternsisExplicitlyIgnored()for explicit pattern checkinggetSafeFileContents()for safe file access respecting all patterns