@tellyouai/plugin 0.1.1 → 0.1.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/README.md +1 -1
- package/dist/package/index.js +10821 -9488
- package/dist/package/public.d.ts +4 -3
- package/package.json +1 -1
package/dist/package/public.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export type ClientTool = {
|
|
|
19
19
|
type: string;
|
|
20
20
|
description: string;
|
|
21
21
|
}[];
|
|
22
|
-
execute: (params: Record<string,
|
|
22
|
+
execute: (params: Record<string, unknown>) => unknown | Promise<unknown>;
|
|
23
23
|
};
|
|
24
24
|
export type McpServer = {
|
|
25
25
|
headers?: Record<string, string>;
|
|
@@ -105,6 +105,7 @@ export type InstanceConfig = {
|
|
|
105
105
|
textChatId?: string;
|
|
106
106
|
};
|
|
107
107
|
user?: {
|
|
108
|
+
id?: string;
|
|
108
109
|
entityId?: string;
|
|
109
110
|
name: string;
|
|
110
111
|
email?: string;
|
|
@@ -125,8 +126,8 @@ export type InstanceConfig = {
|
|
|
125
126
|
currency?: string;
|
|
126
127
|
};
|
|
127
128
|
context?: {
|
|
128
|
-
pageName
|
|
129
|
-
[key: string]:
|
|
129
|
+
pageName?: string;
|
|
130
|
+
[key: string]: unknown;
|
|
130
131
|
};
|
|
131
132
|
clientTools?: Record<string, ClientTool>;
|
|
132
133
|
servers?: Record<string, McpServer>;
|