weavatrix 1.5.0 → 1.6.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
@@ -61,6 +61,25 @@ The package contains native binaries for Windows x64/arm64, macOS x64/arm64,
61
61
  and glibc Linux x64/arm64. It has no install script and performs no runtime
62
62
  download.
63
63
 
64
+ ### Halve every answer on a client that reads structured output
65
+
66
+ An MCP result carries the payload twice: once as `structuredContent`, and once
67
+ mirrored into a text block for clients that read only `content`. The mirror is
68
+ the pretty-printed copy, so it is the larger of the two.
69
+
70
+ ```sh
71
+ npx -y weavatrix mcp . --output-format=structured
72
+ ```
73
+
74
+ Measured on `run_audit` over a real repository, the response falls from 8931 to
75
+ 3589 bytes, **59.8% smaller**. Whether a client reads structured output does
76
+ not change between calls, so it is chosen once at startup rather than restated
77
+ as an argument on every call; `WEAVATRIX_OUTPUT_FORMAT=structured` does the
78
+ same, and a call that names its own `output_format` still wins.
79
+
80
+ `json` is the default and keeps the mirror, because a client that ignores
81
+ `structuredContent` would otherwise see an empty result.
82
+
64
83
  ## What an agent can ask
65
84
 
66
85
  ```text
@@ -110,7 +129,7 @@ coding agent
110
129
  |
111
130
  | MCP over stdio
112
131
  v
113
- weavatrix 1.5.0
132
+ weavatrix 1.6.0
114
133
  profile catalog · refresh · watcher · MCP framing
115
134
  |
116
135
  v
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weavatrix",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "weavatrixEngineVersion": "2.4.0",
5
5
  "description": "Native repository intelligence for coding agents: 43 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>",
package/server.json CHANGED
@@ -7,14 +7,14 @@
7
7
  "url": "https://github.com/sergii-ziborov/weavatrix",
8
8
  "source": "github"
9
9
  },
10
- "version": "1.5.0",
10
+ "version": "1.6.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.5.0",
17
+ "version": "1.6.0",
18
18
  "runtimeHint": "npx",
19
19
  "transport": {
20
20
  "type": "stdio"