@foisit/vue-wrapper 2.4.2 → 2.4.5

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.
@@ -30,6 +30,16 @@ export declare class AssistantService {
30
30
  destroy(): void;
31
31
  /** Unified response processing */
32
32
  private processResponse;
33
+ /** Expose programmatic command handler registration to host apps */
34
+ registerCommandHandler(commandId: string, handler: (params?: any) => Promise<any> | any): void;
35
+ unregisterCommandHandler(commandId: string): void;
36
+ /** Programmatically run a registered command (proxies to OverlayManager) */
37
+ runCommand(options: {
38
+ commandId: string;
39
+ params?: any;
40
+ openOverlay?: boolean;
41
+ showInvocation?: boolean;
42
+ }): Promise<any>;
33
43
  /** Add a command dynamically (supports string or rich object) */
34
44
  addCommand(commandOrObj: string | AssistantCommand, action?: (params?: any) => Promise<string | InteractiveResponse | void> | void): void;
35
45
  /** Remove a command dynamically */
package/package.json CHANGED
@@ -1,25 +1,42 @@
1
1
  {
2
2
  "name": "@foisit/vue-wrapper",
3
- "version": "2.4.2",
4
- "main": "./index.js",
3
+ "version": "2.4.5",
4
+ "main": "./index.mjs",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
7
7
  ".": {
8
8
  "import": "./index.mjs",
9
- "require": "./index.js",
10
9
  "types": "./index.d.ts"
11
10
  }
12
11
  },
13
12
  "files": [
14
- "index.js",
15
13
  "index.mjs",
16
14
  "index.d.ts",
17
15
  "lib",
18
- "style.css",
19
16
  "README.md"
20
17
  ],
21
18
  "sideEffects": false,
22
- "description": "Foisit: Speak, and its done. A voice assistant library for vue apps",
19
+ "description": "A powerful AI assistant library for Vue applications, providing seamless chatbot functionality and intelligent interactions for websites.",
20
+ "keywords": [
21
+ "ai-assistant",
22
+ "chatbot",
23
+ "vue",
24
+ "ai",
25
+ "assistant",
26
+ "accessibility",
27
+ "website-integration"
28
+ ],
29
+ "homepage": "https://foisit-vue-demo.netlify.app/",
30
+ "funding": {
31
+ "type": "github",
32
+ "url": "https://github.com/sponsors/boluwatifee4"
33
+ },
34
+ "engines": {
35
+ "node": ">=18.0.0"
36
+ },
37
+ "bugs": {
38
+ "url": "https://github.com/boluwatifee4/foisit/issues"
39
+ },
23
40
  "repository": {
24
41
  "type": "git",
25
42
  "url": "git+https://github.com/boluwatifee4/foisit.git"