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
|
@@ -175,8 +175,28 @@ async function main() {
|
|
|
175
175
|
const response = {
|
|
176
176
|
hookSpecificOutput: {
|
|
177
177
|
hookEventName: "SessionStart",
|
|
178
|
-
additionalContext:
|
|
179
|
-
|
|
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
|
|
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));
|