@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.
@@ -19,7 +19,7 @@ export type ClientTool = {
19
19
  type: string;
20
20
  description: string;
21
21
  }[];
22
- execute: (params: Record<string, any>) => Promise<any> | void;
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: string;
129
- [key: string]: any;
129
+ pageName?: string;
130
+ [key: string]: unknown;
130
131
  };
131
132
  clientTools?: Record<string, ClientTool>;
132
133
  servers?: Record<string, McpServer>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tellyouai/plugin",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Framework-agnostic browser SDK for the Tellyou AI plugin",
5
5
  "repository": {
6
6
  "type": "git",