@vc-shell/framework 1.2.3-beta.0 → 1.2.3-beta.1
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/core/plugins/ai-agent/components/VcAiAgentPanel.vue +2 -2
- package/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue +2 -82
- package/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue +107 -77
- package/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue +72 -0
- package/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue +136 -0
- package/core/plugins/ai-agent/composables/useAiAgentContext.ts +8 -3
- package/core/plugins/ai-agent/constants.ts +89 -89
- package/core/plugins/ai-agent/services/ai-agent-service.ts +23 -0
- package/core/plugins/ai-agent/types.ts +1 -1
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue.d.ts +7 -0
- package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue.d.ts.map +1 -0
- package/dist/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue.d.ts +15 -0
- package/dist/core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue.d.ts.map +1 -0
- package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts +3 -3
- package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/types.d.ts +1 -1
- package/dist/framework.js +3466 -3407
- package/dist/index.css +1 -1
- package/dist/locales/de.json +3 -0
- package/dist/locales/en.json +3 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import type { IAiAgentConfig, ISuggestion } from "./types";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Default configuration for AI agent panel
|
|
5
|
-
*/
|
|
6
|
-
export const DEFAULT_AI_AGENT_CONFIG: IAiAgentConfig = {
|
|
7
|
-
url: "",
|
|
8
|
-
title: "Virto OZ",
|
|
9
|
-
width:
|
|
10
|
-
expandedWidth: 500,
|
|
11
|
-
allowedOrigins: ["*"],
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Environment variable name for AI agent URL
|
|
16
|
-
*/
|
|
17
|
-
export const AI_AGENT_URL_ENV_KEY = "APP_AI_AGENT_URL";
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Message types for Shell -> Chat communication
|
|
21
|
-
*/
|
|
22
|
-
export const SHELL_TO_CHAT_MESSAGE_TYPES = {
|
|
23
|
-
INIT_CONTEXT: "INIT_CONTEXT",
|
|
24
|
-
UPDATE_CONTEXT: "UPDATE_CONTEXT",
|
|
25
|
-
} as const;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Message types for Chat -> Shell communication
|
|
29
|
-
*/
|
|
30
|
-
export const CHAT_TO_SHELL_MESSAGE_TYPES = {
|
|
31
|
-
CHAT_READY: "CHAT_READY",
|
|
32
|
-
NAVIGATE_TO_APP: "NAVIGATE_TO_APP",
|
|
33
|
-
EXPAND_IN_CHAT: "EXPAND_IN_CHAT",
|
|
34
|
-
RELOAD_BLADE: "RELOAD_BLADE",
|
|
35
|
-
PREVIEW_CHANGES: "PREVIEW_CHANGES",
|
|
36
|
-
APPLY_CHANGES: "APPLY_CHANGES",
|
|
37
|
-
DOWNLOAD_FILE: "DOWNLOAD_FILE",
|
|
38
|
-
SHOW_MORE: "SHOW_MORE",
|
|
39
|
-
CHAT_ERROR: "CHAT_ERROR",
|
|
40
|
-
} as const;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Default suggestions when no custom suggestions provided
|
|
44
|
-
*/
|
|
45
|
-
export const DEFAULT_SUGGESTIONS: ISuggestion[] = [
|
|
46
|
-
{
|
|
47
|
-
id: "generate-report",
|
|
48
|
-
title: "Generate a report",
|
|
49
|
-
icon: "analytics-01",
|
|
50
|
-
iconColor: "#57AB79",
|
|
51
|
-
prompt: "Generate a report",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
id: "find-sales",
|
|
55
|
-
title: "Find sales statistics",
|
|
56
|
-
icon: "progress-02",
|
|
57
|
-
iconColor: "#FFBA35",
|
|
58
|
-
prompt: "Find sales statistics",
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
id: "translate",
|
|
62
|
-
title: "Translate description",
|
|
63
|
-
icon: "translation",
|
|
64
|
-
iconColor: "#FF4A4A",
|
|
65
|
-
prompt: "Translate description",
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
id: "top-sales",
|
|
69
|
-
title: "Find top sales report",
|
|
70
|
-
icon: "analytics-up",
|
|
71
|
-
iconColor: "#319ED4",
|
|
72
|
-
prompt: "Find top sales report",
|
|
73
|
-
},
|
|
74
|
-
];
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Default toolbar button ID for AI agent
|
|
78
|
-
*/
|
|
79
|
-
export const AI_AGENT_TOOLBAR_BUTTON_ID = "ai-agent-toggle";
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Default toolbar button icon
|
|
83
|
-
*/
|
|
84
|
-
export const AI_AGENT_TOOLBAR_BUTTON_ICON = "lucide-sparkles";
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Default toolbar button title
|
|
88
|
-
*/
|
|
89
|
-
export const AI_AGENT_TOOLBAR_BUTTON_TITLE = "AI Assistant";
|
|
1
|
+
import type { IAiAgentConfig, ISuggestion } from "./types";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Default configuration for AI agent panel
|
|
5
|
+
*/
|
|
6
|
+
export const DEFAULT_AI_AGENT_CONFIG: IAiAgentConfig = {
|
|
7
|
+
url: "",
|
|
8
|
+
title: "Virto OZ",
|
|
9
|
+
width: 362,
|
|
10
|
+
expandedWidth: 500,
|
|
11
|
+
allowedOrigins: ["*"],
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Environment variable name for AI agent URL
|
|
16
|
+
*/
|
|
17
|
+
export const AI_AGENT_URL_ENV_KEY = "APP_AI_AGENT_URL";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Message types for Shell -> Chat communication
|
|
21
|
+
*/
|
|
22
|
+
export const SHELL_TO_CHAT_MESSAGE_TYPES = {
|
|
23
|
+
INIT_CONTEXT: "INIT_CONTEXT",
|
|
24
|
+
UPDATE_CONTEXT: "UPDATE_CONTEXT",
|
|
25
|
+
} as const;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Message types for Chat -> Shell communication
|
|
29
|
+
*/
|
|
30
|
+
export const CHAT_TO_SHELL_MESSAGE_TYPES = {
|
|
31
|
+
CHAT_READY: "CHAT_READY",
|
|
32
|
+
NAVIGATE_TO_APP: "NAVIGATE_TO_APP",
|
|
33
|
+
EXPAND_IN_CHAT: "EXPAND_IN_CHAT",
|
|
34
|
+
RELOAD_BLADE: "RELOAD_BLADE",
|
|
35
|
+
PREVIEW_CHANGES: "PREVIEW_CHANGES",
|
|
36
|
+
APPLY_CHANGES: "APPLY_CHANGES",
|
|
37
|
+
DOWNLOAD_FILE: "DOWNLOAD_FILE",
|
|
38
|
+
SHOW_MORE: "SHOW_MORE",
|
|
39
|
+
CHAT_ERROR: "CHAT_ERROR",
|
|
40
|
+
} as const;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Default suggestions when no custom suggestions provided
|
|
44
|
+
*/
|
|
45
|
+
export const DEFAULT_SUGGESTIONS: ISuggestion[] = [
|
|
46
|
+
{
|
|
47
|
+
id: "generate-report",
|
|
48
|
+
title: "Generate a report",
|
|
49
|
+
icon: "analytics-01",
|
|
50
|
+
iconColor: "#57AB79",
|
|
51
|
+
prompt: "Generate a report",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: "find-sales",
|
|
55
|
+
title: "Find sales statistics",
|
|
56
|
+
icon: "progress-02",
|
|
57
|
+
iconColor: "#FFBA35",
|
|
58
|
+
prompt: "Find sales statistics",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: "translate",
|
|
62
|
+
title: "Translate description",
|
|
63
|
+
icon: "translation",
|
|
64
|
+
iconColor: "#FF4A4A",
|
|
65
|
+
prompt: "Translate description",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: "top-sales",
|
|
69
|
+
title: "Find top sales report",
|
|
70
|
+
icon: "analytics-up",
|
|
71
|
+
iconColor: "#319ED4",
|
|
72
|
+
prompt: "Find top sales report",
|
|
73
|
+
},
|
|
74
|
+
];
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Default toolbar button ID for AI agent
|
|
78
|
+
*/
|
|
79
|
+
export const AI_AGENT_TOOLBAR_BUTTON_ID = "ai-agent-toggle";
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Default toolbar button icon
|
|
83
|
+
*/
|
|
84
|
+
export const AI_AGENT_TOOLBAR_BUTTON_ICON = "lucide-sparkles";
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Default toolbar button title
|
|
88
|
+
*/
|
|
89
|
+
export const AI_AGENT_TOOLBAR_BUTTON_TITLE = "AI Assistant";
|
|
@@ -319,6 +319,7 @@ export function createAiAgentService(options: CreateAiAgentServiceOptions): IAiA
|
|
|
319
319
|
// Reset initialized state since iframe will be destroyed (v-if in panel component)
|
|
320
320
|
// Next time panel opens, iframe will send CHAT_READY and we'll send INIT_CONTEXT again
|
|
321
321
|
isInitialized.value = false;
|
|
322
|
+
pendingInitContext.value = false;
|
|
322
323
|
logger.debug("Panel closed, reset initialized state");
|
|
323
324
|
};
|
|
324
325
|
|
|
@@ -399,6 +400,16 @@ export function createAiAgentService(options: CreateAiAgentServiceOptions): IAiA
|
|
|
399
400
|
const _setIframeRef = (iframe: HTMLIFrameElement | null): void => {
|
|
400
401
|
iframeRef.value = iframe;
|
|
401
402
|
logger.debug("Iframe ref set:", iframe ? "available" : "null");
|
|
403
|
+
|
|
404
|
+
// Immediately check for pending context (in case watch doesn't fire)
|
|
405
|
+
if (iframe?.contentWindow && pendingInitContext.value) {
|
|
406
|
+
logger.debug("Iframe ref set with pending context - sending INIT_CONTEXT immediately");
|
|
407
|
+
pendingInitContext.value = false;
|
|
408
|
+
isInitialized.value = true;
|
|
409
|
+
buildInitContextPayload().then((payload) => {
|
|
410
|
+
sendRawMessage({ type: "INIT_CONTEXT", payload });
|
|
411
|
+
});
|
|
412
|
+
}
|
|
402
413
|
};
|
|
403
414
|
|
|
404
415
|
/**
|
|
@@ -478,6 +489,18 @@ export function createAiAgentService(options: CreateAiAgentServiceOptions): IAiA
|
|
|
478
489
|
} else {
|
|
479
490
|
pendingInitContext.value = true;
|
|
480
491
|
logger.info("Chatbot ready, but iframe ref not available yet - pending INIT_CONTEXT");
|
|
492
|
+
|
|
493
|
+
// Fallback: retry after short delay in case iframeRef was set but watch didn't fire
|
|
494
|
+
setTimeout(() => {
|
|
495
|
+
if (pendingInitContext.value && iframeRef.value?.contentWindow) {
|
|
496
|
+
logger.debug("Fallback: sending pending INIT_CONTEXT after timeout");
|
|
497
|
+
pendingInitContext.value = false;
|
|
498
|
+
isInitialized.value = true;
|
|
499
|
+
buildInitContextPayload().then((payload) => {
|
|
500
|
+
sendRawMessage({ type: "INIT_CONTEXT", payload });
|
|
501
|
+
});
|
|
502
|
+
}
|
|
503
|
+
}, 100);
|
|
481
504
|
}
|
|
482
505
|
break;
|
|
483
506
|
|
|
@@ -74,7 +74,7 @@ export interface IAiAgentConfig {
|
|
|
74
74
|
url: string;
|
|
75
75
|
/** Panel title (default: "Virto OZ") */
|
|
76
76
|
title?: string;
|
|
77
|
-
/** Panel width in pixels when open (default:
|
|
77
|
+
/** Panel width in pixels when open (default: 362) */
|
|
78
78
|
width?: number;
|
|
79
79
|
/** Panel width in pixels when expanded (default: 500) */
|
|
80
80
|
expandedWidth?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VcAiAgentHeader.vue.d.ts","sourceRoot":"","sources":["../../../../../../core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VcAiAgentHeader.vue.d.ts","sourceRoot":"","sources":["../../../../../../core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue"],"names":[],"mappings":"AA2GA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;;;;;;;;;;AAwIF,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VcAiAgentIframe.vue.d.ts","sourceRoot":"","sources":["../../../../../../core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VcAiAgentIframe.vue.d.ts","sourceRoot":"","sources":["../../../../../../core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue"],"names":[],"mappings":"AAiHA,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;;;;;;AAuIF,wBAOG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/** Loading text to display */
|
|
3
|
+
text?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=VcAiAgentLoader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VcAiAgentLoader.vue.d.ts","sourceRoot":"","sources":["../../../../../../core/plugins/ai-agent/components/_internal/VcAiAgentLoader.vue"],"names":[],"mappings":"AA4EA,MAAM,WAAW,KAAK;IACpB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;;AAkED,wBAMG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/** Width in pixels */
|
|
3
|
+
width?: number;
|
|
4
|
+
/** Height in pixels */
|
|
5
|
+
height?: number;
|
|
6
|
+
/** Enable animated gradient */
|
|
7
|
+
animated?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
animated: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=VcVirtoOzLogo.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VcVirtoOzLogo.vue.d.ts","sourceRoot":"","sources":["../../../../../../core/plugins/ai-agent/components/_internal/VcVirtoOzLogo.vue"],"names":[],"mappings":"AA4IA,MAAM,WAAW,KAAK;IACpB,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;WALS,MAAM;YAEL,MAAM;cAEJ,OAAO;;AAqLpB,wBAOG"}
|
|
@@ -42,9 +42,9 @@ import type { UseAiAgentContextOptions, UseAiAgentContextReturn } from "../types
|
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
44
|
export declare function useAiAgentContext<T extends {
|
|
45
|
-
id: string;
|
|
46
|
-
objectType: string;
|
|
47
|
-
name
|
|
45
|
+
id: string | undefined;
|
|
46
|
+
objectType: string | undefined;
|
|
47
|
+
name?: string | undefined;
|
|
48
48
|
[key: string]: unknown;
|
|
49
49
|
}>(options: UseAiAgentContextOptions<T>): UseAiAgentContextReturn;
|
|
50
50
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAiAgentContext.d.ts","sourceRoot":"","sources":["../../../../../core/plugins/ai-agent/composables/useAiAgentContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,wBAAwB,EACxB,uBAAuB,EAGxB,MAAM,UAAU,CAAC;AAgFlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"useAiAgentContext.d.ts","sourceRoot":"","sources":["../../../../../core/plugins/ai-agent/composables/useAiAgentContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,wBAAwB,EACxB,uBAAuB,EAGxB,MAAM,UAAU,CAAC;AAgFlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,iBAAiB,CAC/B,CAAC,SAAS;IACR,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,EACD,OAAO,EAAE,wBAAwB,CAAC,CAAC,CAAC,GAAG,uBAAuB,CAuI/D;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,uBAAuB,CAAC,cAAc,CAAC,GAAG,IAAI,CAI7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-agent-service.d.ts","sourceRoot":"","sources":["../../../../../core/plugins/ai-agent/services/ai-agent-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,UAAU,EAAE,MAAM,KAAK,CAAC;AAGxE,OAAO,EACL,eAAe,EACf,cAAc,EAKd,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EAOnB,sBAAsB,EAEtB,WAAW,EACZ,MAAM,UAAU,CAAC;AAKlB;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,+CAA+C;IAC/C,UAAU,EAAE,MAAM,mBAAmB,GAAG,SAAS,CAAC;IAClD,4CAA4C;IAC5C,WAAW,EAAE,MAAM,oBAAoB,GAAG,IAAI,CAAC;IAC/C,kCAAkC;IAClC,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3C,oCAAoC;IACpC,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACjG,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,4BAA4B;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,eAAe;IAC9D,yDAAyD;IACzD,SAAS,EAAE,UAAU,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAChD,qDAAqD;IACrD,aAAa,EAAE,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1D,+DAA+D;IAC/D,sBAAsB,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IACtD,6CAA6C;IAC7C,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,4CAA4C;IAC5C,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,oEAAoE;IACpE,eAAe,EAAE,CACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAChC,IAAI,EAAE,kBAAkB,EACxB,WAAW,CAAC,EAAE,WAAW,EAAE,EAC3B,OAAO,CAAC,EAAE,MAAM,KACb,IAAI,CAAC;IACV,uCAAuC;IACvC,iBAAiB,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,KAAK,MAAM,IAAI,CAAC;CACvF;AAsED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,2BAA2B,GAAG,uBAAuB,
|
|
1
|
+
{"version":3,"file":"ai-agent-service.d.ts","sourceRoot":"","sources":["../../../../../core/plugins/ai-agent/services/ai-agent-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,UAAU,EAAE,MAAM,KAAK,CAAC;AAGxE,OAAO,EACL,eAAe,EACf,cAAc,EAKd,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EAOnB,sBAAsB,EAEtB,WAAW,EACZ,MAAM,UAAU,CAAC;AAKlB;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,+CAA+C;IAC/C,UAAU,EAAE,MAAM,mBAAmB,GAAG,SAAS,CAAC;IAClD,4CAA4C;IAC5C,WAAW,EAAE,MAAM,oBAAoB,GAAG,IAAI,CAAC;IAC/C,kCAAkC;IAClC,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3C,oCAAoC;IACpC,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACjG,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,4BAA4B;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,eAAe;IAC9D,yDAAyD;IACzD,SAAS,EAAE,UAAU,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAChD,qDAAqD;IACrD,aAAa,EAAE,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1D,+DAA+D;IAC/D,sBAAsB,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IACtD,6CAA6C;IAC7C,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,4CAA4C;IAC5C,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,oEAAoE;IACpE,eAAe,EAAE,CACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAChC,IAAI,EAAE,kBAAkB,EACxB,WAAW,CAAC,EAAE,WAAW,EAAE,EAC3B,OAAO,CAAC,EAAE,MAAM,KACb,IAAI,CAAC;IACV,uCAAuC;IACvC,iBAAiB,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,KAAK,MAAM,IAAI,CAAC;CACvF;AAsED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,2BAA2B,GAAG,uBAAuB,CA6dlG"}
|
|
@@ -59,7 +59,7 @@ export interface IAiAgentConfig {
|
|
|
59
59
|
url: string;
|
|
60
60
|
/** Panel title (default: "Virto OZ") */
|
|
61
61
|
title?: string;
|
|
62
|
-
/** Panel width in pixels when open (default:
|
|
62
|
+
/** Panel width in pixels when open (default: 362) */
|
|
63
63
|
width?: number;
|
|
64
64
|
/** Panel width in pixels when expanded (default: 500) */
|
|
65
65
|
expandedWidth?: number;
|