weavatrix 1.17.9 → 1.17.11

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
@@ -12,8 +12,8 @@
12
12
  Weavatrix answers the questions agents otherwise invent: what breaks if this
13
13
  file changes, who consumes this n8n field, whether an MCP schema still
14
14
  accepts yesterday’s request, which viem call sites follow an ABI layout
15
- change, and whether `.weavatrix/architecture.json` still holds. **65
16
- read-only operations**, one revision-bound graph, no LSP and no prompt pack.
15
+ change, and whether `.weavatrix/architecture.json` still holds. **66
16
+ operations**, one revision-bound graph, no LSP and no prompt pack.
17
17
 
18
18
  Codex, Claude Code, Cursor, and Grok get impact, architecture, APIs, Git
19
19
  history, duplicates, dead code, search, semantic links,
@@ -60,7 +60,7 @@ weavatrix mcp .
60
60
  ```toml
61
61
  [mcp_servers.weavatrix]
62
62
  command = "npx"
63
- args = ["-y", "weavatrix@1.17.9", "mcp", "."]
63
+ args = ["-y", "weavatrix@1.17.11", "mcp", "."]
64
64
  ```
65
65
 
66
66
  Pass an absolute repository path when the Codex process cwd is not the project
@@ -69,7 +69,7 @@ you intend to analyze.
69
69
  ### Claude Code
70
70
 
71
71
  ```sh
72
- claude mcp add weavatrix -- npx -y weavatrix@1.17.9 mcp .
72
+ claude mcp add weavatrix -- npx -y weavatrix@1.17.11 mcp .
73
73
  ```
74
74
 
75
75
  ### Cursor
@@ -82,7 +82,7 @@ the plugin for the same server name:
82
82
  "mcpServers": {
83
83
  "weavatrix": {
84
84
  "command": "npx",
85
- "args": ["-y", "weavatrix@1.17.9", "mcp", "${workspaceFolder}", "--output-format=structured"]
85
+ "args": ["-y", "weavatrix@1.17.11", "mcp", "${workspaceFolder}", "--output-format=structured"]
86
86
  }
87
87
  }
88
88
  }
@@ -91,14 +91,14 @@ the plugin for the same server name:
91
91
  Profiles expose bounded views of the same engine:
92
92
 
93
93
  ```sh
94
- npx -y weavatrix@1.17.9 mcp . --profile=all
95
- npx -y weavatrix@1.17.9 mcp . --profile=code
96
- npx -y weavatrix@1.17.9 mcp . --profile=seo
97
- npx -y weavatrix@1.17.9 mcp . --profile=n8n
98
- npx -y weavatrix@1.17.9 mcp . --profile=dify
99
- npx -y weavatrix@1.17.9 mcp . --profile=agent
100
- npx -y weavatrix@1.17.9 mcp . --profile=diagram
101
- npx -y weavatrix@1.17.9 mcp . --profile=web3
94
+ npx -y weavatrix@1.17.11 mcp . --profile=all
95
+ npx -y weavatrix@1.17.11 mcp . --profile=code
96
+ npx -y weavatrix@1.17.11 mcp . --profile=seo
97
+ npx -y weavatrix@1.17.11 mcp . --profile=n8n
98
+ npx -y weavatrix@1.17.11 mcp . --profile=dify
99
+ npx -y weavatrix@1.17.11 mcp . --profile=agent
100
+ npx -y weavatrix@1.17.11 mcp . --profile=diagram
101
+ npx -y weavatrix@1.17.11 mcp . --profile=web3
102
102
  ```
103
103
 
104
104
  The package contains native binaries for Windows x64/arm64, macOS x64/arm64,
@@ -233,7 +233,7 @@ Three commits before `ec8bf30` this package was 1.9.2; the agent reads that
233
233
  follow-up to a diff without touching the worktree. Binary blobs fail closed
234
234
  instead of being decoded into garbage.
235
235
 
236
- ## The 65 read-only operations
236
+ ## The 66 operations
237
237
 
238
238
  | Workflow | Operations |
239
239
  | --- | --- |
@@ -244,7 +244,7 @@ instead of being decoded into garbage.
244
244
  | APIs and transports | `list_endpoints`, `trace_endpoint`, `trace_api_contract` |
