@tellyouai/plugin 0.1.6 → 0.1.8

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.
@@ -14,11 +14,7 @@ export type ConsentState = {
14
14
  };
15
15
  export type ClientTool = {
16
16
  description: string;
17
- parameters: {
18
- name: string;
19
- type: string;
20
- description: string;
21
- }[];
17
+ inputSchema: Record<string, unknown>;
22
18
  execute: (params: Record<string, unknown>) => unknown | Promise<unknown>;
23
19
  };
24
20
  export type McpServer = {
@@ -97,6 +93,18 @@ export type InstanceOptions = {
97
93
  export type InstanceConfig = {
98
94
  target?: string;
99
95
  displayMode?: DisplayMode;
96
+ position?: {
97
+ x?: "left" | "center" | "right";
98
+ y?: "top" | "center" | "bottom";
99
+ z?: number;
100
+ };
101
+ style?: {
102
+ top?: string;
103
+ right?: string;
104
+ bottom?: string;
105
+ left?: string;
106
+ zIndex?: number;
107
+ };
100
108
  isOpen?: boolean;
101
109
  options?: InstanceOptions;
102
110
  isMaximized?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tellyouai/plugin",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Framework-agnostic browser SDK for the Tellyou AI plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,6 +30,7 @@
30
30
  "prepack": "npm run build && npm run build:package",
31
31
  "pack:check": "npm pack --dry-run",
32
32
  "test:package": "node scripts/package-smoke.mjs",
33
+ "test:webmcp": "node --test scripts/webmcp.test.mjs",
33
34
  "lint": "eslint .",
34
35
  "preview": "vite preview"
35
36
  },