@okfit/mcp 0.12.0 → 0.12.2
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/bin/okfit-mcp.js +9 -2
- package/index.d.ts +13 -13
- package/package.json +19 -19
- package/version.js +2 -2
package/bin/okfit-mcp.js
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { main } from "../main.js";
|
|
3
|
-
|
|
4
2
|
// src/bin.ts
|
|
5
3
|
/**
|
|
6
4
|
* MCP server entry point for okfit.
|
|
7
5
|
*
|
|
8
6
|
* @packageDocumentation
|
|
9
7
|
*/
|
|
8
|
+
if (import.meta.url.endsWith(".ts")) {
|
|
9
|
+
const { register } = await import([
|
|
10
|
+
"tsx",
|
|
11
|
+
"esm",
|
|
12
|
+
"api"
|
|
13
|
+
].join("/"));
|
|
14
|
+
register();
|
|
15
|
+
}
|
|
16
|
+
const { main } = await import("../main.js");
|
|
10
17
|
await main();
|
|
11
18
|
|
|
12
19
|
export { };
|
package/index.d.ts
CHANGED
|
@@ -622,7 +622,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
622
622
|
}>]>;
|
|
623
623
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
624
624
|
readonly failureMode: "error";
|
|
625
|
-
}, never>;
|
|
625
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
626
626
|
readonly describe_vocabulary: import("effect/ai/Tool").Tool<"describe_vocabulary", {
|
|
627
627
|
readonly parameters: import("effect/ai/Tool").EmptyParams;
|
|
628
628
|
readonly success: import("effect/Schema").Struct<{
|
|
@@ -675,7 +675,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
675
675
|
}>;
|
|
676
676
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
677
677
|
readonly failureMode: "error";
|
|
678
|
-
}, never>;
|
|
678
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
679
679
|
readonly get_concept: import("effect/ai/Tool").Tool<"get_concept", {
|
|
680
680
|
readonly parameters: import("effect/Schema").Struct<{
|
|
681
681
|
readonly id: import("effect/Schema").String;
|
|
@@ -723,7 +723,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
723
723
|
}>]>;
|
|
724
724
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
725
725
|
readonly failureMode: "error";
|
|
726
|
-
}, never>;
|
|
726
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
727
727
|
readonly list_concepts: import("effect/ai/Tool").Tool<"list_concepts", {
|
|
728
728
|
readonly parameters: import("effect/Schema").Struct<{
|
|
729
729
|
readonly type: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -753,7 +753,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
753
753
|
}>;
|
|
754
754
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
755
755
|
readonly failureMode: "error";
|
|
756
|
-
}, never>;
|
|
756
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
757
757
|
readonly stale_report: import("effect/ai/Tool").Tool<"stale_report", {
|
|
758
758
|
readonly parameters: import("effect/Schema").Struct<{
|
|
759
759
|
readonly now: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -796,7 +796,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
796
796
|
}>;
|
|
797
797
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
798
798
|
readonly failureMode: "error";
|
|
799
|
-
}, never>;
|
|
799
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
800
800
|
readonly validate_bundle: import("effect/ai/Tool").Tool<"validate_bundle", {
|
|
801
801
|
readonly parameters: import("effect/Schema").Struct<{
|
|
802
802
|
readonly now: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -837,7 +837,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
837
837
|
}>;
|
|
838
838
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
839
839
|
readonly failureMode: "error";
|
|
840
|
-
}, never>;
|
|
840
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
841
841
|
}>;
|
|
842
842
|
/**
|
|
843
843
|
* The platform services the six handlers run on: config and bundle loading
|
|
@@ -920,7 +920,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
920
920
|
}>]>;
|
|
921
921
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
922
922
|
readonly failureMode: "error";
|
|
923
|
-
}, never>;
|
|
923
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
924
924
|
readonly describe_vocabulary: import("effect/ai/Tool").Tool<"describe_vocabulary", {
|
|
925
925
|
readonly parameters: import("effect/ai/Tool").EmptyParams;
|
|
926
926
|
readonly success: import("effect/Schema").Struct<{
|
|
@@ -973,7 +973,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
973
973
|
}>;
|
|
974
974
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
975
975
|
readonly failureMode: "error";
|
|
976
|
-
}, never>;
|
|
976
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
977
977
|
readonly get_concept: import("effect/ai/Tool").Tool<"get_concept", {
|
|
978
978
|
readonly parameters: import("effect/Schema").Struct<{
|
|
979
979
|
readonly id: import("effect/Schema").String;
|
|
@@ -1021,7 +1021,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
1021
1021
|
}>]>;
|
|
1022
1022
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
1023
1023
|
readonly failureMode: "error";
|
|
1024
|
-
}, never>;
|
|
1024
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
1025
1025
|
readonly list_concepts: import("effect/ai/Tool").Tool<"list_concepts", {
|
|
1026
1026
|
readonly parameters: import("effect/Schema").Struct<{
|
|
1027
1027
|
readonly type: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -1051,7 +1051,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
1051
1051
|
}>;
|
|
1052
1052
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
1053
1053
|
readonly failureMode: "error";
|
|
1054
|
-
}, never>;
|
|
1054
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
1055
1055
|
readonly stale_report: import("effect/ai/Tool").Tool<"stale_report", {
|
|
1056
1056
|
readonly parameters: import("effect/Schema").Struct<{
|
|
1057
1057
|
readonly now: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -1094,7 +1094,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
1094
1094
|
}>;
|
|
1095
1095
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
1096
1096
|
readonly failureMode: "error";
|
|
1097
|
-
}, never>;
|
|
1097
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
1098
1098
|
readonly validate_bundle: import("effect/ai/Tool").Tool<"validate_bundle", {
|
|
1099
1099
|
readonly parameters: import("effect/Schema").Struct<{
|
|
1100
1100
|
readonly now: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -1135,11 +1135,11 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
1135
1135
|
}>;
|
|
1136
1136
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
1137
1137
|
readonly failureMode: "error";
|
|
1138
|
-
}, never>;
|
|
1138
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
1139
1139
|
}>, never, ToolServices>;
|
|
1140
1140
|
/**
|
|
1141
1141
|
* The version this server reports in `initialize`. Injected by
|
|
1142
|
-
*
|
|
1142
|
+
* `effected package build` at build time (K-32); `"0.0.0"` in unbuilt source.
|
|
1143
1143
|
*
|
|
1144
1144
|
* @public
|
|
1145
1145
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okfit/mcp",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Model Context Protocol server for okfit: query and understand Open Knowledge Format (OKF) bundles from an agent.",
|
|
6
6
|
"keywords": [
|
|
@@ -44,24 +44,24 @@
|
|
|
44
44
|
"okfit-mcp": "bin/okfit-mcp.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@effect/platform-node": "
|
|
48
|
-
"@effected/config-file": "^0.
|
|
49
|
-
"@effected/git": "^0.
|
|
50
|
-
"@effected/glob": "^0.
|
|
51
|
-
"@effected/jsonc": "^0.
|
|
52
|
-
"@effected/kit": "^0.
|
|
53
|
-
"@effected/markdown": "^0.
|
|
54
|
-
"@effected/mcp-kit": "^0.
|
|
55
|
-
"@effected/schemastore": "^0.
|
|
56
|
-
"@effected/source": "^0.
|
|
57
|
-
"@effected/toml": "^0.
|
|
58
|
-
"@effected/walker": "^0.
|
|
59
|
-
"@effected/xdg": "^0.
|
|
60
|
-
"@effected/yaml": "^0.
|
|
61
|
-
"@okfit/core": "0.13.
|
|
62
|
-
"@okfit/engine": "0.20.
|
|
63
|
-
"@okfit/profiles": "0.14.
|
|
64
|
-
"effect": "
|
|
47
|
+
"@effect/platform-node": "4.1.3",
|
|
48
|
+
"@effected/config-file": "^0.27.0",
|
|
49
|
+
"@effected/git": "^0.32.0",
|
|
50
|
+
"@effected/glob": "^0.21.0",
|
|
51
|
+
"@effected/jsonc": "^0.25.0",
|
|
52
|
+
"@effected/kit": "^0.14.0",
|
|
53
|
+
"@effected/markdown": "^0.29.0",
|
|
54
|
+
"@effected/mcp-kit": "^0.15.0",
|
|
55
|
+
"@effected/schemastore": "^0.32.0",
|
|
56
|
+
"@effected/source": "^0.5.0",
|
|
57
|
+
"@effected/toml": "^0.20.0",
|
|
58
|
+
"@effected/walker": "^0.27.0",
|
|
59
|
+
"@effected/xdg": "^0.20.0",
|
|
60
|
+
"@effected/yaml": "^0.30.0",
|
|
61
|
+
"@okfit/core": "0.13.2",
|
|
62
|
+
"@okfit/engine": "0.20.2",
|
|
63
|
+
"@okfit/profiles": "0.14.4",
|
|
64
|
+
"effect": "4.1.3"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=24.11.0"
|
package/version.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
/**
|
|
3
3
|
* The version this server reports in `initialize`. Injected by
|
|
4
|
-
*
|
|
4
|
+
* `effected package build` at build time (K-32); `"0.0.0"` in unbuilt source.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
const MCP_VERSION = "0.12.
|
|
8
|
+
const MCP_VERSION = "0.12.2";
|
|
9
9
|
|
|
10
10
|
export { MCP_VERSION };
|