@okfit/mcp 0.12.1 → 0.12.3
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/index.d.ts +19 -12
- package/main.d.ts +5 -0
- package/package.json +19 -19
- package/version.js +1 -1
package/index.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model Context Protocol server for okfit: six read-only tools and the
|
|
3
|
+
* bundle index plus one resource per concept, over an OKF bundle, spoken
|
|
4
|
+
* over stdio.
|
|
5
|
+
*
|
|
6
|
+
* @packageDocumentation
|
|
7
|
+
*/
|
|
1
8
|
import { Remediation } from "@effected/kit";
|
|
2
9
|
import { ToolRefusal } from "@effected/mcp-kit";
|
|
3
10
|
import { AppDirs, Xdg } from "@effected/xdg";
|
|
@@ -622,7 +629,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
622
629
|
}>]>;
|
|
623
630
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
624
631
|
readonly failureMode: "error";
|
|
625
|
-
}, never>;
|
|
632
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
626
633
|
readonly describe_vocabulary: import("effect/ai/Tool").Tool<"describe_vocabulary", {
|
|
627
634
|
readonly parameters: import("effect/ai/Tool").EmptyParams;
|
|
628
635
|
readonly success: import("effect/Schema").Struct<{
|
|
@@ -675,7 +682,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
675
682
|
}>;
|
|
676
683
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
677
684
|
readonly failureMode: "error";
|
|
678
|
-
}, never>;
|
|
685
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
679
686
|
readonly get_concept: import("effect/ai/Tool").Tool<"get_concept", {
|
|
680
687
|
readonly parameters: import("effect/Schema").Struct<{
|
|
681
688
|
readonly id: import("effect/Schema").String;
|
|
@@ -723,7 +730,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
723
730
|
}>]>;
|
|
724
731
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
725
732
|
readonly failureMode: "error";
|
|
726
|
-
}, never>;
|
|
733
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
727
734
|
readonly list_concepts: import("effect/ai/Tool").Tool<"list_concepts", {
|
|
728
735
|
readonly parameters: import("effect/Schema").Struct<{
|
|
729
736
|
readonly type: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -753,7 +760,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
753
760
|
}>;
|
|
754
761
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
755
762
|
readonly failureMode: "error";
|
|
756
|
-
}, never>;
|
|
763
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
757
764
|
readonly stale_report: import("effect/ai/Tool").Tool<"stale_report", {
|
|
758
765
|
readonly parameters: import("effect/Schema").Struct<{
|
|
759
766
|
readonly now: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -796,7 +803,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
796
803
|
}>;
|
|
797
804
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
798
805
|
readonly failureMode: "error";
|
|
799
|
-
}, never>;
|
|
806
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
800
807
|
readonly validate_bundle: import("effect/ai/Tool").Tool<"validate_bundle", {
|
|
801
808
|
readonly parameters: import("effect/Schema").Struct<{
|
|
802
809
|
readonly now: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -837,7 +844,7 @@ export declare const OkfitToolkit: Toolkit.Toolkit<{
|
|
|
837
844
|
}>;
|
|
838
845
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
839
846
|
readonly failureMode: "error";
|
|
840
|
-
}, never>;
|
|
847
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
841
848
|
}>;
|
|
842
849
|
/**
|
|
843
850
|
* The platform services the six handlers run on: config and bundle loading
|
|
@@ -920,7 +927,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
920
927
|
}>]>;
|
|
921
928
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
922
929
|
readonly failureMode: "error";
|
|
923
|
-
}, never>;
|
|
930
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
924
931
|
readonly describe_vocabulary: import("effect/ai/Tool").Tool<"describe_vocabulary", {
|
|
925
932
|
readonly parameters: import("effect/ai/Tool").EmptyParams;
|
|
926
933
|
readonly success: import("effect/Schema").Struct<{
|
|
@@ -973,7 +980,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
973
980
|
}>;
|
|
974
981
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
975
982
|
readonly failureMode: "error";
|
|
976
|
-
}, never>;
|
|
983
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
977
984
|
readonly get_concept: import("effect/ai/Tool").Tool<"get_concept", {
|
|
978
985
|
readonly parameters: import("effect/Schema").Struct<{
|
|
979
986
|
readonly id: import("effect/Schema").String;
|
|
@@ -1021,7 +1028,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
1021
1028
|
}>]>;
|
|
1022
1029
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
1023
1030
|
readonly failureMode: "error";
|
|
1024
|
-
}, never>;
|
|
1031
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
1025
1032
|
readonly list_concepts: import("effect/ai/Tool").Tool<"list_concepts", {
|
|
1026
1033
|
readonly parameters: import("effect/Schema").Struct<{
|
|
1027
1034
|
readonly type: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -1051,7 +1058,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
1051
1058
|
}>;
|
|
1052
1059
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
1053
1060
|
readonly failureMode: "error";
|
|
1054
|
-
}, never>;
|
|
1061
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
1055
1062
|
readonly stale_report: import("effect/ai/Tool").Tool<"stale_report", {
|
|
1056
1063
|
readonly parameters: import("effect/Schema").Struct<{
|
|
1057
1064
|
readonly now: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -1094,7 +1101,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
1094
1101
|
}>;
|
|
1095
1102
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
1096
1103
|
readonly failureMode: "error";
|
|
1097
|
-
}, never>;
|
|
1104
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
1098
1105
|
readonly validate_bundle: import("effect/ai/Tool").Tool<"validate_bundle", {
|
|
1099
1106
|
readonly parameters: import("effect/Schema").Struct<{
|
|
1100
1107
|
readonly now: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -1135,7 +1142,7 @@ export declare const ToolsLayer: (projectRoot: string, distribution?: Distributi
|
|
|
1135
1142
|
}>;
|
|
1136
1143
|
readonly failure: typeof import("@effected/mcp-kit").ToolRefusal;
|
|
1137
1144
|
readonly failureMode: "error";
|
|
1138
|
-
}, never>;
|
|
1145
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
1139
1146
|
}>, never, ToolServices>;
|
|
1140
1147
|
/**
|
|
1141
1148
|
* The version this server reports in `initialize`. Injected by
|
package/main.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okfit/mcp",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
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.1",
|
|
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.28.0",
|
|
59
|
+
"@effected/xdg": "^0.20.1",
|
|
60
|
+
"@effected/yaml": "^0.30.0",
|
|
61
|
+
"@okfit/core": "0.13.3",
|
|
62
|
+
"@okfit/engine": "0.20.3",
|
|
63
|
+
"@okfit/profiles": "0.14.5",
|
|
64
|
+
"effect": "4.1.3"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=24.11.0"
|