@feedmepos/mf-remy-panel 0.3.6 → 0.3.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.
- package/dist/{HomeView-736b3406.js → HomeView-be9b1a7e.js} +1 -1
- package/dist/{RemyButton-df37f6da.js → RemyButton-1196f1df.js} +1 -1
- package/dist/app-e8ae8a45.js +24104 -0
- package/dist/app.js +1 -1
- package/dist/components/chatPanel/ChartCard.vue.d.ts +15 -0
- package/dist/components/chatPanel/ReportCard.vue.d.ts +15 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/chat.d.ts +38 -0
- package/package.json +3 -1
- package/dist/app-de692985.js +0 -15092
package/dist/types/chat.d.ts
CHANGED
|
@@ -5,6 +5,44 @@ export interface ToolCall {
|
|
|
5
5
|
state?: string;
|
|
6
6
|
result?: any;
|
|
7
7
|
}
|
|
8
|
+
export interface ChartAxis {
|
|
9
|
+
key: 'primary' | 'secondary';
|
|
10
|
+
label: string;
|
|
11
|
+
valueFormat: 'number' | 'currency';
|
|
12
|
+
}
|
|
13
|
+
export interface ChartDataset {
|
|
14
|
+
/** Series label shown in the chart legend */
|
|
15
|
+
label: string;
|
|
16
|
+
/** Numeric values — same length as ChartActionCardResult.labels */
|
|
17
|
+
data: number[];
|
|
18
|
+
axisKey?: 'primary' | 'secondary';
|
|
19
|
+
valueFormat?: 'number' | 'currency';
|
|
20
|
+
}
|
|
21
|
+
export interface ChartActionCardResult {
|
|
22
|
+
type: 'chart';
|
|
23
|
+
chartType: 'line' | 'bar' | 'pie';
|
|
24
|
+
title: string;
|
|
25
|
+
labels: string[];
|
|
26
|
+
displayLabels?: string[];
|
|
27
|
+
indexAxis?: 'x' | 'y';
|
|
28
|
+
datasets: ChartDataset[];
|
|
29
|
+
axes?: ChartAxis[];
|
|
30
|
+
summary: string;
|
|
31
|
+
}
|
|
32
|
+
export interface ReportTaskPart {
|
|
33
|
+
type: string;
|
|
34
|
+
toolCallId?: string;
|
|
35
|
+
state?: string;
|
|
36
|
+
input?: any;
|
|
37
|
+
output?: any;
|
|
38
|
+
text?: string;
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}
|
|
41
|
+
export interface ReportTaskOutput {
|
|
42
|
+
id: string;
|
|
43
|
+
role: string;
|
|
44
|
+
parts: ReportTaskPart[];
|
|
45
|
+
}
|
|
8
46
|
export type ChatCommand = 'suggestPrice' | 'suggestDescription' | 'modifyImage' | 'askReport';
|
|
9
47
|
export interface ChatMessage {
|
|
10
48
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-remy-panel",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -19,11 +19,13 @@
|
|
|
19
19
|
"@feedmepos/ui-library": "^1.3.0-beta.1",
|
|
20
20
|
"ai": "^6.0.101",
|
|
21
21
|
"axios": "^1.13.2",
|
|
22
|
+
"chart.js": "^4.5.1",
|
|
22
23
|
"dompurify": "^3.0.8",
|
|
23
24
|
"highlight.js": "^11.9.0",
|
|
24
25
|
"markdown-it": "^14.1.0",
|
|
25
26
|
"pinia": "^2.1.7",
|
|
26
27
|
"vue": "^3.3.8",
|
|
28
|
+
"vue-chartjs": "^5.3.3",
|
|
27
29
|
"vue-router": "^4.2.5"
|
|
28
30
|
},
|
|
29
31
|
"devDependencies": {
|