From 698b969f78e537cd824d75110f79ffaae854a950 Mon Sep 17 00:00:00 2001 From: centdix Date: Wed, 14 May 2025 16:46:26 +0200 Subject: [PATCH] better --- PROBE_USAGE.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/PROBE_USAGE.md b/PROBE_USAGE.md index acf39f1b23..0eb286774f 100644 --- a/PROBE_USAGE.md +++ b/PROBE_USAGE.md @@ -1,6 +1,4 @@ -# Probe - -[![npm version](https://img.shields.io/npm/v/@buger/probe)](https://www.npmjs.com/package/@buger/probe) +# Probe Usage Probe is a powerful, AI-augmented code search and extraction tool. It combines fast, tree-sitter–powered queries with optional LLM integration to help you find, extract, and understand code across any codebase. @@ -25,19 +23,11 @@ curl -fsSL https://raw.githubusercontent.com/buger/probe/main/install.sh | bash Search for code containing specific phrases in the current directory: ```bash -probe search "parser" ./ +probe search "parser" ./backend ``` This will search for the terms "parser" in your codebase and return the most relevant code blocks. -## 🔄 Advanced Search (with Token Limiting) - -Limit the total tokens for AI tools with context window constraints: - -```bash -probe search "prompt injection" ./ --max-tokens 10000 -``` - ## 💾 Session-Based Caching Use session IDs to avoid seeing the same code blocks multiple times in related searches: