modality-kit 0.12.15 → 0.12.16
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.
|
@@ -49,12 +49,13 @@ export interface AITool<T extends Record<string, unknown> | undefined = any, TPa
|
|
|
49
49
|
canAccess?: (auth: T) => boolean;
|
|
50
50
|
description?: string;
|
|
51
51
|
execute: (args: ToolParameters.InferOutput<TParams>, context?: any) => Promise<any>;
|
|
52
|
-
name
|
|
52
|
+
name?: string;
|
|
53
53
|
inputSchema?: TParams;
|
|
54
54
|
timeoutMs?: number;
|
|
55
55
|
}
|
|
56
56
|
export interface FastMCPTool<T extends Record<string, unknown> | undefined = any, TParams extends ToolParameters = ToolParameters> extends AITool<T, TParams> {
|
|
57
57
|
parameters?: TParams;
|
|
58
|
+
name: string;
|
|
58
59
|
}
|
|
59
60
|
/**
|
|
60
61
|
* Type for a collection of AI tools with preserved schema types
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.12.
|
|
2
|
+
"version": "0.12.16",
|
|
3
3
|
"name": "modality-kit",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"author": "Hill <hill@kimo.com>",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@types/bun": "^1.2.
|
|
14
|
+
"@types/bun": "^1.2.23",
|
|
15
15
|
"typescript": "^5.9.2",
|
|
16
16
|
"zod": "^3.25.76"
|
|
17
17
|
},
|