@aventara/mcp 1.0.0-rc.3 → 1.0.0-rc.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,60 @@
1
1
  # @aventara/mcp
2
2
 
3
+ ## 1.0.0-rc.8
4
+
5
+ 1.0.0-rc.5, rc.6 and rc.7 were tagged but never published; 1.0.0-rc.8 contains everything listed under them and the changes below.
6
+
7
+ ### Patch Changes
8
+
9
+ - Updated dependencies [1c8e4ee]
10
+ - @aventara/core@1.0.0-rc.8
11
+
12
+ ## 1.0.0-rc.7
13
+
14
+ 1.0.0-rc.5 and 1.0.0-rc.6 were tagged but never published; 1.0.0-rc.7 contains everything listed under them and the changes below.
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [f917c1c]
19
+ - @aventara/core@1.0.0-rc.7
20
+
21
+ ## 1.0.0-rc.6
22
+
23
+ 1.0.0-rc.5 was tagged but never published. 1.0.0-rc.6 contains everything listed under 1.0.0-rc.5 and the fix below.
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [1cf72e0]
28
+ - @aventara/core@1.0.0-rc.6
29
+
30
+ ## 1.0.0-rc.5
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [4795ff1]
35
+ - Updated dependencies [9e178ca]
36
+ - @aventara/core@1.0.0-rc.5
37
+
38
+ ## 1.0.0-rc.4
39
+
40
+ ### Patch Changes
41
+
42
+ - d10639a: Faster reads. The read-only copies stages are told cost about half what they did: a read with a computed field
43
+ copies each row in one pass, a row with several computed fields shares its nested objects between the stages'
44
+ copies, and after hooks share one frozen copy of the result. A row whose computed field returns a value at once no
45
+ longer waits a turn per row. The MCP endpoint builds its JSON Schema validator once instead of on every request.
46
+ What stages are told, the order they run in and what a request answers are unchanged.
47
+ - Updated dependencies [e3d03a7]
48
+ - Updated dependencies [d10639a]
49
+ - Updated dependencies [f67e68c]
50
+ - Updated dependencies [708556c]
51
+ - Updated dependencies [3a0dfca]
52
+ - Updated dependencies [99169d2]
53
+ - Updated dependencies [0fd2608]
54
+ - Updated dependencies [154e440]
55
+ - Updated dependencies [2fcffdb]
56
+ - @aventara/core@1.0.0-rc.4
57
+
3
58
  ## 1.0.0-rc.3
4
59
 
5
60
  ### Patch Changes
@@ -3,6 +3,7 @@ import { AvProtocol, } from "@aventara/core/protocol";
3
3
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
4
4
  import { WebStandardStreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js";
5
5
  import { CallToolRequestSchema, ErrorCode, ListResourcesRequestSchema, ListToolsRequestSchema, McpError, ReadResourceRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
6
+ import { AjvJsonSchemaValidator } from "@modelcontextprotocol/sdk/validation/ajv";
6
7
  import { authorizedAccess, jsonAnswer, loopbackAccess, metadataAnswer, metadataPathOf, } from "./endpoint-access.policy.js";
7
8
  import { translateOperationCall, translateTransactionCall, } from "./tool-call.translator.js";
8
9
  import { CONTRACT_RESOURCE_URI, compileToolCatalog, OPERATION_FAMILIES, TRANSACTION_TOOL, } from "./tool-catalog.compiler.js";
@@ -31,6 +32,7 @@ export function bind(framework) {
31
32
  }).body,
32
33
  maxRequestBytes: agent.limits.maxRequestBytes,
33
34
  reportFailure: mcpFailureReporterOf(framework),
35
+ schemaValidator: new AjvJsonSchemaValidator(),
34
36
  };
35
37
  const routes = Object.freeze([
36
38
  Object.freeze({
@@ -186,6 +188,7 @@ function serverFor(bound, headers, state) {
186
188
  const server = new Server({ name: "aventara", title: "Aventara", version: bound.identity.hash }, {
187
189
  capabilities: { tools: {}, resources: {} },
188
190
  instructions: SERVER_INSTRUCTIONS,
191
+ jsonSchemaValidator: bound.schemaValidator,
189
192
  });
190
193
  const options = state === undefined ? {} : { state };
191
194
  server.setRequestHandler(ListToolsRequestSchema, guarded(bound, () => ({ tools: bound.tools })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventara/mcp",
3
- "version": "1.0.0-rc.3",
3
+ "version": "1.0.0-rc.8",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "The MCP server for an Aventara application: its agent layer as Model Context Protocol tools.",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "CHANGELOG.md"
23
23
  ],
24
24
  "dependencies": {
25
- "@aventara/core": "1.0.0-rc.3",
25
+ "@aventara/core": "1.0.0-rc.8",
26
26
  "@modelcontextprotocol/sdk": "1.30.1",
27
27
  "zod": "^4.6.5"
28
28
  },
@@ -30,7 +30,7 @@
30
30
  "access": "public"
31
31
  },
32
32
  "devDependencies": {
33
- "@aventara/testing": "1.0.0-rc.3"
33
+ "@aventara/testing": "1.0.0-rc.8"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "node ../../scripts/build/build-output.cleaner.ts dist && tsc -p tsconfig.json --removeComments --declaration false && tsc -p tsconfig.json --emitDeclarationOnly && node ../../scripts/build/declaration-comments.sanitizer.ts dist",