weavatrix 1.17.1 → 1.17.3
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 +25 -19
- 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 +2 -2
- package/server.json +2 -2
- package/skill/SKILL.md +14 -4
- package/skill/references/tool-routing.md +2 -2
- package/skill/references/tools/architecture_inventory.md +22 -4
- package/skill/references/tools/build_graph.md +10 -2
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ weavatrix mcp .
|
|
|
58
58
|
```toml
|
|
59
59
|
[mcp_servers.weavatrix]
|
|
60
60
|
command = "npx"
|
|
61
|
-
args = ["-y", "weavatrix@1.17.
|
|
61
|
+
args = ["-y", "weavatrix@1.17.3", "mcp", "."]
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
Pass an absolute repository path when the Codex process cwd is not the project
|
|
@@ -67,7 +67,7 @@ you intend to analyze.
|
|
|
67
67
|
### Claude Code
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
|
-
claude mcp add weavatrix -- npx -y weavatrix@1.17.
|
|
70
|
+
claude mcp add weavatrix -- npx -y weavatrix@1.17.3 mcp .
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
### Cursor
|
|
@@ -80,7 +80,7 @@ the plugin for the same server name:
|
|
|
80
80
|
"mcpServers": {
|
|
81
81
|
"weavatrix": {
|
|
82
82
|
"command": "npx",
|
|
83
|
-
"args": ["-y", "weavatrix@1.17.
|
|
83
|
+
"args": ["-y", "weavatrix@1.17.3", "mcp", "${workspaceFolder}"]
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -89,14 +89,14 @@ the plugin for the same server name:
|
|
|
89
89
|
Profiles expose bounded views of the same engine:
|
|
90
90
|
|
|
91
91
|
```sh
|
|
92
|
-
npx -y weavatrix@1.17.
|
|
93
|
-
npx -y weavatrix@1.17.
|
|
94
|
-
npx -y weavatrix@1.17.
|
|
95
|
-
npx -y weavatrix@1.17.
|
|
96
|
-
npx -y weavatrix@1.17.
|
|
97
|
-
npx -y weavatrix@1.17.
|
|
98
|
-
npx -y weavatrix@1.17.
|
|
99
|
-
npx -y weavatrix@1.17.
|
|
92
|
+
npx -y weavatrix@1.17.3 mcp . --profile=all
|
|
93
|
+
npx -y weavatrix@1.17.3 mcp . --profile=code
|
|
94
|
+
npx -y weavatrix@1.17.3 mcp . --profile=seo
|
|
95
|
+
npx -y weavatrix@1.17.3 mcp . --profile=n8n
|
|
96
|
+
npx -y weavatrix@1.17.3 mcp . --profile=dify
|
|
97
|
+
npx -y weavatrix@1.17.3 mcp . --profile=agent
|
|
98
|
+
npx -y weavatrix@1.17.3 mcp . --profile=diagram
|
|
99
|
+
npx -y weavatrix@1.17.3 mcp . --profile=web3
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
The package contains native binaries for Windows x64/arm64, macOS x64/arm64,
|
|
@@ -250,12 +250,18 @@ Every operation is read-only with respect to the analyzed repository.
|
|
|
250
250
|
Pagination and explicit limits bound large neighborhoods, histories, searches,
|
|
251
251
|
and contract inventories.
|
|
252
252
|
|
|
253
|
-
`architecture_inventory`
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
253
|
+
`build_graph` and `architecture_inventory` share one typed build model. They
|
|
254
|
+
preserve nested Cargo, npm/TypeScript, Go, and Python components, many-to-many
|
|
255
|
+
declared memberships, collision-free identities, configuration predicates,
|
|
256
|
+
and immutable source evidence. Totals and SCC/cycle witnesses are computed
|
|
257
|
+
before pagination, so a response cap cannot change the graph verdict.
|
|
258
|
+
|
|
259
|
+
`ci_restrictions` reuses that target-aware topology while reading local GitHub
|
|
260
|
+
Actions workflows and literal checks. Root files, repeated commands, UTF-8 BOM
|
|
261
|
+
offsets, optional events, base branches, and changed-path scenarios keep exact
|
|
262
|
+
evidence. Dynamic conditions, mutually exclusive configuration unions, actual
|
|
263
|
+
runs, and remote required checks remain explicit unknowns; a workflow file
|
|
264
|
+
alone never establishes a passing gate.
|
|
259
265
|
|
|
260
266
|
Need measured coverage? Run Weavatrix Quality first, then `coverage_map`.
|
|
261
267
|
The host will not invent percentages from an empty search path. Quality
|
|
@@ -310,11 +316,11 @@ coding agent
|
|
|
310
316
|
|
|
|
311
317
|
| MCP over stdio
|
|
312
318
|
v
|
|
313
|
-
weavatrix 1.17.
|
|
319
|
+
weavatrix 1.17.3
|
|
314
320
|
profile catalog · refresh · watcher · MCP framing
|
|
315
321
|
|
|
|
316
322
|
v
|
|
317
|
-
weavatrix-rust 2.17.
|
|
323
|
+
weavatrix-rust 2.17.2
|
|
318
324
|
typed graph · analysis · 67 product operations including local CI, n8n, Dify, agent packages, Mermaid, and Web3
|
|
319
325
|
```
|
|
320
326
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weavatrix",
|
|
3
|
-
"version": "1.17.
|
|
4
|
-
"weavatrixEngineVersion": "2.17.
|
|
3
|
+
"version": "1.17.3",
|
|
4
|
+
"weavatrixEngineVersion": "2.17.2",
|
|
5
5
|
"description": "Native repository intelligence for coding agents: 67 read-only MCP operations backed by typed evidence graphs, impact, architecture, local CI restrictions, APIs, Git, search, semantics, memory, n8n workflows, Dify apps, agent packages, Mermaid diagrams, and Web3 ABIs.",
|
|
6
6
|
"author": "Sergii Ziborov <sergii.ziborov@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
package/server.json
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
"url": "https://github.com/Weavatrix/weavatrix",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "1.17.
|
|
10
|
+
"version": "1.17.3",
|
|
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.
|
|
17
|
+
"version": "1.17.3",
|
|
18
18
|
"runtimeHint": "npx",
|
|
19
19
|
"transport": {
|
|
20
20
|
"type": "stdio"
|
package/skill/SKILL.md
CHANGED
|
@@ -23,8 +23,16 @@ contracts. Do not call it merely because the server is available.
|
|
|
23
23
|
1. Call `graph_stats` and confirm `repository_context.root` matches the workspace
|
|
24
24
|
you intend. The MCP process is pinned to its launch root; it will not silently
|
|
25
25
|
answer for another repository.
|
|
26
|
-
2.
|
|
27
|
-
`
|
|
26
|
+
2. For "what is this repository's architecture?", call
|
|
27
|
+
`architecture_inventory` with no `detail` argument (bounded summary).
|
|
28
|
+
Explain its packages, component areas, dominant coupling, and limits in
|
|
29
|
+
your own concise prose; do not paste the tool's JSON as the answer. Use
|
|
30
|
+
`module_map` for a directory-focused question, or `search_code` for a
|
|
31
|
+
known literal. Request `architecture_inventory` with `detail:"full"`
|
|
32
|
+
only when a specific component, edge, or cycle needs source evidence.
|
|
33
|
+
Use `get_architecture_contract` or `verify_architecture` only when the
|
|
34
|
+
question is about declared target policy or compliance. A component
|
|
35
|
+
quotient/union cycle is a candidate, not proof of a runtime cycle.
|
|
28
36
|
3. Pin decisive evidence with `inspect_symbol`, `go_to_definition`,
|
|
29
37
|
`find_references`, `context_bundle`, or `read_source`.
|
|
30
38
|
4. Expand only when needed: `get_dependents` or `change_impact` for risk,
|
|
@@ -52,8 +60,10 @@ Do not call `open_repo` "just in case". Cross-repository tools take explicit
|
|
|
52
60
|
roots in their arguments. Multi-root retarget requires launching with
|
|
53
61
|
`--allow-retarget`.
|
|
54
62
|
|
|
55
|
-
|
|
56
|
-
|
|
63
|
+
`output_format` controls the MCP envelope, not the amount of detail: `text`
|
|
64
|
+
still contains JSON. Choose each tool's summary/detail or result limits for
|
|
65
|
+
conversational work. Use `token_budget` only as an additional ceiling; it can
|
|
66
|
+
drop evidence arrays. Call `rebuild_graph`
|
|
57
67
|
only when the repository changed before automatic refresh completed or when
|
|
58
68
|
deliberately changing graph mode.
|
|
59
69
|
|
|
@@ -19,7 +19,7 @@ cannot silently switch to another repository. Pass an explicit
|
|
|
19
19
|
- [`get_community`](tools/get_community.md) — Return one coupling community (containment and package edges excluded).
|
|
20
20
|
- [`list_communities`](tools/list_communities.md) — List deterministic coupling communities (containment and package edges excluded).
|
|
21
21
|
- [`module_map`](tools/module_map.md) — Production folder map at a requested directory depth.
|
|
22
|
-
- [`build_graph`](tools/build_graph.md) —
|
|
22
|
+
- [`build_graph`](tools/build_graph.md) — Typed workspace, target, configuration, task, and runner topology from captured manifest evidence.
|
|
23
23
|
- [`search_code`](tools/search_code.md) — Literal or Rust-regex repository search without ripgrep.
|
|
24
24
|
- [`read_source`](tools/read_source.md) — Bounded source context by node or repository path.
|
|
25
25
|
- [`inspect_symbol`](tools/inspect_symbol.md) — Definition, direct relationships and source evidence.
|
|
@@ -41,7 +41,7 @@ cannot silently switch to another repository. Pass an explicit
|
|
|
41
41
|
|
|
42
42
|
## Quality and architecture
|
|
43
43
|
|
|
44
|
-
- [`architecture_inventory`](tools/architecture_inventory.md) —
|
|
44
|
+
- [`architecture_inventory`](tools/architecture_inventory.md) — Bounded architecture overview by default, with complete edge/cycle-candidate totals; `detail:"full"` gives paged evidence. Explain the overview in prose, not as a JSON dump.
|
|
45
45
|
- [`ci_restrictions`](tools/ci_restrictions.md) — Local GitHub Actions checks and conditional applicability.
|
|
46
46
|
- [`explain_restriction`](tools/explain_restriction.md) — One restriction and its evidence limits.
|
|
47
47
|
- [`find_duplicates`](tools/find_duplicates.md) — Deterministic Type-1/2/3 clone families.
|
|
@@ -1,22 +1,40 @@
|
|
|
1
1
|
# `architecture_inventory`
|
|
2
2
|
|
|
3
|
-
Observed package, component, and typed edge
|
|
4
|
-
|
|
3
|
+
Observed package, nested component, declared-membership, and typed edge
|
|
4
|
+
evidence. The default is a bounded architecture overview, not a raw graph
|
|
5
|
+
dump. No style label or target architecture is inferred.
|
|
5
6
|
|
|
6
7
|
## When to use
|
|
7
8
|
|
|
8
9
|
Orient in an unfamiliar repository or compare observed structure with a
|
|
9
10
|
separately declared architecture contract.
|
|
10
11
|
|
|
12
|
+
Component identities distinguish paths that sanitize alike, including the
|
|
13
|
+
repository root. Files can retain every matching declared membership. Edge
|
|
14
|
+
totals and component SCC/cycle witnesses are computed before presentation
|
|
15
|
+
limits, and each recovered fact keeps its immutable source evidence. A cycle in
|
|
16
|
+
the component quotient is reported as architecture, not as symbol recursion.
|
|
17
|
+
|
|
11
18
|
## Inputs
|
|
12
19
|
|
|
13
|
-
- `
|
|
20
|
+
- `detail`: `summary` (default) or `full`.
|
|
21
|
+
- `max_results` (1–500) and `edge_cursor`: page edges in `full` mode. Supplying
|
|
22
|
+
either without `detail` implies `full`; neither shrinks the summary.
|
|
23
|
+
- `token_budget`: additional output ceiling; may drop samples or evidence.
|
|
24
|
+
- `output_format` (`text`, `json`, or `structured`) changes only the MCP
|
|
25
|
+
representation. `text` still contains serialized JSON, not prose.
|
|
14
26
|
- `expected_repository` (optional active-root guard).
|
|
15
27
|
|
|
16
28
|
## Minimal call
|
|
17
29
|
|
|
18
30
|
```json
|
|
19
|
-
{"name":"architecture_inventory","arguments":{
|
|
31
|
+
{"name":"architecture_inventory","arguments":{}}
|
|
20
32
|
```
|
|
21
33
|
|
|
34
|
+
Turn the returned packages, component paths, dominant coupling, and complete
|
|
35
|
+
edge/cycle-candidate totals into a concise answer in your own words. Never
|
|
36
|
+
present a quotient/union cycle candidate as a proven executable cycle. Ask
|
|
37
|
+
for `{"detail":"full"}` only to inspect a specific edge, component, or
|
|
38
|
+
cycle witness. The full response can be large and paginates edges.
|
|
39
|
+
|
|
22
40
|
The live MCP `tools/list` schema is authoritative.
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# `build_graph`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Typed workspace, package, target, task, and runner topology from captured
|
|
4
|
+
manifest evidence.
|
|
4
5
|
|
|
5
6
|
## When to use
|
|
6
7
|
|
|
7
|
-
Inspect
|
|
8
|
+
Inspect Cargo, npm/TypeScript, Go, and Python workspace members, targets,
|
|
9
|
+
aggregators, entry points, configuration variants, and runner topology. The
|
|
10
|
+
same model feeds architecture and local CI linkage; source evidence is captured
|
|
11
|
+
with the analyzed snapshot rather than reread from a changing worktree.
|
|
8
12
|
|
|
9
13
|
## Inputs
|
|
10
14
|
|
|
@@ -24,3 +28,7 @@ Inspect workspace members, targets, aggregators, and runner topology extracted f
|
|
|
24
28
|
|
|
25
29
|
Use `output_format:"text"` for compact agent interaction. The live MCP
|
|
26
30
|
`tools/list` schema remains authoritative for this installed version.
|
|
31
|
+
|
|
32
|
+
`max_members` limits presentation only. Returned totals still describe the
|
|
33
|
+
complete recovered model, and the result reports an incomplete page instead of
|
|
34
|
+
pretending omitted members do not exist.
|