245
245
  | Architecture | `architecture_inventory`, `get_architecture_contract`, `verify_architecture`, `verify_capabilities`, `explain_architecture_violation`, `propose_architecture_exception` |
246
246
  | Local CI | `ci_restrictions`, `ci_protection`, `explain_restriction` |
247
- | Git and repositories | `git_history`, `git_read_blob`, `cross_repo_git`, `open_repo`, `list_known_repos`, `rebuild_graph` |
247
+ | Git and repositories | `git_history`, `git_read_blob`, `cross_repo_git`, `git_fetch`, `open_repo`, `list_known_repos`, `rebuild_graph` |
248
248
  | Native extensions | `semantic_link` |
249
249
  | n8n workflows | `n8n_inventory`, `n8n_trace`, `n8n_context` |
250
250
  | Dify apps | `dify_inventory`, `dify_trace`, `dify_context` |
@@ -252,7 +252,9 @@ instead of being decoded into garbage.
252
252
  | Mermaid diagrams | `diagram_inventory`, `diagram_trace`, `diagram_context` |
253
253
  | Web3 integration | `web3_inventory`, `web3_trace`, `web3_impact`, `web3_context` |
254
254
 
255
- Every operation is read-only with respect to the analyzed repository.
255
+ Every operation leaves the analyzed repository unchanged.
256
+ `git_fetch` writes only its cache: a depth-1 checkout of one URL. The launch
257
+ root stays pinned.
256
258
  Pagination and explicit limits bound large neighborhoods, histories, searches,
257
259
  and contract inventories.
258
260
 
@@ -329,12 +331,12 @@ coding agent
329
331
  |
330
332
  | MCP over stdio
331
333
  v
332
- weavatrix 1.17.9
334
+ weavatrix 1.17.11
333
335
  profile catalog · refresh · watcher · MCP framing
334
336
  |
335
337
  v
