weavatrix 1.1.2 → 1.2.0

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 CHANGED
@@ -8,7 +8,7 @@
8
8
  **Give your coding agent repository evidence before it starts guessing.**
9
9
 
10
10
  Weavatrix is the native MCP product for repository intelligence. It gives
11
- Codex, Claude Code, and other coding agents 39 read-only operations over one
11
+ Codex, Claude Code, and other coding agents 42 read-only operations over one
12
12
  revision-bound evidence graph: impact, architecture, APIs, Git history,
13
13
  duplicates, dead code, search, semantic links, and temporal memory.
14
14
 
@@ -19,6 +19,8 @@ evidence kind, and confidence that produced it.
19
19
  This npm package is the convenient prebuilt distribution of the same native
20
20
  product published on crates.io as `weavatrix`. It is not a separate
21
21
  JavaScript engine; both registry packages run the same Rust adapter and engine.
22
+ The separately versioned `weavatrix-js` package is a legacy compatibility
23
+ implementation and is not bundled here.
22
24
 
23
25
  ## Install in 30 seconds
24
26
 
@@ -72,13 +74,13 @@ contract affected by this branch.
72
74
  Build the smallest source bundle needed to edit this symbol safely.
73
75
  ```
74
76
 
75
- ## The 39 read-only operations
77
+ ## The 42 read-only operations
76
78
 
77
79
  | Workflow | Operations |
78
80
  | --- | --- |
79
- | Graph orientation | `graph_stats`, `get_node`, `get_neighbors`, `query_graph`, `god_nodes`, `shortest_path`, `get_community`, `list_communities`, `module_map` |
80
- | Change impact | `get_dependents`, `change_impact`, `verified_change`, `prepare_change`, `graph_diff` |
81
- | Exact source context | `search_code`, `read_source`, `inspect_symbol`, `context_bundle` |
81
+ | Graph orientation | `graph_stats`, `get_node`, `get_neighbors`, `query_graph`, `god_nodes`, `shortest_path`, `get_community`, `list_communities`, `module_map`, `build_graph` |
82
+ | Change impact | `get_dependents`, `change_impact`, `select_tests`, `verified_change`, `prepare_change`, `graph_diff` |
83
+ | Exact source context | `search_code`, `read_source`, `inspect_symbol`, `context_bundle`, `map_stacktrace` |
82
84
  | Health and quality | `find_duplicates`, `find_dead_code`, `run_audit`, `coverage_map`, `hot_path_review` |
83
85
  | APIs and transports | `list_endpoints`, `trace_endpoint`, `trace_api_contract` |
84
86
  | Architecture | `get_architecture_contract`, `verify_architecture`, `explain_architecture_violation`, `propose_architecture_exception` |
@@ -108,12 +110,12 @@ coding agent
108
110
  |
109
111
  | MCP over stdio
110
112
  v
111
- weavatrix 1.1.2
113
+ weavatrix 1.2.0
112
114
  profile catalog · refresh · watcher · MCP framing
113
115
  |
114
116
  v
115
- weavatrix-rust 2.0.2
116
- typed graph · analysis · 39 read-only operations
117
+ weavatrix-rust 2.1.1
118
+ typed graph · analysis · 42 read-only operations
117
119
  ```
118
120
 
119
121
  This npm product owns MCP transport and native distribution. The
@@ -122,10 +124,10 @@ the reusable protocol-independent engine; it is not an MCP server.
122
124
  Its standalone diagnostic therefore reports `weavatrix-rust <engine-version>`,
123
125
  while this MCP product reports both its product and embedded-engine identities.
124
126
 
125
- Engine 2.0.2 keeps `find_duplicates` families internally consistent after
126
- test/classified/low-signal filters and `top_n` truncation. Families are rebuilt
127
- from the surviving pairs, so excluded members and dangling pair identifiers
128
- cannot remain in the result.
127
+ Engine 2.1.1 adds `map_stacktrace`, `select_tests`, `build_graph`,
128
+ `token_budget` on the source-context operations, and dependency-injection
129
+ type evidence, and keeps `find_duplicates` families internally consistent
130
+ after filtering and `top_n` truncation.
129
131
 
130
132
  ## Release evidence
131
133
 
@@ -133,17 +135,13 @@ The installed-package benchmark packs both products, installs them into
133
135
  isolated npm roots, starts fresh MCP processes with empty caches, and validates
