weavatrix 1.10.0 → 1.11.1
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/README.md +7 -7
- package/bin/native/darwin-arm64/weavatrix +0 -0
- package/bin/native/darwin-x64/weavatrix +0 -0
- package/bin/native/linux-arm64/weavatrix +0 -0
- package/bin/native/linux-x64/weavatrix +0 -0
- package/bin/native/win32-arm64/weavatrix.exe +0 -0
- package/bin/native/win32-x64/weavatrix.exe +0 -0
- package/package.json +3 -3
- package/server.json +3 -3
- package/skill/SKILL.md +9 -3
- package/skill/references/tool-routing.md +8 -3
- package/skill/references/tools/find_references.md +36 -0
- package/skill/references/tools/go_to_definition.md +34 -0
- package/skill/references/tools/perf_attribution.md +39 -0
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
**Give your coding agent repository evidence before it starts guessing.**
|
|
11
11
|
|
|
12
12
|
Weavatrix is the native MCP product for repository intelligence. It gives
|
|
13
|
-
Codex, Claude Code, and other coding agents
|
|
13
|
+
Codex, Claude Code, and other coding agents 47 read-only operations over one
|
|
14
14
|
revision-bound evidence graph: impact, architecture, APIs, Git history,
|
|
15
15
|
duplicates, dead code, search, semantic links, and temporal memory.
|
|
16
16
|
|
|
@@ -169,14 +169,14 @@ Three commits before `ec8bf30` this package was 1.9.2; the agent reads that
|
|
|
169
169
|
follow-up to a diff without touching the worktree. Binary blobs fail closed
|
|
170
170
|
instead of being decoded into garbage.
|
|
171
171
|
|
|
172
|
-
## The
|
|
172
|
+
## The 47 read-only operations
|
|
173
173
|
|
|
174
174
|
| Workflow | Operations |
|
|
175
175
|
| --- | --- |
|
|
176
176
|
| Graph orientation | `graph_stats`, `get_node`, `get_neighbors`, `query_graph`, `god_nodes`, `shortest_path`, `get_community`, `list_communities`, `module_map`, `build_graph` |
|
|
177
177
|
| Change impact | `get_dependents`, `change_impact`, `select_tests`, `verified_change`, `prepare_change`, `graph_diff` |
|
|
178
|
-
| Exact source context | `search_code`, `read_source`, `inspect_symbol`, `context_bundle`, `map_stacktrace` |
|
|
179
|
-
| Health and quality | `find_duplicates`, `find_dead_code`, `run_audit`, `coverage_map`, `hot_path_review` |
|
|
178
|
+
| Exact source context | `search_code`, `read_source`, `inspect_symbol`, `go_to_definition`, `find_references`, `context_bundle`, `map_stacktrace` |
|
|
179
|
+
| Health and quality | `find_duplicates`, `find_dead_code`, `run_audit`, `coverage_map`, `hot_path_review`, `perf_attribution` |
|
|
180
180
|
| APIs and transports | `list_endpoints`, `trace_endpoint`, `trace_api_contract` |
|
|
181
181
|
| Architecture | `get_architecture_contract`, `verify_architecture`, `verify_capabilities`, `explain_architecture_violation`, `propose_architecture_exception` |
|
|
182
182
|
| Git and repositories | `git_history`, `git_read_blob`, `cross_repo_git`, `open_repo`, `list_known_repos`, `rebuild_graph` |
|
|
@@ -205,12 +205,12 @@ coding agent
|
|
|
205
205
|
|
|
|
206
206
|
| MCP over stdio
|
|
207
207
|
v
|
|
208
|
-
weavatrix 1.
|
|
208
|
+
weavatrix 1.11.1
|
|
209
209
|
profile catalog · refresh · watcher · MCP framing
|
|
210
210
|
|
|
|
211
211
|
v
|
|
212
|
-
weavatrix-rust 2.
|
|
213
|
-
typed graph · analysis ·
|
|
212
|
+
weavatrix-rust 2.10.0
|
|
213
|
+
typed graph · analysis · 47 read-only operations
|
|
214
214
|
```
|
|
215
215
|
|
|
216
216
|
This npm product owns MCP transport and native distribution. The
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weavatrix",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"weavatrixEngineVersion": "2.
|
|
5
|
-
"description": "Native repository intelligence for coding agents:
|
|
3
|
+
"version": "1.11.1",
|
|
4
|
+
"weavatrixEngineVersion": "2.10.0",
|
|
5
|
+
"description": "Native repository intelligence for coding agents: 47 read-only MCP operations backed by typed evidence graphs, impact, architecture, APIs, Git, search, semantics, and memory.",
|
|
6
6
|
"author": "Sergii Ziborov <sergii.ziborov@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://weavatrix.com",
|
package/server.json
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.Weavatrix/weavatrix",
|
|
4
4
|
"title": "Weavatrix",
|
|
5
|
-
"description": "Native Weavatrix MCP:
|
|
5
|
+
"description": "Native Weavatrix MCP: 47 read-only repository tools across 24 code and configuration surfaces.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "https://github.com/Weavatrix/weavatrix",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "1.
|
|
10
|
+
"version": "1.11.1",
|
|
11
11
|
"websiteUrl": "https://weavatrix.com",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
16
16
|
"identifier": "weavatrix",
|
|
17
|
-
"version": "1.
|
|
17
|
+
"version": "1.11.1",
|
|
18
18
|
"runtimeHint": "npx",
|
|
19
19
|
"transport": {
|
|
20
20
|
"type": "stdio"
|
package/skill/SKILL.md
CHANGED
|
@@ -17,15 +17,21 @@ contracts. Do not call it merely because the server is available.
|
|
|
17
17
|
|
|
18
18
|
## Minimal workflow
|
|
19
19
|
|
|
20
|
-
1. Call `graph_stats`
|
|
20
|
+
1. Call `graph_stats` and confirm `repository_context.root` matches the workspace
|
|
21
|
+
you intend. The MCP process is pinned to its launch root; it will not silently
|
|
22
|
+
answer for another repository.
|
|
21
23
|
2. Use `module_map` for orientation or `search_code` for a known literal.
|
|
22
|
-
3. Pin decisive evidence with `inspect_symbol`, `
|
|
23
|
-
`read_source`.
|
|
24
|
+
3. Pin decisive evidence with `inspect_symbol`, `go_to_definition`,
|
|
25
|
+
`find_references`, `context_bundle`, or `read_source`.
|
|
24
26
|
4. Expand only when needed: `get_dependents` or `change_impact` for risk,
|
|
25
27
|
`trace_endpoint` or `trace_api_contract` for runtime contracts,
|
|
26
28
|
`verify_architecture` for policy, and `run_audit` for a broad health pass.
|
|
27
29
|
5. Use repository-native tests or benchmarks for behavioral proof.
|
|
28
30
|
|
|
31
|
+
Do not call `open_repo` "just in case". Cross-repository tools take explicit
|
|
32
|
+
roots in their arguments. Multi-root retarget requires launching with
|
|
33
|
+
`--allow-retarget`.
|
|
34
|
+
|
|
29
35
|
Prefer `output_format:"text"` and a small `token_budget` for conversational
|
|
30
36
|
work. Use JSON only for automation or retained evidence. Call `rebuild_graph`
|
|
31
37
|
only when the repository changed before automatic refresh completed or when
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
Open only the card for the method you are about to call. Each card explains
|
|
4
4
|
when to use the method, its exact published inputs, and a minimal compact call.
|
|
5
5
|
The live MCP `tools/list` schema is authoritative. Every answer carries
|
|
6
|
-
`repository_context` (root, scan revision, Git HEAD, graph age)
|
|
7
|
-
`expected_repository`
|
|
6
|
+
`repository_context` (root, scan revision, Git HEAD, graph age). The process
|
|
7
|
+
pins its launch root and injects `expected_repository` when omitted, so answers
|
|
8
|
+
cannot silently switch to another repository. Pass an explicit
|
|
9
|
+
`expected_repository` to fail fast when you already know the intended folder.
|
|
8
10
|
|
|
9
11
|
## Graph, source, and orientation
|
|
10
12
|
|
|
@@ -21,6 +23,8 @@ The live MCP `tools/list` schema is authoritative. Every answer carries
|
|
|
21
23
|
- [`search_code`](tools/search_code.md) — Literal or Rust-regex repository search without ripgrep.
|
|
22
24
|
- [`read_source`](tools/read_source.md) — Bounded source context by node or repository path.
|
|
23
25
|
- [`inspect_symbol`](tools/inspect_symbol.md) — Definition, direct relationships and source evidence.
|
|
26
|
+
- [`go_to_definition`](tools/go_to_definition.md) — Resolve the symbol at a source position to its definition without guessing by name.
|
|
27
|
+
- [`find_references`](tools/find_references.md) — Occurrences of the symbol at a position or label, from the graph and an on-disk SCIP index if present.
|
|
24
28
|
- [`context_bundle`](tools/context_bundle.md) — Compact graph and source bundle for one symbol.
|
|
25
29
|
- [`map_stacktrace`](tools/map_stacktrace.md) — Map stack-trace text onto repository files and symbols.
|
|
26
30
|
|
|
@@ -42,6 +46,7 @@ The live MCP `tools/list` schema is authoritative. Every answer carries
|
|
|
42
46
|
- [`run_audit`](tools/run_audit.md) — Repository structure and evidence completeness audit.
|
|
43
47
|
- [`coverage_map`](tools/coverage_map.md) — Measured coverage discovery or explicit static reachability.
|
|
44
48
|
- [`hot_path_review`](tools/hot_path_review.md) — Rank functions by static complexity times resolved call fan-in.
|
|
49
|
+
- [`perf_attribution`](tools/perf_attribution.md) — Correlate a measurement series with the declarations that changed between the revisions that produced it.
|
|
45
50
|
- [`get_architecture_contract`](tools/get_architecture_contract.md) — Read or preview the local target-architecture contract.
|
|
46
51
|
- [`prepare_change`](tools/prepare_change.md) — Select architecture rules for intended changed files.
|
|
47
52
|
- [`verify_architecture`](tools/verify_architecture.md) — Verify graph dependencies against the active contract.
|
|
@@ -57,7 +62,7 @@ The live MCP `tools/list` schema is authoritative. Every answer carries
|
|
|
57
62
|
|
|
58
63
|
## Repositories and refresh
|
|
59
64
|
|
|
60
|
-
- [`open_repo`](tools/open_repo.md) — Retarget to another local repository. Graphs unused for 20 minutes unload; asking for one again rescans that folder.
|
|
65
|
+
- [`open_repo`](tools/open_repo.md) — Retarget to another local repository. Default launches refuse this unless started with `--allow-retarget`. Graphs unused for 20 minutes unload; asking for one again rescans that folder.
|
|
61
66
|
- [`list_known_repos`](tools/list_known_repos.md) — List repositories with an in-process graph.
|
|
62
67
|
- [`rebuild_graph`](tools/rebuild_graph.md) — Rebuild the derived in-memory graph without source writes.
|
|
63
68
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# `find_references`
|
|
2
|
+
|
|
3
|
+
Occurrences of the symbol at a position or label, from the graph and an on-disk SCIP index if present.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
List every recorded occurrence of one symbol after you have a label or a pinned
|
|
8
|
+
`(path, line, column)` usage.
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
|
|
12
|
+
- `label` (string) — exact node label; mutually exclusive with a full position.
|
|
13
|
+
- `path` (string) — repository-relative file when resolving by position.
|
|
14
|
+
- `line` (integer, min 1) — 1-based line when resolving by position.
|
|
15
|
+
- `column` (integer, min 1) — 1-based column when resolving by position.
|
|
16
|
+
- `scip_path` (string) — optional on-disk SCIP index; never spawned.
|
|
17
|
+
- `max_results` (integer, min 1).
|
|
18
|
+
- `cursor` (string).
|
|
19
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
20
|
+
|
|
21
|
+
## Minimal call
|
|
22
|
+
|
|
23
|
+
```json
|
|
24
|
+
{
|
|
25
|
+
"name": "find_references",
|
|
26
|
+
"arguments": {
|
|
27
|
+
"path": "src/main.rs",
|
|
28
|
+
"line": 42,
|
|
29
|
+
"column": 12,
|
|
30
|
+
"output_format": "text"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Requires `label` or a complete position. The live MCP `tools/list` schema
|
|
36
|
+
remains authoritative for this installed version.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# `go_to_definition`
|
|
2
|
+
|
|
3
|
+
Resolve the symbol at a source position to its definition without guessing by name.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
You already have `(path, line, column)` for a usage and need the definition the
|
|
8
|
+
graph recorded for that occurrence - not a same-named overload elsewhere.
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
|
|
12
|
+
- `path` (string, required) — repository-relative file.
|
|
13
|
+
- `line` (integer, required, min 1) — 1-based line of the usage.
|
|
14
|
+
- `column` (integer, required, min 1) — 1-based column of the usage.
|
|
15
|
+
- `scip_path` (string) — optional on-disk SCIP index; never spawned.
|
|
16
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
17
|
+
|
|
18
|
+
## Minimal call
|
|
19
|
+
|
|
20
|
+
```json
|
|
21
|
+
{
|
|
22
|
+
"name": "go_to_definition",
|
|
23
|
+
"arguments": {
|
|
24
|
+
"path": "src/main.rs",
|
|
25
|
+
"line": 42,
|
|
26
|
+
"column": 12,
|
|
27
|
+
"output_format": "text"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Unresolved positions stay `UNRESOLVED`; a unique repository name is not a
|
|
33
|
+
definition. The live MCP `tools/list` schema remains authoritative for this
|
|
34
|
+
installed version.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# `perf_attribution`
|
|
2
|
+
|
|
3
|
+
Correlate a measurement series with the declarations that changed between the revisions that produced it.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
You already have a harness table of measurements per Git revision and want
|
|
8
|
+
co-occurrence with structural change - not a profiler sample.
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
|
|
12
|
+
- `measurements_file` (string, required) — repository-relative TSV/CSV the harness wrote; `#` comment rows are ignored.
|
|
13
|
+
- `metric` (string, required) — column with the measured number.
|
|
14
|
+
- `revision_column` (string, default `"commit"`) — column with the Git revision.
|
|
15
|
+
- `direction` ("lower_is_better" | "higher_is_better", default `"lower_is_better"`).
|
|
16
|
+
- `max_revisions` (integer, min 2).
|
|
17
|
+
- `min_delta_percent` (integer, min 0).
|
|
18
|
+
- `top_n` (integer, min 0).
|
|
19
|
+
- `path` (string).
|
|
20
|
+
- `include_tests` (boolean).
|
|
21
|
+
- `include_classified` (boolean).
|
|
22
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
23
|
+
|
|
24
|
+
## Minimal call
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"name": "perf_attribution",
|
|
29
|
+
"arguments": {
|
|
30
|
+
"measurements_file": "bench/results.tsv",
|
|
31
|
+
"metric": "ns_per_op",
|
|
32
|
+
"output_format": "text"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
This is co-occurrence between caller measurements and static change, not CPU
|
|
38
|
+
profiler attribution. The live MCP `tools/list` schema remains authoritative
|
|
39
|
+
for this installed version.
|