Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .ignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
!.github/**
!justfile

# Then the exclusions (applied within the un-ignored trees)
# Then the exclusions (applied within the un-ignored trees).
# Re-including a subtree of an excluded dir needs BOTH lines:
# !/path/dir/ and !/path/dir/**
.jp/conversations/
.jp/local-conversations/
docs/.yarn/
Expand Down
5 changes: 5 additions & 0 deletions .jp/mcp/tools/fs/grep_files.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ If the number of results exceeds 100, the `context` option is disabled, and 50
matches are returned without context. You can re-run the tool with a more
specific pattern or limited to specific paths to narrow down the results with
context.

Searches honor the workspace `.ignore` file with gitignore semantics,
including negations. Files inside an excluded tree stay hidden unless the
directory and its contents are negated separately and seemingly redundantly
(`!/target/doc/` and `!/target/doc/**`).
"""

examples = """
Expand Down
8 changes: 8 additions & 0 deletions .jp/mcp/tools/fs/list_files.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ run = "unattended"
source = "local"
command = "just serve-tools {{context}} {{tool}}"
summary = "List files in the project's local filesystem."
description = """
Results honor the workspace `.ignore` file with gitignore semantics,
including negations. Note the gitignore re-inclusion rule: files inside
an excluded tree stay hidden unless the directory and its contents are
negated separately and seemingly redundantly (`!/target/doc/` and
`!/target/doc/**`). If a file exists on disk but is absent from the
listing, it matched an `.ignore` rule.
"""

examples = """
List all Rust files:
Expand Down
Loading
Loading