134
136
  identity, advertised operations, results, and cleanup.
135
137
 
136
- The packaged 1.1.2 product (`weavatrix-rust` 2.0.2) passed the bounded native
137
- gate on 2026-07-30: 39 tools; cold initialize **405.770 ms**; `tools/list`
138
- **0.790 ms**; first `graph_stats` **54.880 ms**; and 1,000 hot `graph_stats`
139
- calls at **136.83 calls/s** with **0 failures**, p50 **7.610 ms**, p95
140
- **10.180 ms**, and p99 **12.230 ms**.
141
-
142
- The last published baseline (`weavatrix` 1.0.0 versus `weavatrix-js` 0.3.15)
143
- measured a **30.34x** median cold-boundary ratio and **156.10x** warm-call
144
- ratio. Those comparison numbers remain historical and are not presented as a
145
- fresh competitor benchmark; the current 1.1.2 gate is bounded and does not
146
- relabel them.
138
+ The packaged 1.2.0 product (`weavatrix-rust` 2.1.1) was measured on 2026-08-03
139
+ against installed `weavatrix-js` 0.3.15 on a real JavaScript service
140
+ repository: paired cold-boundary median **32.06x** (spawn to first tool
141
+ result: **157.34 ms** vs 5,068.22 ms) and warm tools/call median **36.85x**
142
+ (**7.94 ms** vs 292.55 ms), passing the 24x cold and 30x warm release
143
+ thresholds and sitting slightly above the 30.34x recorded for the 1.0.0
144
+ baseline.
147
145
 
148
146
  Full evidence and methodology:
149
147
  [benchmarks](https://github.com/sergii-ziborov/weavatrix/blob/main/docs/benchmarks.md).
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.1.2",
4
- "weavatrixEngineVersion": "2.0.2",
5
- "description": "Native repository intelligence for coding agents: 39 read-only MCP operations backed by typed evidence graphs, impact, architecture, APIs, Git, search, semantics, and memory.",
3
+ "version": "1.2.0",
4
+ "weavatrixEngineVersion": "2.1.1",
5
+ "description": "Native repository intelligence for coding agents: 42 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.sergii-ziborov/weavatrix",
4
4
  "title": "Weavatrix",
5
- "description": "Native Weavatrix MCP: 39 read-only repository tools across 24 code and configuration surfaces.",
5
+ "description": "Native Weavatrix MCP: 42 read-only repository tools across 24 code and configuration surfaces.",
6
6
  "repository": {
7
7
  "url": "https://github.com/sergii-ziborov/weavatrix",
8
8
  "source": "github"
9
9
  },
10
- "version": "1.1.2",
10
+ "version": "1.2.0",
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.1.2",
17
+ "version": "1.2.0",
18
18
  "runtimeHint": "npx",
19
19
  "transport": {
20
20
  "type": "stdio"
@@ -4,14 +4,24 @@
4
4
 
5
5
  - `graph_stats`: repository identity, freshness, counts, and evidence.
6
6
  - `module_map`, `list_communities`, `get_community`, `god_nodes`: topology.
7
+ - `build_graph`: workspace aggregators, members, targets, and runner
8
+ configurations from manifest evidence; no build tool runs.
7
9
  - `get_node`, `get_neighbors`, `inspect_symbol`, `context_bundle`: exact
8
10
  entities and local evidence.
9
11
  - `query_graph`, `shortest_path`, `get_dependents`: bounded traversal.
10
12
  - `search_code`, `read_source`: lexical and source confirmation.
13
+ - `map_stacktrace`: paste a Node, JVM, Python, or Rust stack trace; frames map
14
+ to repository files and the nearest symbol, so debugging starts at the graph
15
+ instead of at a directory listing.
16
+ - Pass `token_budget` on `search_code`, `read_source`, `context_bundle`, or
17
+ `query_graph` to fit the answer into the context window you have left; the
18
+ report states exactly what was dropped.
11
19
 
12
20
  ## Change and history
13
21
 
14
22
  - `change_impact`: current diff, explicit files, or supplied patch.
23
+ - `select_tests`: the suites a change most plausibly needs to run, ranked by
24
+ graph distance; static selection, no coverage run consumed.
15
25
  - `graph_diff`: structural comparison with an immutable Git revision.
16
26
  - `git_history`: churn and co-change in one repository.
17
27
  - `cross_repo_git`: histories, shared commits, or diffs across repositories.