Skip to content

Request a Find mode (or name_pattern arg on Directory mode) #62

@iamDyeus

Description

@iamDyeus
# What would be ideal:
fs_read(".", mode="Find", pattern="*auth*")
# Returns: {"type": "find", "matches": [{"path": "src/auth/login.ts"}, ...]}

This would let find_files be fully native with zero Python filtering. The Directory + Python glob interim works correctly but depth=10 means contextinator walks the whole tree upfront even if only 2 files match — a native Find mode would be more efficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions