grepmax 0.26.43 → 0.26.45
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/.claude-plugin/marketplace.json +1 -1
- package/NOTICE +6 -0
- package/README.md +5 -1
- package/dist/bin.js +4 -0
- package/dist/commands/doctor.js +2 -1
- package/dist/commands/mcp.js +234 -93
- package/dist/commands/project.js +0 -1
- package/dist/commands/similar.js +0 -1
- package/dist/commands/skeleton.js +0 -1
- package/dist/commands/status.js +32 -18
- package/dist/commands/surprises.js +0 -1
- package/dist/commands/symbols.js +0 -1
- package/dist/commands/watch.js +2 -1
- package/dist/eval-like-limit-probe.js +60 -41
- package/dist/lib/analysis/surprising-connections.js +4 -3
- package/dist/lib/daemon/daemon.js +14 -2
- package/dist/lib/daemon/graph-handler.js +33 -33
- package/dist/lib/daemon/rows-handler.js +13 -51
- package/dist/lib/daemon/vector-handler.js +18 -17
- package/dist/lib/graph/graph-builder.js +33 -16
- package/dist/lib/graph/impact.js +9 -8
- package/dist/lib/index/index-config.js +2 -2
- package/dist/lib/llm/config.js +9 -3
- package/dist/lib/llm/tools.js +5 -4
- package/dist/lib/output/mcp-results.js +177 -0
- package/dist/lib/search/pagerank.js +2 -1
- package/dist/lib/search/searcher.js +5 -4
- package/dist/lib/skeleton/retriever.js +2 -1
- package/dist/lib/store/lance-sdk.js +46 -0
- package/dist/lib/store/vector-db.js +57 -16
- package/dist/lib/utils/cross-project.js +2 -2
- package/dist/lib/utils/project-registry.js +8 -8
- package/dist/lib/utils/query-timeout.js +53 -13
- package/dist/lib/utils/store-access.js +6 -5
- package/dist/lib/utils/store-context.js +102 -0
- package/dist/lib/utils/stores.js +1 -1
- package/dist/vendor/lancedb/LICENSE +202 -0
- package/dist/vendor/lancedb/NODEJS_THIRD_PARTY_LICENSES.md +668 -0
- package/dist/vendor/lancedb/RUST_THIRD_PARTY_LICENSES.html +14607 -0
- package/dist/vendor/lancedb/arrow.d.ts +296 -0
- package/dist/vendor/lancedb/arrow.js +1145 -0
- package/dist/vendor/lancedb/arrow_type.d.ts +9 -0
- package/dist/vendor/lancedb/arrow_type.js +29 -0
- package/dist/vendor/lancedb/connection.d.ts +508 -0
- package/dist/vendor/lancedb/connection.js +298 -0
- package/dist/vendor/lancedb/embedding/embedding_function.d.ts +103 -0
- package/dist/vendor/lancedb/embedding/embedding_function.js +192 -0
- package/dist/vendor/lancedb/embedding/index.d.ts +37 -0
- package/dist/vendor/lancedb/embedding/index.js +108 -0
- package/dist/vendor/lancedb/embedding/openai.d.ts +16 -0
- package/dist/vendor/lancedb/embedding/openai.js +81 -0
- package/dist/vendor/lancedb/embedding/registry.d.ts +94 -0
- package/dist/vendor/lancedb/embedding/registry.js +221 -0
- package/dist/vendor/lancedb/embedding/transformers.d.ts +36 -0
- package/dist/vendor/lancedb/embedding/transformers.js +110 -0
- package/dist/vendor/lancedb/header.d.ts +162 -0
- package/dist/vendor/lancedb/header.js +217 -0
- package/dist/vendor/lancedb/index.d.ts +246 -0
- package/dist/vendor/lancedb/index.js +176 -0
- package/dist/vendor/lancedb/indices.d.ts +721 -0
- package/dist/vendor/lancedb/indices.js +166 -0
- package/dist/vendor/lancedb/license_header.txt +2 -0
- package/dist/vendor/lancedb/materialized_view.d.ts +69 -0
- package/dist/vendor/lancedb/materialized_view.js +112 -0
- package/dist/vendor/lancedb/merge.d.ts +104 -0
- package/dist/vendor/lancedb/merge.js +120 -0
- package/dist/vendor/lancedb/native.d.ts +1193 -0
- package/dist/vendor/lancedb/native.js +688 -0
- package/dist/vendor/lancedb/oauth.d.ts +66 -0
- package/dist/vendor/lancedb/oauth.js +15 -0
- package/dist/vendor/lancedb/otel.d.ts +26 -0
- package/dist/vendor/lancedb/otel.js +114 -0
- package/dist/vendor/lancedb/permutation.d.ts +143 -0
- package/dist/vendor/lancedb/permutation.js +184 -0
- package/dist/vendor/lancedb/provenance.json +6 -0
- package/dist/vendor/lancedb/query.d.ts +663 -0
- package/dist/vendor/lancedb/query.js +966 -0
- package/dist/vendor/lancedb/rerankers/index.d.ts +5 -0
- package/dist/vendor/lancedb/rerankers/index.js +19 -0
- package/dist/vendor/lancedb/rerankers/rrf.d.ts +14 -0
- package/dist/vendor/lancedb/rerankers/rrf.js +28 -0
- package/dist/vendor/lancedb/sanitize.d.ts +32 -0
- package/dist/vendor/lancedb/sanitize.js +544 -0
- package/dist/vendor/lancedb/scannable.d.ts +92 -0
- package/dist/vendor/lancedb/scannable.js +200 -0
- package/dist/vendor/lancedb/schema.d.ts +16 -0
- package/dist/vendor/lancedb/schema.js +387 -0
- package/dist/vendor/lancedb/table.d.ts +1069 -0
- package/dist/vendor/lancedb/table.js +498 -0
- package/dist/vendor/lancedb/util.d.ts +14 -0
- package/dist/vendor/lancedb/util.js +77 -0
- package/package.json +19 -7
- package/plugins/grepmax/.claude-plugin/plugin.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"name": "grepmax",
|
|
11
11
|
"source": "./plugins/grepmax",
|
|
12
12
|
"description": "Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities.",
|
|
13
|
-
"version": "0.26.
|
|
13
|
+
"version": "0.26.45",
|
|
14
14
|
"author": {
|
|
15
15
|
"name": "Robert Owens",
|
|
16
16
|
"email": "robowens@me.com"
|
package/NOTICE
CHANGED
|
@@ -31,3 +31,9 @@ THIRD-PARTY DEPENDENCIES
|
|
|
31
31
|
|
|
32
32
|
This software depends on various open-source libraries. See package.json for
|
|
33
33
|
a complete list of dependencies and their respective licenses.
|
|
34
|
+
|
|
35
|
+
The distribution includes the unmodified JavaScript runtime from
|
|
36
|
+
@lancedb/lancedb 0.38.0 (https://github.com/lancedb/lancedb), licensed under
|
|
37
|
+
Apache-2.0. Its license and build provenance are included in dist/vendor/lancedb/.
|
|
38
|
+
Its optional provider dependency manifest is not distributed. Platform native
|
|
39
|
+
binaries are installed as separately pinned @lancedb packages.
|
package/README.md
CHANGED
|
@@ -126,7 +126,11 @@ Plugins auto-update when you run `npm install -g grepmax@latest` — no need to
|
|
|
126
126
|
|
|
127
127
|
### MCP Server
|
|
128
128
|
|
|
129
|
-
|
|
129
|
+
MCP is local-only: the client spawns it and communicates through stdin/stdout pipes. It has no HTTP, SSE, or TCP listener and cannot be reached over the network. The daemon socket is restricted to your user account.
|
|
130
|
+
|
|
131
|
+
`gmax mcp` starts a stdio-based MCP server for clients that support MCP but can't run shell commands (Cursor, Windsurf, custom agents). Search-backed tools use the singleton daemon when available, avoiding a separate embedding worker per MCP session, and use an in-process worker for supported offline/secondary-store access. An unsupported daemon command requires `gmax watch restart`.
|
|
132
|
+
|
|
133
|
+
`semantic_search`, `trace_calls`, `dead`, and `index_status` also advertise output schemas and return `structuredContent` with `schemaVersion: 1`, alongside the existing text. Search matches follow the same scope and display filters and include paths, one-based start/end lines, symbols, scores (null when unavailable), and warnings. Trace results preserve caller ancestry and edge confidence; unresolved callees have no location, and omitted callee/importer counts are explicit. Graph conclusions carry `approximate: true`. Index health includes embedding identity, watcher/reconciliation state, and the last compaction result; unavailable health is null or unobserved. These four tools advertise read-only, non-destructive, closed-world annotations. Other tools retain their current contracts.
|
|
130
134
|
|
|
131
135
|
| Tool | Description |
|
|
132
136
|
| --- | --- |
|
package/dist/bin.js
CHANGED
|
@@ -75,6 +75,10 @@ function selectHome() {
|
|
|
75
75
|
if (process.env.GMAX_HOME)
|
|
76
76
|
return;
|
|
77
77
|
const argv = process.argv.slice(2);
|
|
78
|
+
// These enumerate/route stores per request rather than pinning the process
|
|
79
|
+
// to its launch cwd's store. In particular an MCP session can serve both.
|
|
80
|
+
if (argv[0] === "mcp" || argv[0] === "status")
|
|
81
|
+
return;
|
|
78
82
|
const match = (0, stores_1.matchStore)(commandTarget(argv, process.cwd()));
|
|
79
83
|
if (match.kind === "primary")
|
|
80
84
|
return;
|
package/dist/commands/doctor.js
CHANGED
|
@@ -58,6 +58,7 @@ const lock_1 = require("../lib/utils/lock");
|
|
|
58
58
|
const mlx_hf_cache_1 = require("../lib/utils/mlx-hf-cache");
|
|
59
59
|
const project_registry_1 = require("../lib/utils/project-registry");
|
|
60
60
|
const project_root_1 = require("../lib/utils/project-root");
|
|
61
|
+
const query_timeout_1 = require("../lib/utils/query-timeout");
|
|
61
62
|
const root_availability_1 = require("../lib/utils/root-availability");
|
|
62
63
|
const store_access_1 = require("../lib/utils/store-access");
|
|
63
64
|
function formatSize(bytes) {
|
|
@@ -489,7 +490,7 @@ exports.doctor = new commander_1.Command("doctor")
|
|
|
489
490
|
.query()
|
|
490
491
|
.where("length(summary) > 5")
|
|
491
492
|
.select(["id"])
|
|
492
|
-
.toArray()).length;
|
|
493
|
+
.toArray(query_timeout_1.QUERY_EXECUTION_OPTIONS)).length;
|
|
493
494
|
const coverage = (0, doctor_status_1.summaryCoverageStatus)(withSummary, totalChunks);
|
|
494
495
|
console.log(`${coverage.symbol} ${coverage.message}`);
|
|
495
496
|
}
|