weavatrix 1.17.4 → 1.17.6
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 +23 -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 +3 -3
- package/server.json +3 -3
- package/skill/SKILL.md +37 -5
- package/skill/references/tool-routing.md +3 -6
- package/skill/references/tools/agent_change_impact.md +2 -3
- package/skill/references/tools/agent_context.md +2 -3
- package/skill/references/tools/agent_inventory.md +2 -3
- package/skill/references/tools/agent_trace.md +2 -3
- package/skill/references/tools/build_graph.md +2 -3
- package/skill/references/tools/change_impact.md +4 -5
- package/skill/references/tools/context_bundle.md +2 -3
- package/skill/references/tools/cross_repo_git.md +2 -3
- package/skill/references/tools/diagram_context.md +2 -3
- package/skill/references/tools/diagram_inventory.md +2 -3
- package/skill/references/tools/diagram_trace.md +2 -3
- package/skill/references/tools/dify_context.md +2 -3
- package/skill/references/tools/dify_inventory.md +2 -3
- package/skill/references/tools/dify_trace.md +2 -3
- package/skill/references/tools/explain_architecture_violation.md +2 -3
- package/skill/references/tools/find_dead_code.md +3 -4
- package/skill/references/tools/find_duplicates.md +2 -3
- package/skill/references/tools/find_references.md +1 -1
- package/skill/references/tools/get_architecture_contract.md +2 -3
- package/skill/references/tools/get_community.md +2 -3
- package/skill/references/tools/get_dependents.md +2 -3
- package/skill/references/tools/get_neighbors.md +2 -3
- package/skill/references/tools/get_node.md +2 -3
- package/skill/references/tools/git_history.md +4 -4
- package/skill/references/tools/git_read_blob.md +1 -1
- package/skill/references/tools/go_to_definition.md +1 -1
- package/skill/references/tools/god_nodes.md +2 -3
- package/skill/references/tools/graph_diff.md +2 -3
- package/skill/references/tools/graph_stats.md +2 -3
- package/skill/references/tools/hot_path_review.md +2 -3
- package/skill/references/tools/inspect_symbol.md +2 -3
- package/skill/references/tools/list_communities.md +2 -3
- package/skill/references/tools/list_endpoints.md +2 -3
- package/skill/references/tools/list_known_repos.md +2 -3
- package/skill/references/tools/map_stacktrace.md +2 -3
- package/skill/references/tools/module_map.md +2 -3
- package/skill/references/tools/n8n_context.md +2 -3
- package/skill/references/tools/n8n_inventory.md +2 -3
- package/skill/references/tools/n8n_trace.md +2 -3
- package/skill/references/tools/open_repo.md +4 -5
- package/skill/references/tools/perf_attribution.md +1 -1
- package/skill/references/tools/prepare_change.md +2 -3
- package/skill/references/tools/propose_architecture_exception.md +2 -3
- package/skill/references/tools/query_graph.md +2 -3
- package/skill/references/tools/read_source.md +2 -3
- package/skill/references/tools/rebuild_graph.md +2 -3
- package/skill/references/tools/run_audit.md +2 -3
- package/skill/references/tools/search_code.md +3 -4
- package/skill/references/tools/select_tests.md +2 -3
- package/skill/references/tools/semantic_link.md +9 -7
- package/skill/references/tools/shortest_path.md +2 -3
- package/skill/references/tools/trace_api_contract.md +2 -3
- package/skill/references/tools/trace_endpoint.md +2 -3
- package/skill/references/tools/verified_change.md +2 -3
- package/skill/references/tools/verify_architecture.md +2 -3
- package/skill/references/tools/verify_capabilities.md +2 -3
- package/skill/references/tools/web3_context.md +2 -3
- package/skill/references/tools/web3_impact.md +2 -3
- package/skill/references/tools/web3_inventory.md +2 -3
- package/skill/references/tools/web3_trace.md +2 -3
- package/skill/references/tools/memory_context.md +0 -29
- package/skill/references/tools/seo_link_suggestions.md +0 -34
- package/skill/references/tools/vector_search.md +0 -31
package/README.md
CHANGED
|
@@ -12,11 +12,11 @@
|
|
|
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. **
|
|
15
|
+
change, and whether `.weavatrix/architecture.json` still holds. **64
|
|
16
16
|
read-only 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
|
-
history, duplicates, dead code, search, semantic links,
|
|
19
|
+
history, duplicates, dead code, search, semantic links,
|
|
20
20
|
exported n8n workflows (`n8n_*`), Dify YAML apps (`dify_*`), Agent
|
|
21
21
|
Plugins/Skills/MCP catalogs (`agent_*`), Mermaid flowcharts (`diagram_*`),
|
|
22
22
|
and Web3 ABI/consumer impact (`web3_*`). Those parsers are domains on
|
|
@@ -26,7 +26,9 @@ Weavatrix Core, not new MCP products. See
|
|
|
26
26
|
|
|
27
27
|
It does not answer from a larger grep or an invented confidence score. Every
|
|
28
28
|
bounded result can carry the repository revision, file, line, extractor,
|
|
29
|
-
evidence kind, and confidence that produced it.
|
|
29
|
+
evidence kind, and confidence that produced it. `search_code` keeps a
|
|
30
|
+
resident content index for the process: the first search builds it, and
|
|
31
|
+
later searches read it. A `glob` still walks files.
|
|
30
32
|
|
|
31
33
|
This npm package is the convenient **prebuilt native tarball**. That is the
|
|
32
34
|
only reason it exists on npm. It is not a TypeScript rewrite, not a Serena
|
|
@@ -58,7 +60,7 @@ weavatrix mcp .
|
|
|
58
60
|
```toml
|
|
59
61
|
[mcp_servers.weavatrix]
|
|
60
62
|
command = "npx"
|
|
61
|
-
args = ["-y", "weavatrix@1.17.
|
|
63
|
+
args = ["-y", "weavatrix@1.17.6", "mcp", "."]
|
|
62
64
|
```
|
|
63
65
|
|
|
64
66
|
Pass an absolute repository path when the Codex process cwd is not the project
|
|
@@ -67,7 +69,7 @@ you intend to analyze.
|
|
|
67
69
|
### Claude Code
|
|
68
70
|
|
|
69
71
|
```sh
|
|
70
|
-
claude mcp add weavatrix -- npx -y weavatrix@1.17.
|
|
72
|
+
claude mcp add weavatrix -- npx -y weavatrix@1.17.6 mcp .
|
|
71
73
|
```
|
|
72
74
|
|
|
73
75
|
### Cursor
|
|
@@ -80,7 +82,7 @@ the plugin for the same server name:
|
|
|
80
82
|
"mcpServers": {
|
|
81
83
|
"weavatrix": {
|
|
82
84
|
"command": "npx",
|
|
83
|
-
"args": ["-y", "weavatrix@1.17.
|
|
85
|
+
"args": ["-y", "weavatrix@1.17.6", "mcp", "${workspaceFolder}", "--output-format=structured"]
|
|
84
86
|
}
|
|
85
87
|
}
|
|
86
88
|
}
|
|
@@ -89,14 +91,14 @@ the plugin for the same server name:
|
|
|
89
91
|
Profiles expose bounded views of the same engine:
|
|
90
92
|
|
|
91
93
|
```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.
|
|
94
|
+
npx -y weavatrix@1.17.6 mcp . --profile=all
|
|
95
|
+
npx -y weavatrix@1.17.6 mcp . --profile=code
|
|
96
|
+
npx -y weavatrix@1.17.6 mcp . --profile=seo
|
|
97
|
+
npx -y weavatrix@1.17.6 mcp . --profile=n8n
|
|
98
|
+
npx -y weavatrix@1.17.6 mcp . --profile=dify
|
|
99
|
+
npx -y weavatrix@1.17.6 mcp . --profile=agent
|
|
100
|
+
npx -y weavatrix@1.17.6 mcp . --profile=diagram
|
|
101
|
+
npx -y weavatrix@1.17.6 mcp . --profile=web3
|
|
100
102
|
```
|
|
101
103
|
|
|
102
104
|
The package contains native binaries for Windows x64/arm64, macOS x64/arm64,
|
|
@@ -231,7 +233,7 @@ Three commits before `ec8bf30` this package was 1.9.2; the agent reads that
|
|
|
231
233
|
follow-up to a diff without touching the worktree. Binary blobs fail closed
|
|
232
234
|
instead of being decoded into garbage.
|
|
233
235
|
|
|
234
|
-
## The
|
|
236
|
+
## The 64 read-only operations
|
|
235
237
|
|
|
236
238
|
| Workflow | Operations |
|
|
237
239
|
| --- | --- |
|
|
@@ -243,7 +245,7 @@ instead of being decoded into garbage.
|
|
|
243
245
|
| Architecture | `architecture_inventory`, `get_architecture_contract`, `verify_architecture`, `verify_capabilities`, `explain_architecture_violation`, `propose_architecture_exception` |
|
|
244
246
|
| Local CI | `ci_restrictions`, `explain_restriction` |
|
|
245
247
|
| Git and repositories | `git_history`, `git_read_blob`, `cross_repo_git`, `open_repo`, `list_known_repos`, `rebuild_graph` |
|
|
246
|
-
| Native extensions | `
|
|
248
|
+
| Native extensions | `semantic_link` |
|
|
247
249
|
| n8n workflows | `n8n_inventory`, `n8n_trace`, `n8n_context` |
|
|
248
250
|
| Dify apps | `dify_inventory`, `dify_trace`, `dify_context` |
|
|
249
251
|
| Agent packages | `agent_inventory`, `agent_trace`, `agent_context`, `agent_change_impact` |
|
|
@@ -260,6 +262,8 @@ organization, onion, ports-and-adapters, layered dependencies, and deployment
|
|
|
260
262
|
uncertainty; the declared target style is never observation. The summary
|
|
261
263
|
includes each hypothesis's status, supporting signals, contradictions, and
|
|
262
264
|
unknowns; use `detail:"full"` for paged graph evidence. They
|
|
265
|
+
recognize Rust `impl Trait for Type` as an explicit implementation signal,
|
|
266
|
+
without mistaking inherent `impl Type` for one. They
|
|
263
267
|
preserve nested Cargo, npm/TypeScript, Go, and Python components, many-to-many
|
|
264
268
|
declared memberships, collision-free identities, configuration predicates,
|
|
265
269
|
and immutable source evidence. Totals and SCC/cycle witnesses are computed
|
|
@@ -325,12 +329,12 @@ coding agent
|
|
|
325
329
|
|
|
|
326
330
|
| MCP over stdio
|
|
327
331
|
v
|
|
328
|
-
weavatrix 1.17.
|
|
332
|
+
weavatrix 1.17.6
|
|
329
333
|
profile catalog · refresh · watcher · MCP framing
|
|
330
334
|
|
|
|
331
335
|
v
|
|
332
|
-
weavatrix-rust 2.17.
|
|
333
|
-
typed graph · analysis ·
|
|
336
|
+
weavatrix-rust 2.17.6
|
|
337
|
+
typed graph · analysis · 64 product operations including local CI, n8n, Dify, agent packages, Mermaid, and Web3
|
|
334
338
|
```
|
|
335
339
|
|
|
336
340
|
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.17.
|
|
4
|
-
"weavatrixEngineVersion": "2.17.
|
|
5
|
-
"description": "Native repository intelligence for coding agents:
|
|
3
|
+
"version": "1.17.6",
|
|
4
|
+
"weavatrixEngineVersion": "2.17.6",
|
|
5
|
+
"description": "Native repository intelligence for coding agents: 64 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.",
|
|
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: 64 read-only 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.
|
|
10
|
+
"version": "1.17.6",
|
|
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.6",
|
|
18
18
|
"runtimeHint": "npx",
|
|
19
19
|
"transport": {
|
|
20
20
|
"type": "stdio"
|
package/skill/SKILL.md
CHANGED
|
@@ -68,11 +68,43 @@ roots in their arguments. Multi-root retarget requires launching with
|
|
|
68
68
|
`--allow-retarget`.
|
|
69
69
|
|
|
70
70
|
`output_format` controls the MCP envelope, not the amount of detail: `text`
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
only
|
|
75
|
-
|
|
71
|
+
is one JSON text block of the full payload, `json` mirrors that payload into
|
|
72
|
+
text (about twice the bytes), and `structured` drops the mirror. Choose each
|
|
73
|
+
tool's summary/detail or result limits for conversational work. Use
|
|
74
|
+
`token_budget` only as an additional ceiling; it can drop evidence arrays.
|
|
75
|
+
Call `rebuild_graph` only when the repository changed before automatic
|
|
76
|
+
refresh completed or when deliberately changing graph mode.
|
|
77
|
+
|
|
78
|
+
`search_code` reads a resident content index for this process. The first
|
|
79
|
+
search builds it (`backend` is `liveindex`); later searches reuse it. A
|
|
80
|
+
`glob` still walks the filesystem. It does not resolve symbols. Use
|
|
81
|
+
`find_references`, `go_to_definition`, or `inspect_symbol` for a name.
|
|
82
|
+
A column inside an identifier resolves; it does not have to be the first byte.
|
|
83
|
+
|
|
84
|
+
`semantic_link` with a text `query` ranks symbols by the local deterministic
|
|
85
|
+
token hash `weavatrix-token-hash-v1` (names, paths, and the declaration line).
|
|
86
|
+
That is not a neural embedding, and Weavatrix does not create one. Pass
|
|
87
|
+
`vectors` only when you already have embeddings. An empty `vectors` array
|
|
88
|
+
without `query` is an error.
|
|
89
|
+
|
|
90
|
+
`change_impact` with `files` or `target` reports the blast radius of those
|
|
91
|
+
files even when the worktree matches HEAD. Those seeds use
|
|
92
|
+
`change: "file_scope"` and `change_basis: "explicit_file"`. That is a
|
|
93
|
+
hypothetical scope, not a measured diff. `status` stays COMPLETE when the
|
|
94
|
+
tool ran. Read `evidence_completeness` and `stop_reason`. `MAX_NODES` means
|
|
95
|
+
the combined cap omitted nodes.
|
|
96
|
+
|
|
97
|
+
`git_history` without `path` is repository HEAD history. Pass `path` for the
|
|
98
|
+
commits that touch one file or directory.
|
|
99
|
+
|
|
100
|
+
`find_dead_code` treats every `main.go` and every Go `func main` as an entry.
|
|
101
|
+
Receiver names and function-literal parameters are not symbols.
|
|
102
|
+
|
|
103
|
+
`open_repo` is refused unless the process was started with `--allow-retarget`.
|
|
104
|
+
A mismatched `expected_repository` means relaunch on that repository.
|
|
105
|
+
|
|
106
|
+
`go.mod`, `Cargo.toml`, `package.json`, and `pyproject.toml` count as module
|
|
107
|
+
markers. One marker leaves `modular_source` at `CANDIDATE`.
|
|
76
108
|
|
|
77
109
|
Read [references/tool-routing.md](references/tool-routing.md) only when choosing
|
|
78
110
|
among similar tools, tracing cross-repository transports, or interpreting
|
|
@@ -20,7 +20,7 @@ cannot silently switch to another repository. Pass an explicit
|
|
|
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
22
|
- [`build_graph`](tools/build_graph.md) — Typed workspace, target, configuration, task, and runner topology from captured manifest evidence.
|
|
23
|
-
- [`search_code`](tools/search_code.md) — Literal or Rust-regex
|
|
23
|
+
- [`search_code`](tools/search_code.md) — Literal or Rust-regex search on the resident content index. A glob still walks files.
|
|
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.
|
|
26
26
|
- [`go_to_definition`](tools/go_to_definition.md) — Resolve the symbol at a source position to its definition without guessing by name.
|
|
@@ -69,12 +69,9 @@ cannot silently switch to another repository. Pass an explicit
|
|
|
69
69
|
- [`list_known_repos`](tools/list_known_repos.md) — List repositories with an in-process graph.
|
|
70
70
|
- [`rebuild_graph`](tools/rebuild_graph.md) — Rebuild the derived in-memory graph without source writes.
|
|
71
71
|
|
|
72
|
-
##
|
|
72
|
+
## Semantic link
|
|
73
73
|
|
|
74
|
-
- [`semantic_link`](tools/semantic_link.md) —
|
|
75
|
-
- [`vector_search`](tools/vector_search.md) — Exact or bounded approximate nearest-neighbor search.
|
|
76
|
-
- [`seo_link_suggestions`](tools/seo_link_suggestions.md) — Directional SEO internal-link evidence from supplied page profiles.
|
|
77
|
-
- [`memory_context`](tools/memory_context.md) — Compile bounded temporal memory context from supplied events.
|
|
74
|
+
- [`semantic_link`](tools/semantic_link.md) — Rank a text query with the local token hash `weavatrix-token-hash-v1`, or link a non-empty caller-supplied vectors array. Nearest-neighbor search, SEO page links, and the event journal are library crates, not MCP tools.
|
|
78
75
|
|
|
79
76
|
## n8n workflows
|
|
80
77
|
|
|
@@ -18,7 +18,7 @@ Skill hits are declared `allowed-tools`, not proven calls.
|
|
|
18
18
|
- `before` (string, required) — repository-relative previous catalog snapshot.
|
|
19
19
|
- `after` (string, required) — repository-relative current catalog snapshot.
|
|
20
20
|
- `max_results` (number, optional) — change page size, 1–500, default 100.
|
|
21
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
21
|
+
- `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.
|
|
22
22
|
|
|
23
23
|
## Minimal call
|
|
24
24
|
|
|
@@ -33,5 +33,4 @@ Skill hits are declared `allowed-tools`, not proven calls.
|
|
|
33
33
|
}
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
36
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -13,7 +13,7 @@ Inspect one plugin, skill, or server after `agent_inventory` or `agent_trace`.
|
|
|
13
13
|
- `label` (string, required) — exact node id or an unambiguous label.
|
|
14
14
|
- `task` (string, optional) — what the caller intends to change or inspect.
|
|
15
15
|
- `max_related` (number, optional) — relation page size, 1–200, default 24.
|
|
16
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
16
|
+
- `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.
|
|
17
17
|
|
|
18
18
|
## Minimal call
|
|
19
19
|
|
|
@@ -28,5 +28,4 @@ Inspect one plugin, skill, or server after `agent_inventory` or `agent_trace`.
|
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
31
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -13,7 +13,7 @@ permissions.
|
|
|
13
13
|
|
|
14
14
|
- `path` (string, optional) — repository-relative package file or path fragment.
|
|
15
15
|
- `max_results` (number, optional) — inventory page size, 1–500, default 200.
|
|
16
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
16
|
+
- `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.
|
|
17
17
|
|
|
18
18
|
## Minimal call
|
|
19
19
|
|
|
@@ -26,5 +26,4 @@ permissions.
|
|
|
26
26
|
}
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
29
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -12,7 +12,7 @@ label can belong to two packages. Use an exact id if the label is ambiguous.
|
|
|
12
12
|
|
|
13
13
|
- `label` (string, required) — exact node id or an unambiguous label.
|
|
14
14
|
- `max_related` (number, optional) — relation page size, 1–200, default 48.
|
|
15
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
15
|
+
- `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.
|
|
16
16
|
|
|
17
17
|
## Minimal call
|
|
18
18
|
|
|
@@ -26,5 +26,4 @@ label can belong to two packages. Use an exact id if the label is ambiguous.
|
|
|
26
26
|
}
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
29
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -13,7 +13,7 @@ with the analyzed snapshot rather than reread from a changing worktree.
|
|
|
13
13
|
## Inputs
|
|
14
14
|
|
|
15
15
|
- `max_members` (integer, min 0).
|
|
16
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
16
|
+
- `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.
|
|
17
17
|
|
|
18
18
|
## Minimal call
|
|
19
19
|
|
|
@@ -26,8 +26,7 @@ with the analyzed snapshot rather than reread from a changing worktree.
|
|
|
26
26
|
}
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
29
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
31
30
|
|
|
32
31
|
`max_members` limits presentation only. Returned totals still describe the
|
|
33
32
|
complete recovered model, and the result reports an incomplete page instead of
|
|
@@ -4,7 +4,7 @@ Read-only Git change impact with graph evidence.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Map a working-tree diff, explicit files, or Git revisions onto affected graph nodes.
|
|
7
|
+
Map a working-tree diff, explicit files, or Git revisions onto affected graph nodes. Naming `files` or `target` when that file matches HEAD still returns its symbols as `change: "file_scope"` and `change_basis: "explicit_file"`. That is a hypothetical blast radius, not a measured edit. A dirty file keeps the real symbol diff. `status` stays COMPLETE when the tool ran. Read `evidence_completeness` and `stop_reason`. `MAX_NODES` means the combined cap omitted nodes.
|
|
8
8
|
|
|
9
9
|
Static impact is not proof that selected behavior executed.
|
|
10
10
|
|
|
@@ -16,9 +16,9 @@ Static impact is not proof that selected behavior executed.
|
|
|
16
16
|
- `diff` (string).
|
|
17
17
|
- `files` (array<string>).
|
|
18
18
|
- `head_ref` (string).
|
|
19
|
-
- `max_nodes` (integer, min 0).
|
|
19
|
+
- `max_nodes` (integer, min 0, default 40). Combined cap on impacted nodes across every seed. Production callers are kept ahead of tests. A trimmed answer reports `MAX_NODES`.
|
|
20
20
|
- `max_references` (integer, min 0).
|
|
21
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
21
|
+
- `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.
|
|
22
22
|
- `precision` ("graph").
|
|
23
23
|
- `timeout_ms` (integer, min 0).
|
|
24
24
|
|
|
@@ -33,5 +33,4 @@ Static impact is not proof that selected behavior executed.
|
|
|
33
33
|
}
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
36
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -15,7 +15,7 @@ Assemble a ranked, token-bounded workset around one task or target.
|
|
|
15
15
|
- `max_references` (integer, min 0).
|
|
16
16
|
- `max_related` (integer, min 0).
|
|
17
17
|
- `max_source_files` (integer, min 0).
|
|
18
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
18
|
+
- `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.
|
|
19
19
|
- `precision` (string).
|
|
20
20
|
- `timeout_ms` (integer, min 0).
|
|
21
21
|
- `token_budget` (integer, min 1) — Approximate output ceiling in tokens (serialized bytes / 4); result arrays are trimmed from the tail to fit and the report states what was dropped.
|
|
@@ -32,5 +32,4 @@ Assemble a ranked, token-bounded workset around one task or target.
|
|
|
32
32
|
}
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
35
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -15,7 +15,7 @@ Compare histories, shared commits, or diffs across explicitly supplied local rep
|
|
|
15
15
|
- `head_ref` (string).
|
|
16
16
|
- `left` (string).
|
|
17
17
|
- `max_commits` (integer, min 0).
|
|
18
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
18
|
+
- `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.
|
|
19
19
|
- `revision` (string).
|
|
20
20
|
- `right` (string).
|
|
21
21
|
|
|
@@ -31,5 +31,4 @@ Compare histories, shared commits, or diffs across explicitly supplied local rep
|
|
|
31
31
|
}
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
34
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -13,7 +13,7 @@ display name.
|
|
|
13
13
|
- `label` (string, required) — graph id or unique native element label.
|
|
14
14
|
- `task` (string, optional) — what the caller intends to change or inspect.
|
|
15
15
|
- `max_related` (number, optional) — related row cap, 1–200, default 24.
|
|
16
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
16
|
+
- `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.
|
|
17
17
|
|
|
18
18
|
## Minimal call
|
|
19
19
|
|
|
@@ -28,5 +28,4 @@ display name.
|
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
31
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -12,7 +12,7 @@ Drawn arrows are declared architecture, not production calls.
|
|
|
12
12
|
|
|
13
13
|
- `path` (string, optional) — repository-relative diagram file or path fragment.
|
|
14
14
|
- `max_results` (number, optional) — inventory page size, 1–500, default 200.
|
|
15
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
15
|
+
- `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.
|
|
16
16
|
|
|
17
17
|
## Minimal call
|
|
18
18
|
|
|
@@ -25,5 +25,4 @@ Drawn arrows are declared architecture, not production calls.
|
|
|
25
25
|
}
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
28
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -13,7 +13,7 @@ as a production `calls` edge.
|
|
|
13
13
|
- `depth` (number, optional) — walk depth, 1–32, default 8.
|
|
14
14
|
- `max_nodes` (number, optional) — page size, 1–500, default 100.
|
|
15
15
|
- `cursor` (string, optional) — opaque page token from a previous page.
|
|
16
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
16
|
+
- `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.
|
|
17
17
|
|
|
18
18
|
## Minimal call
|
|
19
19
|
|
|
@@ -27,5 +27,4 @@ as a production `calls` edge.
|
|
|
27
27
|
}
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
30
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -13,7 +13,7 @@ tasks. Secrets stay omitted.
|
|
|
13
13
|
- `label` (string, required) — node, app, or variable id or graph label.
|
|
14
14
|
- `task` (string, optional) — `explain` or `impact`. Impact adds consumer lists.
|
|
15
15
|
- `max_related` (number, optional) — related-item page size.
|
|
16
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
16
|
+
- `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.
|
|
17
17
|
|
|
18
18
|
## Minimal call
|
|
19
19
|
|
|
@@ -28,5 +28,4 @@ tasks. Secrets stay omitted.
|
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
31
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -11,7 +11,7 @@ not call a live Dify console API.
|
|
|
11
11
|
|
|
12
12
|
- `path` (string, optional) — repository-relative YAML file or path fragment.
|
|
13
13
|
- `max_results` (number, optional) — inventory page size, 1–500, default 200.
|
|
14
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
14
|
+
- `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.
|
|
15
15
|
|
|
16
16
|
## Minimal call
|
|
17
17
|
|
|
@@ -24,5 +24,4 @@ not call a live Dify console API.
|
|
|
24
24
|
}
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
27
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -14,7 +14,7 @@ or app. A DAG merge is a merge, not a cycle. Missing consumers stay missing.
|
|
|
14
14
|
- `max_nodes` (number, optional) — page size, 1–500, default 100.
|
|
15
15
|
- `cursor` (string, optional) — `v1:<offset>` or `v1:<offset>:<revision>`.
|
|
16
16
|
- `direction` ("outgoing" | "incoming", optional) — walk direction.
|
|
17
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
17
|
+
- `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.
|
|
18
18
|
|
|
19
19
|
## Minimal call
|
|
20
20
|
|
|
@@ -28,5 +28,4 @@ or app. A DAG merge is a merge, not a cycle. Missing consumers stay missing.
|
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
31
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -9,7 +9,7 @@ Retrieve bounded evidence for one active architecture-violation fingerprint.
|
|
|
9
9
|
## Inputs
|
|
10
10
|
|
|
11
11
|
- `fingerprint` (string, required).
|
|
12
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
12
|
+
- `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.
|
|
13
13
|
|
|
14
14
|
## Minimal call
|
|
15
15
|
|
|
@@ -23,5 +23,4 @@ Retrieve bounded evidence for one active architecture-violation fingerprint.
|
|
|
23
23
|
}
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
26
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -4,7 +4,7 @@ Conservative unreferenced-symbol review queue.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Build a conservative dead-code review queue
|
|
7
|
+
Build a conservative dead-code review queue. Every `main.go` and every Go `func main` is an entry, so `main` itself is reachable. Receiver names and function-literal parameters are not symbols. Exported symbols with no callers stay at confidence 50; private ones at 85. `REVIEW_ONLY` means the queue is a review list.
|
|
8
8
|
|
|
9
9
|
Never delete from this result alone; confirm source and framework registration points.
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ Never delete from this result alone; confirm source and framework registration p
|
|
|
14
14
|
- `include_tests` (boolean).
|
|
15
15
|
- `kinds` (array<string>).
|
|
16
16
|
- `min_confidence` (integer, min 0, max 100).
|
|
17
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
17
|
+
- `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.
|
|
18
18
|
- `path` (string).
|
|
19
19
|
- `top_n` (integer, min 0).
|
|
20
20
|
|
|
@@ -29,5 +29,4 @@ Never delete from this result alone; confirm source and framework registration p
|
|
|
29
29
|
}
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
32
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -16,7 +16,7 @@ Review bounded Type-1, Type-2, or Type-3 clone families before confirming candid
|
|
|
16
16
|
- `min_similarity` (number, min 0, max 100) — 0..1 is a fraction; values above 1 through 100 are percentages.
|
|
17
17
|
- `min_tokens` (integer, min 0).
|
|
18
18
|
- `mode` ("strict" | "exact" | "renamed" | "near_miss").
|
|
19
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
19
|
+
- `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.
|
|
20
20
|
- `top_n` (integer, min 0).
|
|
21
21
|
|
|
22
22
|
## Minimal call
|
|
@@ -30,5 +30,4 @@ Review bounded Type-1, Type-2, or Type-3 clone families before confirming candid
|
|
|
30
30
|
}
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
33
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -16,7 +16,7 @@ List every recorded occurrence of one symbol after you have a label or a pinned
|
|
|
16
16
|
- `scip_path` (string) — optional on-disk SCIP index; never spawned.
|
|
17
17
|
- `max_results` (integer, min 1).
|
|
18
18
|
- `cursor` (string).
|
|
19
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
19
|
+
- `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.
|
|
20
20
|
|
|
21
21
|
## Minimal call
|
|
22
22
|
|
|
@@ -12,7 +12,7 @@ Read or preview the local target-architecture contract.
|
|
|
12
12
|
- `baseline_mode` (string).
|
|
13
13
|
- `candidate_contract` (object).
|
|
14
14
|
- `confirm_token` (string).
|
|
15
|
-
- `output_format` ("text" | "json" | "structured", default "json") — text returns
|
|
15
|
+
- `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.
|
|
16
16
|
|
|
17
17
|
## Minimal call
|
|
18
18
|
|
|
@@ -25,5 +25,4 @@ Read or preview the local target-architecture contract.
|
|
|
25
25
|
}
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
`tools/list` schema remains authoritative for this installed version.
|
|
28
|
+
Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
|