grepmax 0.5.3 → 0.5.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/dist/commands/mcp.js
CHANGED
|
@@ -609,7 +609,7 @@ exports.mcp = new commander_1.Command("mcp")
|
|
|
609
609
|
}
|
|
610
610
|
function handleIndexStatus() {
|
|
611
611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
612
|
-
var _a, _b, _c;
|
|
612
|
+
var _a, _b, _c, _d, _e, _f;
|
|
613
613
|
try {
|
|
614
614
|
const config = (0, index_config_1.readIndexConfig)(config_1.PATHS.configPath);
|
|
615
615
|
const globalConfig = (0, index_config_1.readGlobalConfig)();
|
|
@@ -633,7 +633,7 @@ exports.mcp = new commander_1.Command("mcp")
|
|
|
633
633
|
}
|
|
634
634
|
const lines = [
|
|
635
635
|
`Index: ~/.gmax/lancedb (${stats.chunks} chunks, ${fileCount} files)`,
|
|
636
|
-
`Model: ${(_b = config === null || config === void 0 ? void 0 : config.embedModel) !== null &&
|
|
636
|
+
`Model: ${globalConfig.embedMode === "gpu" ? ((_d = (_c = (_b = config_1.MODEL_TIERS[globalConfig.modelTier]) === null || _b === void 0 ? void 0 : _b.mlxModel) !== null && _c !== void 0 ? _c : config === null || config === void 0 ? void 0 : config.embedModel) !== null && _d !== void 0 ? _d : "unknown") : ((_e = config === null || config === void 0 ? void 0 : config.embedModel) !== null && _e !== void 0 ? _e : "unknown")} (${(_f = config === null || config === void 0 ? void 0 : config.vectorDim) !== null && _f !== void 0 ? _f : "?"}d, ${globalConfig.embedMode})`,
|
|
637
637
|
(config === null || config === void 0 ? void 0 : config.indexedAt)
|
|
638
638
|
? `Last indexed: ${config.indexedAt}`
|
|
639
639
|
: "",
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: grepmax
|
|
3
3
|
description: Semantic code search. Use alongside grep - grep for exact strings, gmax for concepts.
|
|
4
4
|
allowed-tools: "mcp__grepmax__semantic_search, mcp__grepmax__search_all, mcp__grepmax__code_skeleton, mcp__grepmax__trace_calls, mcp__grepmax__list_symbols, mcp__grepmax__index_status, mcp__grepmax__summarize_directory, Bash(gmax:*), Read"
|
|
5
5
|
---
|