336
- weavatrix-rust 2.17.9
337
- typed graph · analysis · 65 product operations including local CI, n8n, Dify, agent packages, Mermaid, and Web3
338
+ weavatrix-rust 2.17.10
339
+ typed graph · analysis · 66 product operations including local CI, n8n, Dify, agent packages, Mermaid, and Web3
338
340
  ```
339
341
 
340
342
  This npm product owns MCP transport and native distribution. The
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.17.9",
4
- "weavatrixEngineVersion": "2.17.9",
5
- "description": "Native repository intelligence for coding agents: 65 read-only MCP operations backed by typed evidence graphs, impact, architecture, local CI restrictions, APIs, Git, search, semantic links, n8n workflows, Dify apps, agent packages, Mermaid diagrams, and Web3 ABIs.",
3
+ "version": "1.17.11",
4
+ "weavatrixEngineVersion": "2.17.10",
5
+ "description": "Native repository intelligence for coding agents: 66 MCP operations backed by typed evidence graphs, impact, architecture, local CI restrictions, APIs, Git, search, semantic links, n8n workflows, Dify apps, agent packages, Mermaid diagrams, and Web3 ABIs.",
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: 65 read-only tools for code, local CI, n8n, Dify, agents, Mermaid, Web3.",
5
+ "description": "Native Weavatrix MCP: 66 tools for code, local CI, n8n, Dify, agents, Mermaid, Web3.",
6
6
  "repository": {
7
7
  "url": "https://github.com/Weavatrix/weavatrix",
8
8
  "source": "github"
9
9
  },
10
- "version": "1.17.9",
10
+ "version": "1.17.11",
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.9",
17
+ "version": "1.17.11",
18
18
  "runtimeHint": "npx",
19
19
  "transport": {
20
20
  "type": "stdio"
package/skill/SKILL.md CHANGED
@@ -95,7 +95,10 @@ tool ran. Read `evidence_completeness` and `stop_reason`. `MAX_NODES` means
95
95
  the combined cap omitted nodes.
96
96
 
97
97
  `git_history` without `path` is repository HEAD history. Pass `path` for the
98
- commits that touch one file or directory.
98
+ commits that touch one file or directory. `git_fetch` is separate: one `url`
99
+ and an optional `ref`, depth 1, into a cache. It returns `checkout` and does
100
+ not retarget this process. Analyze that path by launching on it, or by
101
+ `open_repo` only when this process was started with `--allow-retarget`.
99
102
 
100
103
  `find_dead_code` treats every `main.go` and every Go `func main` as an entry.
101
104
  Receiver names and function-literal parameters are not symbols.
@@ -118,6 +121,8 @@ audit and coverage results.
118
121
  `coverage_map` is an ingest. Quality builds the LCOV file.
119
122
  - Preserve exact transport identity; do not merge Kafka, AMQP/RabbitMQ, NATS,
120
123
  SNS/SQS, JMS, GraphQL, and gRPC evidence because operation names match.
121
- - The core is local, offline, and read-only. Use `weavatrix-refactor` only for
122
- an explicitly approved write plan and `weavatrix-online` only for explicitly
123
- approved network work.
124
+ - The core reads the launch root and leaves that tree unchanged. `git_fetch`
125
+ is the one call that contacts a remote: it shallow-clones one URL into a
126
+ cache and returns that path. Use `weavatrix-refactor` only for an explicitly
127
+ approved write plan and `weavatrix-online` only for explicitly approved
128
+ network work beyond that clone.
@@ -12,8 +12,8 @@ cannot silently switch to another repository. Pass an explicit
12
12
 
13
13
  - [`graph_stats`](tools/graph_stats.md) — Graph size, edge evidence and build freshness of the loaded snapshot.
14
14
  - [`get_node`](tools/get_node.md) — Resolve one exact graph node.
15
- - [`get_neighbors`](tools/get_neighbors.md) — Direct typed incoming and outgoing relationships. The seed is compact unless `response_detail` is `full`.
16
- - [`query_graph`](tools/query_graph.md) — Bounded BFS or DFS around exact or textual seeds.
15
+ - [`get_neighbors`](tools/get_neighbors.md) — Direct typed incoming and outgoing relationships. Compact rows are direction, relation, the other node, and, when present, coupling and the call line.
16
+ - [`query_graph`](tools/query_graph.md) — Bounded BFS or DFS around exact or textual seeds. Edges are source, target, kind, and, when present, coupling and the call line.
17
17
  - [`god_nodes`](tools/god_nodes.md) — Rank high-connectivity production nodes.
18
18
  - [`shortest_path`](tools/shortest_path.md) — Shortest typed dependency path between two nodes.
19
19
  - [`get_community`](tools/get_community.md) — Return one coupling community (containment and package edges excluded).
@@ -25,18 +25,19 @@ cannot silently switch to another repository. Pass an explicit
25
25
  - [`inspect_symbol`](tools/inspect_symbol.md) — Definition, direct relationships and source evidence.
26
26
  - [`go_to_definition`](tools/go_to_definition.md) — Resolve the symbol at a source position to its definition without guessing by name. An unresolved position omits definition.
27
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. Test and classified rows stay out unless opted in.
28
- - [`context_bundle`](tools/context_bundle.md) — Compact graph and source bundle for one symbol.
28
+ - [`context_bundle`](tools/context_bundle.md) — Compact graph and source bundle for one symbol. The subject and relationship rows are compact.
29
29
  - [`map_stacktrace`](tools/map_stacktrace.md) — Map stack-trace text onto repository files and symbols.
30
30
 
31
31
  ## Change impact and Git
32
32
 
33
- - [`get_dependents`](tools/get_dependents.md) — Bounded transitive reverse blast radius.
33
+ - [`get_dependents`](tools/get_dependents.md) — Bounded transitive reverse blast radius. The seed and each dependent are id, label, kind, language, and span.
34
34
  - [`change_impact`](tools/change_impact.md) — Read-only Git change impact with graph evidence. Impacted nodes are id, label, kind, language, and span.
35
35
  - [`select_tests`](tools/select_tests.md) — Select the test suites a change most plausibly needs to run.
36
36
  - [`git_history`](tools/git_history.md) — Bounded direct Git history without launching git.
37
37
  - [`git_read_blob`](tools/git_read_blob.md) — Bounded UTF-8 file content at an immutable Git revision or blob OID; binary blobs are refused.
38
+ - [`git_fetch`](tools/git_fetch.md) — Shallow-clone one URL at one ref into a cache and return `checkout`. Depth is 1. The process root stays pinned.
38
39
  - [`cross_repo_git`](tools/cross_repo_git.md) — Parallel histories, shared commits, or diffs across named local repositories.
39
- - [`verified_change`](tools/verified_change.md) — Composite pre-commit evidence and conservative verdict.
40
+ - [`verified_change`](tools/verified_change.md) — Composite pre-commit evidence and conservative verdict. `impact_depth` bounds the embedded blast radius. Selected symbols and data-flow edges are compact.
40
41
  - [`graph_diff`](tools/graph_diff.md) — Compare the current snapshot with an immutable Git revision.
41
42
 
42
43
  ## Quality and architecture
@@ -45,7 +46,7 @@ cannot silently switch to another repository. Pass an explicit
45
46
  - [`ci_restrictions`](tools/ci_restrictions.md) — Local GitHub Actions checks and conditional applicability.
46
47
  - [`ci_protection`](tools/ci_protection.md) — Candidate checks and declared rule bindings for an explicit file list. Membership ids in the answer are path labels. Not included in change or diff answers.
47
48
  - [`explain_restriction`](tools/explain_restriction.md) — One restriction and its evidence limits.
48
- - [`find_duplicates`](tools/find_duplicates.md) — Deterministic Type-1/2/3 clone families. `.gen.` and `.generated.` files stay out unless `include_boilerplate` is set.
49
+ - [`find_duplicates`](tools/find_duplicates.md) — Deterministic Type-1/2/3 clone families. `.gen.`, `.generated.`, and OpenAPI Generator headers stay out unless `include_boilerplate` is set.
49
50
  - [`find_dead_code`](tools/find_dead_code.md) — Conservative unreferenced-symbol review queue. A type-only import does not keep its target live.
50
51
  - [`run_audit`](tools/run_audit.md) — Repository structure and evidence completeness audit. A named category collects only that section.
51
52
  - [`coverage_map`](tools/coverage_map.md) — Ingest a report Quality already built. Does not run tests. Missing report is unmeasured, not 0%.
@@ -60,7 +61,7 @@ cannot silently switch to another repository. Pass an explicit
60
61
 
61
62
  ## APIs and transports
62
63
 
63
- - [`list_endpoints`](tools/list_endpoints.md) — Compact HTTP endpoint inventory. `max_results` pages it and reports `endpoints_total`.
64
+ - [`list_endpoints`](tools/list_endpoints.md) — Compact HTTP endpoint inventory. `max_results` pages it and reports `endpoints_total`. App Router `route.*` files contribute one endpoint per exported HTTP method. A Go struct that embeds `Unimplemented*Server` contributes `GRPC Service/Method`. A `"use server"` file contributes `ACTION /path/name`.
64
65
  - [`trace_endpoint`](tools/trace_endpoint.md) — Resolve an endpoint and its bounded call neighborhood.
65
66
  - [`trace_api_contract`](tools/trace_api_contract.md) — Cross-repository HTTP, GraphQL, gRPC and event-transport contract evidence for named backend and client roots.
66
67
 
@@ -4,7 +4,7 @@ Compact graph and source bundle for one symbol.
4
4
 
5
5
  ## When to use
6
6
 
7
- Assemble a ranked, token-bounded workset around one task or target.
7
+ Assemble a ranked, token-bounded workset around one task or target. The subject is id, label, kind, language, and span. Relationship rows match compact `get_neighbors`.
8
8
 
9
9
  ## Inputs
10
10
 
@@ -4,7 +4,7 @@ Deterministic Type-1/2/3 clone families.
4
4
 
5
5
  ## When to use
6
6
 
7
- Review bounded Type-1, Type-2, or Type-3 clone families before confirming candidates in source. Files named `.gen.` or `.generated.` stay out unless `include_boilerplate` is set.
7
+ Review bounded Type-1, Type-2, or Type-3 clone families before confirming candidates in source. Files named `.gen.` or `.generated.`, and files whose header says they were generated by openapi-generator.tech, stay out unless `include_boilerplate` is set.
8
8
 
9
9
  ## Inputs
10
10
 
@@ -4,7 +4,7 @@ Bounded transitive reverse blast radius.
4
4
 
5
5
  ## When to use
6
6
 
7
- Measure a bounded transitive reverse blast radius from one exact node.
7
+ Measure a bounded transitive reverse blast radius from one exact node. The seed and each dependent are id, label, kind, language, and span. Attributes stay on `get_node`.
8
8
 
9
9
  ## Inputs
10
10
 
@@ -4,7 +4,7 @@ Direct typed incoming and outgoing relationships.
4
4
 
5
5
  ## When to use
6
6
 
7
- Inspect only the direct typed incoming and outgoing relationships of one exact node. The seed is id, label, kind, language, and span unless `response_detail` is `full`. Test and classified neighbors stay out unless `include_tests` or `include_classified` is set.
7
+ Inspect only the direct typed incoming and outgoing relationships of one exact node. The seed and each neighbor node are id, label, kind, language, and span unless `response_detail` is `full`. A compact row also carries direction, relation, and, when present, coupling and the call line. Test and classified neighbors stay out unless `include_tests` or `include_classified` is set.
8
8
 
9
9
  For transitive reverse impact use `get_dependents`; for bounded multi-hop exploration use `query_graph`.
10
10
 
@@ -0,0 +1,27 @@
1
+ # `git_fetch`
2
+
3
+ Shallow-clone one Git URL at one ref into a local cache and return that checkout. Depth is 1. This launches git and writes only the cache. The process root stays pinned. `git_history` still reads the active repository.
4
+
5
+ ## When to use
6
+
7
+ The repository to analyze is a remote URL, and this process is pinned to another root. Call `git_fetch`, then launch a new process on `checkout`, or call `open_repo` with that path only when this process was started with `--allow-retarget`. A repeated call for the same URL updates the same cache entry. The cache is not a working copy to edit.
8
+
9
+ ## Inputs
10
+
11
+ - `url` (string, required) — https, http, ssh, git, or file URL, scp-style `git@host:path`, or an absolute local path. A URL that embeds credentials is refused. A trailing `.git` names the same cache entry.
12
+ - `ref` (string) — branch, tag, or commit. Omit it to fetch the remote HEAD. Depth is always 1.
13
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
14
+
15
+ ## Minimal call
16
+
17
+ ```json
18
+ {
19
+ "name": "git_fetch",
20
+ "arguments": {
21
+ "url": "https://github.com/org/repo",
22
+ "ref": "main"
23
+ }
24
+ }
25
+ ```
26
+
27
+ The answer carries `checkout`, `commit`, `ref`, `depth` 1, and `reused`. `repository_context.root` remains the launch root. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -4,7 +4,7 @@ Inventory statically extracted HTTP endpoints.
4
4
 
5
5
  ## When to use
6
6
 
7
- Inventory statically extracted HTTP endpoints with optional method and path filters. Each row is a compact node: id, label, kind, language, and span. `max_results` pages that list and the answer reports `endpoints_total`; omit it to return every visible endpoint.
7
+ Inventory statically extracted HTTP endpoints with optional method and path filters. Each row is a compact node: id, label, kind, language, and span. `max_results` pages that list and the answer reports `endpoints_total`; omit it to return every visible endpoint. An App Router `route.*` file under `app` contributes one endpoint per exported HTTP method. The URL is the directory path; route groups are omitted. A Go struct that embeds `Unimplemented*Server` contributes `GRPC Service/Method`. A file whose first statement is `"use server"` contributes `ACTION /path/name` for each exported function. Page, layout, and route modules stay on their own rules.
8
8
 
9
9
  ## Inputs
10
10
 
@@ -4,7 +4,7 @@ Bounded BFS or DFS around exact or textual seeds.
4
4
 
5
5
  ## When to use
6
6
 
7
- Traverse a bounded BFS or DFS when a question needs several hops, direction controls, or multiple seeds.
7
+ Traverse a bounded BFS or DFS when a question needs several hops, direction controls, or multiple seeds. Each edge is source, target, kind, and, when present, coupling and the call line.
8
8
 
9
9
  Start with exact seeds and a small depth, node cap, and `token_budget`.
10
10
 
@@ -4,7 +4,7 @@ Composite pre-commit evidence and conservative verdict.
4
4
 
5
5
  ## When to use
6
6
 
7
- Produce one conservative plan or verify envelope combining impact, architecture, duplicate, API, and optional test evidence.
7
+ Produce one conservative plan or verify envelope combining impact, architecture, duplicate, API, and optional test evidence. `impact_depth` and `max_impact_nodes` bound the embedded blast radius. Selected symbols are compact nodes. Data-flow edges are source, target, kind, and, when present, coupling and the call line. Each edit context keeps at most 8 relationship rows.
8
8
 
9
9
  Use the same `task` and base revision in `phase:"plan"` and `phase:"verify"`.
10
10