grepmax 0.16.4 → 0.16.5

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.16.4",
3
+ "version": "0.16.5",
4
4
  "author": "Robert Owens <78518764+reowens@users.noreply.github.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.16.4",
3
+ "version": "0.16.5",
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",
@@ -175,8 +175,28 @@ async function main() {
175
175
  const response = {
176
176
  hookSpecificOutput: {
177
177
  hookEventName: "SessionStart",
178
- additionalContext:
179
- '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. Role tags in results: [DEFI]=definition, [ORCH]=orchestration, [IMPL]=implementation, [DOCS]=docs. --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). If results look stale, run Bash(gmax index) to repair.',
178
+ additionalContext: `gmax ready. Add --agent to any command for compact output (~89% fewer tokens).
179
+
180
+ Find:
181
+ gmax "topic" semantic search
182
+ gmax similar <symbol> similar code
183
+
184
+ Understand:
185
+ gmax peek <symbol> signature + callers + callees + tests
186
+ gmax extract <symbol> full body + tests
187
+ gmax trace <symbol> call graph (--inbound = callers + snippets)
188
+ gmax test <symbol> tests for symbol
189
+ gmax impact <symbol> blast radius
190
+
191
+ Survey:
192
+ gmax skeleton <file> file structure (file path, NOT a directory)
193
+ gmax context "topic" --budget 4000 multi-file topic summary
194
+ gmax log <path-or-symbol> git commits (replaces recent/diff)
195
+ gmax status indexed projects
196
+
197
+ Scope flags: --root <name|path>, --in <subpath>, --exclude <subpath>.
198
+ Roles in results: [DEFI] [ORCH] [IMPL] [DOCS].
199
+ Recovery: "not added yet" → gmax add; stale results → gmax index.`,
180
200
  },
181
201
  };
182
202
  process.stdout.write(JSON.stringify(response));
@@ -52,7 +52,7 @@ async function main() {
52
52
  hookSpecificOutput: {
53
53
  hookEventName: "SubagentStart",
54
54
  additionalContext:
55
- 'gmax semantic search is available. Use Bash(gmax "query" --agent) for concept search, Bash(gmax peek <symbol>) for overview, Bash(gmax extract <symbol>) for full body, Bash(gmax trace <symbol>) for call graph. If results look stale, run Bash(gmax index) to repair.',
55
+ 'gmax available: gmax "query" --agent (search), gmax peek/extract/trace <symbol> --agent (symbol info / call graph). Stale results gmax index.',
56
56
  },
57
57
  };
58
58
  process.stdout.write(JSON.stringify(response));