kibi-mcp 3.9.2 → 3.10.1
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.
|
@@ -47,7 +47,7 @@ export function registerConfiguredTools(server, runtime, registerTool) {
|
|
|
47
47
|
// (via jsonSchemaToZod) before the handler is invoked, so the casts are safe at runtime.
|
|
48
48
|
register({
|
|
49
49
|
name: "kb_query",
|
|
50
|
-
execute: async (context, args) => runtime.handleKbQuery(prologFor(context), args),
|
|
50
|
+
execute: async (context, args) => runtime.handleKbQuery(prologFor(context), args, context),
|
|
51
51
|
});
|
|
52
52
|
register({
|
|
53
53
|
name: "kb_search",
|
package/dist/tools/query.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { VALID_ENTITY_TYPES, querySpec } from "kibi-runtime";
|
|
2
2
|
import { createDiscoveryContext } from "./discovery-adapter.js";
|
|
3
3
|
export { VALID_ENTITY_TYPES };
|
|
4
|
-
export async function handleKbQuery(prolog, args) {
|
|
4
|
+
export async function handleKbQuery(prolog, args, context) {
|
|
5
5
|
// implements REQ-kibi-operation-interface-parity
|
|
6
|
-
|
|
6
|
+
// The runtime context carries the branch attachment; without it an empty
|
|
7
|
+
// page from a never-compiled store cannot name the store state.
|
|
8
|
+
return querySpec.execute(args, createDiscoveryContext(prolog, context));
|
|
7
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kibi-mcp",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.1",
|
|
4
4
|
"mcpName": "io.github.Looted/kibi-mcp",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"fast-glob": "^3.2.12",
|
|
11
11
|
"gray-matter": "^4.0.3",
|
|
12
12
|
"js-yaml": "^4.1.0",
|
|
13
|
-
"kibi-runtime": "^2.
|
|
14
|
-
"kibi-core": "^0.
|
|
13
|
+
"kibi-runtime": "^2.15.1",
|
|
14
|
+
"kibi-core": "^0.22.0",
|
|
15
15
|
"zod": "^4.3.6"
|
|
16
16
|
},
|
|
17
17
|
"type": "module",
|