@functional-systems/lambdadb-mcp 0.1.5-dev.16 → 0.1.5-dev.17
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 +4 -0
- package/dist/tools/read.js +12 -12
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- Replace the query tool's top-level `allOf` with equivalent conditionals so
|
|
6
|
+
Claude through Kiro/Bedrock can accept the tool inventory. Preserve facet and
|
|
7
|
+
rerank schema constraints, runtime validation and read-only defaults.
|
|
8
|
+
|
|
5
9
|
## [0.1.4] - 2026-10-07
|
|
6
10
|
|
|
7
11
|
- Standardize feature guidance as native embedding and native reranking; pin the
|
package/dist/tools/read.js
CHANGED
|
@@ -94,18 +94,18 @@ export function registerReadTools(server, config) {
|
|
|
94
94
|
context.addIssue({ code: "custom", path: ["facets"], message: "size: 0 requires at least one facet." });
|
|
95
95
|
}
|
|
96
96
|
}).meta({
|
|
97
|
-
//
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
97
|
+
// Claude on Bedrock rejects top-level allOf/anyOf/oneOf. Preserve both
|
|
98
|
+
// cross-field rules with conditionals; reranking already forbids size: 0.
|
|
99
|
+
if: { properties: { rerank: { type: "object" } }, required: ["rerank"] },
|
|
100
|
+
then: {
|
|
101
|
+
required: ["query"],
|
|
102
|
+
properties: { size: { minimum: 1 } },
|
|
103
|
+
not: { required: ["sort"] }
|
|
104
|
+
},
|
|
105
|
+
else: {
|
|
106
|
+
if: { properties: { size: { const: 0 } }, required: ["size"] },
|
|
107
|
+
then: { required: ["facets"], properties: { facets: { minProperties: 1 } } }
|
|
108
|
+
}
|
|
109
109
|
})
|
|
110
110
|
}, async ({ collectionName, size, candidateSize, query, facets, rerank, ref, consistentRead, includeVectors, sort, fields, partitionFilter }) => {
|
|
111
111
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@functional-systems/lambdadb-mcp",
|
|
3
|
-
"version": "0.1.5-dev.
|
|
3
|
+
"version": "0.1.5-dev.17",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "MCP server for LambdaDB data plane",
|
|
6
6
|
"type": "module",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"access": "public",
|
|
63
63
|
"registry": "https://registry.npmjs.org"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "f56d2bb7705588ec7e9b6fe3668e72cbf2db5315"
|
|
66
66
|
}
|