grepmax 0.11.1 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "author": "Robert Owens <robowens@me.com>",
5
5
  "homepage": "https://github.com/reowens/grepmax",
6
6
  "bugs": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities.",
5
5
  "author": {
6
6
  "name": "Robert Owens",
@@ -121,7 +121,7 @@ async function main() {
121
121
  hookSpecificOutput: {
122
122
  hookEventName: "SessionStart",
123
123
  additionalContext:
124
- 'gmax ready. PREFER CLI over MCP — use Bash(gmax "query" --agent) for search (one line per result, 89% fewer tokens). Bash(gmax extract <symbol>) for full function body. Bash(gmax peek <symbol>) for quick overview (sig+callers+callees). Bash(gmax trace <symbol>) for call graphs. Bash(gmax skeleton <path>) for structure. Bash(gmax diff [ref]) for git changes. Bash(gmax test <symbol>) for test coverage. Bash(gmax impact <symbol>) for blast radius. Bash(gmax similar <symbol>) for similar code. Bash(gmax context "topic" --budget 4000) for topic summary. Bash(gmax status) to check indexed projects. --agent flag works on search, trace, symbols, related, recent, status, project, extract, peek, diff, test, impact, similar. If search says "not added yet", run Bash(gmax add).',
124
+ 'gmax ready. Use Bash(gmax "query" --agent) for search (one line per result, 89% fewer tokens). Bash(gmax extract <symbol>) for full function body. Bash(gmax peek <symbol>) for quick overview (sig+callers+callees). Bash(gmax trace <symbol>) for call graphs. Bash(gmax skeleton <path>) for structure. Bash(gmax diff [ref]) for git changes. Bash(gmax test <symbol>) for test coverage. Bash(gmax impact <symbol>) for blast radius. Bash(gmax similar <symbol>) for similar code. Bash(gmax context "topic" --budget 4000) for topic summary. Bash(gmax status) to check indexed projects. --agent flag works on search, trace, symbols, related, recent, status, project, extract, peek, diff, test, impact, similar. If search says "not added yet", run Bash(gmax add).',
125
125
  },
126
126
  };
127
127
  process.stdout.write(JSON.stringify(response));
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: grepmax
3
3
  description: Semantic code search. Use alongside grep - grep for exact strings, gmax for concepts.
4
- allowed-tools: "mcp__grepmax__semantic_search, mcp__grepmax__code_skeleton, mcp__grepmax__trace_calls, mcp__grepmax__list_symbols, mcp__grepmax__index_status, mcp__grepmax__summarize_directory, mcp__grepmax__summarize_project, mcp__grepmax__related_files, mcp__grepmax__recent_changes, Bash(gmax:*), Read"
4
+ allowed-tools: "Bash(gmax:*), Read"
5
5
  ---
6
6
 
7
7
  ## When to use what
@@ -14,19 +14,17 @@ allowed-tools: "mcp__grepmax__semantic_search, mcp__grepmax__code_skeleton, mcp_
14
14
  - **Need file structure?** → `Bash(gmax skeleton <path>)`
15
15
  - **Need call flow?** → `Bash(gmax trace <symbol>)`
16
16
 
17
- ## IMPORTANT: Use CLI, not MCP tools
17
+ ## Quick start
18
18
 
19
- **Always prefer `Bash(gmax ...)` over MCP tool calls.** Use `--agent` for the most token-efficient search output (one line per result with signature hints).
19
+ Use `--agent` for the most token-efficient output (one line per result with signature hints).
20
20
 
21
21
  ```
22
22
  Bash(gmax "auth handler" --role ORCHESTRATION --lang ts --agent -m 3)
23
23
  ```
24
24
 
25
- **Only use MCP tools** for `index_status` or `summarize_directory`. For everything else, use CLI.
26
-
27
25
  ## Project management
28
26
 
29
- Projects must be added before CLI search works. MCP tools auto-add on first use, but CLI requires an explicit step:
27
+ Projects must be added before search works:
30
28
 
31
29
  ```
32
30
  gmax add # add + index current directory
@@ -207,10 +205,6 @@ gmax doctor # health check
207
205
  14. **Related** — `Bash(gmax related <file>)` to see what else to look at
208
206
  15. **Status** — `Bash(gmax status)` to check index state across all projects
209
207
 
210
- ## MCP tools
211
-
212
- Use MCP only for `index_status` and `summarize_directory`. Use CLI for everything else. For cross-project search, use `scope: "all"` on semantic_search (replaces search_all).
213
-
214
208
  ## Tips
215
209
 
216
210
  - **Use `--agent` for compact output** — supported on search, trace, symbols, related, recent, status, project.