@next-bricks/ai-portal 0.65.2 → 0.65.4

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.
Files changed (67) hide show
  1. package/dist/bricks.json +48 -49
  2. package/dist/chunks/1999.f9846bc3.js +2 -0
  3. package/dist/chunks/1999.f9846bc3.js.map +1 -0
  4. package/dist/chunks/{2742.f24782f8.js → 2742.64fa013f.js} +2 -2
  5. package/dist/chunks/{2742.f24782f8.js.map → 2742.64fa013f.js.map} +1 -1
  6. package/dist/chunks/3186.f231329a.js +2 -0
  7. package/dist/chunks/3186.f231329a.js.map +1 -0
  8. package/dist/chunks/4208.a1a0dfdd.js +2 -0
  9. package/dist/chunks/4208.a1a0dfdd.js.map +1 -0
  10. package/dist/chunks/4864.a9badd21.js +2 -0
  11. package/dist/chunks/4864.a9badd21.js.map +1 -0
  12. package/dist/chunks/5452.bb5140b0.js +2 -0
  13. package/dist/chunks/5452.bb5140b0.js.map +1 -0
  14. package/dist/chunks/{6450.ade6ef3e.js → 6450.9e9165f9.js} +2 -2
  15. package/dist/chunks/{6450.ade6ef3e.js.map → 6450.9e9165f9.js.map} +1 -1
  16. package/dist/chunks/{9515.468a8527.js → 9515.b58eb80e.js} +2 -2
  17. package/dist/chunks/9515.b58eb80e.js.map +1 -0
  18. package/dist/chunks/{9525.9e5140be.js → 9525.a53ee2a7.js} +3 -3
  19. package/dist/chunks/{9525.9e5140be.js.map → 9525.a53ee2a7.js.map} +1 -1
  20. package/dist/chunks/chat-panel.3b7afbd5.js +2 -0
  21. package/dist/chunks/chat-panel.3b7afbd5.js.map +1 -0
  22. package/dist/chunks/{chat-stream.90aa7647.js → chat-stream.393c8241.js} +2 -2
  23. package/dist/chunks/{chat-stream.90aa7647.js.map → chat-stream.393c8241.js.map} +1 -1
  24. package/dist/chunks/{main.51248f49.js → main.ccf4635e.js} +2 -2
  25. package/dist/chunks/{main.51248f49.js.map → main.ccf4635e.js.map} +1 -1
  26. package/dist/chunks/running-flow.37a428cf.js +3 -0
  27. package/dist/chunks/running-flow.37a428cf.js.map +1 -0
  28. package/dist/examples.json +18 -18
  29. package/dist/{index.16143768.js → index.b10ed910.js} +2 -2
  30. package/dist/{index.16143768.js.map → index.b10ed910.js.map} +1 -1
  31. package/dist/manifest.json +239 -243
  32. package/dist/types.json +1406 -1431
  33. package/dist-types/chat-stream/Aside/TaskApp/TaskApp.d.ts +6 -0
  34. package/dist-types/chat-stream/StreamContext.d.ts +1 -0
  35. package/dist-types/chat-stream/interfaces.d.ts +6 -1
  36. package/dist-types/chat-stream/useConversationStream.d.ts +10 -2
  37. package/dist-types/running-flow/index.d.ts +2 -4
  38. package/dist-types/shared/ActivityPlan/PlanStateIcon.d.ts +7 -0
  39. package/dist-types/shared/ActivityPlan/i18n.d.ts +2 -1
  40. package/dist-types/shared/AskUser/AskUser.d.ts +8 -0
  41. package/dist-types/shared/AskUser/i18n.d.ts +15 -0
  42. package/dist-types/shared/AskUserTag/AskUserTag.d.ts +7 -0
  43. package/dist-types/shared/ChatBox/ChatBox.d.ts +3 -1
  44. package/dist-types/shared/TaskContext.d.ts +2 -0
  45. package/dist-types/shared/bricks.d.ts +0 -2
  46. package/dist-types/shared/getFlatChunks.d.ts +19 -2
  47. package/dist-types/shared/interfaces.d.ts +7 -2
  48. package/dist-types/shared/useFulfilledActiveDetail.d.ts +2 -2
  49. package/package.json +2 -2
  50. package/dist/chunks/3186.5c0ff6ad.js +0 -2
  51. package/dist/chunks/3186.5c0ff6ad.js.map +0 -1
  52. package/dist/chunks/4208.7ad3b395.js +0 -2
  53. package/dist/chunks/4208.7ad3b395.js.map +0 -1
  54. package/dist/chunks/5452.a5594a29.js +0 -2
  55. package/dist/chunks/5452.a5594a29.js.map +0 -1
  56. package/dist/chunks/7139.b585e5ea.js +0 -2
  57. package/dist/chunks/7139.b585e5ea.js.map +0 -1
  58. package/dist/chunks/7159.bd59ed3e.js +0 -2
  59. package/dist/chunks/7159.bd59ed3e.js.map +0 -1
  60. package/dist/chunks/9515.468a8527.js.map +0 -1
  61. package/dist/chunks/chat-panel.bbb24c5a.js +0 -2
  62. package/dist/chunks/chat-panel.bbb24c5a.js.map +0 -1
  63. package/dist/chunks/running-flow.4b117f11.js +0 -3
  64. package/dist/chunks/running-flow.4b117f11.js.map +0 -1
  65. package/dist-types/shared/ActivityPlan/getStateIcon.d.ts +0 -6
  66. /package/dist/chunks/{9525.9e5140be.js.LICENSE.txt → 9525.a53ee2a7.js.LICENSE.txt} +0 -0
  67. /package/dist/chunks/{running-flow.4b117f11.js.LICENSE.txt → running-flow.37a428cf.js.LICENSE.txt} +0 -0
@@ -73,121 +73,6 @@
73
73
  "parts": [],
74
74
  "description": "大型聊天输入框,用于首页"
75
75
  },
76
- {
77
- "name": "ai-portal.stat-with-mini-chart",
78
- "properties": [
79
- {
80
- "name": "label",
81
- "type": "string"
82
- },
83
- {
84
- "name": "value",
85
- "type": "string"
86
- },
87
- {
88
- "name": "size",
89
- "description": "",
90
- "default": "\"medium\"",
91
- "type": "\"medium\" | \"small\""
92
- },
93
- {
94
- "name": "lineColor",
95
- "description": "",
96
- "default": "\"var(--color-brand)\"",
97
- "type": "string"
98
- },
99
- {
100
- "name": "showArea",
101
- "type": "boolean"
102
- },
103
- {
104
- "name": "min",
105
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
106
- "type": "number"
107
- },
108
- {
109
- "name": "max",
110
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
111
- "type": "number"
112
- },
113
- {
114
- "name": "xField",
115
- "description": "",
116
- "default": "\"0\"",
117
- "type": "string"
118
- },
119
- {
120
- "name": "yField",
121
- "description": "",
122
- "default": "\"1\"",
123
- "type": "string"
124
- },
125
- {
126
- "name": "data",
127
- "attribute": false,
128
- "type": "Record<string, number>[]"
129
- }
130
- ],
131
- "events": [],
132
- "slots": [],
133
- "methods": [],
134
- "parts": [],
135
- "description": "构件 `ai-portal.stat-with-mini-chart`"
136
- },
137
- {
138
- "name": "ai-portal.home-container",
139
- "properties": [
140
- {
141
- "name": "sticky",
142
- "type": "boolean"
143
- }
144
- ],
145
- "events": [],
146
- "slots": [],
147
- "methods": [],
148
- "parts": [],
149
- "description": "构件 `ai-portal.home-container`"
150
- },
151
- {
152
- "name": "ai-portal.icon-button",
153
- "properties": [
154
- {
155
- "name": "icon",
156
- "attribute": false,
157
- "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
158
- },
159
- {
160
- "name": "tooltip",
161
- "type": "string"
162
- },
163
- {
164
- "name": "tooltipHoist",
165
- "type": "boolean"
166
- },
167
- {
168
- "name": "active",
169
- "type": "boolean"
170
- },
171
- {
172
- "name": "disabled",
173
- "type": "boolean"
174
- },
175
- {
176
- "name": "variant",
177
- "type": "IconButtonVariant"
178
- },
179
- {
180
- "name": "reduceIconSize",
181
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
182
- "type": "boolean"
183
- }
184
- ],
185
- "events": [],
186
- "slots": [],
187
- "methods": [],
188
- "parts": [],
189
- "description": "构件 `ai-portal.icon-button`"
190
- },
191
76
  {
192
77
  "name": "ai-portal.cruise-canvas",
193
78
  "properties": [
@@ -353,23 +238,79 @@
353
238
  "description": "构件 `ai-portal.cruise-canvas`"
354
239
  },
355
240
  {
356
- "name": "ai-portal.show-cases",
241
+ "name": "ai-portal.stat-with-mini-chart",
357
242
  "properties": [
358
243
  {
359
- "name": "list",
360
- "attribute": false,
361
- "type": "ShowCaseType[]"
244
+ "name": "label",
245
+ "type": "string"
362
246
  },
363
247
  {
364
- "name": "limit",
248
+ "name": "value",
249
+ "type": "string"
250
+ },
251
+ {
252
+ "name": "size",
253
+ "description": "",
254
+ "default": "\"medium\"",
255
+ "type": "\"medium\" | \"small\""
256
+ },
257
+ {
258
+ "name": "lineColor",
259
+ "description": "",
260
+ "default": "\"var(--color-brand)\"",
261
+ "type": "string"
262
+ },
263
+ {
264
+ "name": "showArea",
265
+ "type": "boolean"
266
+ },
267
+ {
268
+ "name": "min",
269
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
270
+ "type": "number"
271
+ },
272
+ {
273
+ "name": "max",
274
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
365
275
  "type": "number"
276
+ },
277
+ {
278
+ "name": "xField",
279
+ "description": "",
280
+ "default": "\"0\"",
281
+ "type": "string"
282
+ },
283
+ {
284
+ "name": "yField",
285
+ "description": "",
286
+ "default": "\"1\"",
287
+ "type": "string"
288
+ },
289
+ {
290
+ "name": "data",
291
+ "attribute": false,
292
+ "type": "Record<string, number>[]"
366
293
  }
367
294
  ],
368
295
  "events": [],
369
296
  "slots": [],
370
297
  "methods": [],
371
298
  "parts": [],
372
- "description": "构件 `ai-portal.show-cases`"
299
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
300
+ },
301
+ {
302
+ "name": "ai-portal.home-container",
303
+ "properties": [
304
+ {
305
+ "name": "sticky",
306
+ "type": "boolean"
307
+ }
308
+ ],
309
+ "events": [],
310
+ "slots": [],
311
+ "methods": [],
312
+ "parts": [],
313
+ "description": "构件 `ai-portal.home-container`"
373
314
  },
374
315
  {
375
316
  "name": "ai-portal.elevo-sidebar",
@@ -543,43 +484,55 @@
543
484
  "description": "构件 `ai-portal.elevo-sidebar`"
544
485
  },
545
486
  {
546
- "name": "ai-portal.mcp-tools",
487
+ "name": "ai-portal.icon-button",
547
488
  "properties": [
548
489
  {
549
- "name": "list",
490
+ "name": "icon",
550
491
  "attribute": false,
551
- "type": "McpTool[]"
492
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
552
493
  },
553
494
  {
554
- "name": "stickyTop",
555
- "type": "number"
495
+ "name": "tooltip",
496
+ "type": "string"
497
+ },
498
+ {
499
+ "name": "tooltipHoist",
500
+ "type": "boolean"
501
+ },
502
+ {
503
+ "name": "active",
504
+ "type": "boolean"
505
+ },
506
+ {
507
+ "name": "disabled",
508
+ "type": "boolean"
509
+ },
510
+ {
511
+ "name": "variant",
512
+ "type": "IconButtonVariant"
513
+ },
514
+ {
515
+ "name": "reduceIconSize",
516
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
517
+ "type": "boolean"
556
518
  }
557
519
  ],
558
520
  "events": [],
559
521
  "slots": [],
560
522
  "methods": [],
561
523
  "parts": [],
562
- "description": "构件 `ai-portal.mcp-tools`"
524
+ "description": "构件 `ai-portal.icon-button`"
563
525
  },
564
526
  {
565
- "name": "ai-portal.ai-employees",
527
+ "name": "ai-portal.show-cases",
566
528
  "properties": [
567
529
  {
568
530
  "name": "list",
569
531
  "attribute": false,
570
- "type": "Employee[]"
571
- },
572
- {
573
- "name": "industries",
574
- "attribute": false,
575
- "type": "string[]"
576
- },
577
- {
578
- "name": "urlTemplate",
579
- "type": "string"
532
+ "type": "ShowCaseType[]"
580
533
  },
581
534
  {
582
- "name": "stickyTop",
535
+ "name": "limit",
583
536
  "type": "number"
584
537
  }
585
538
  ],
@@ -587,32 +540,26 @@
587
540
  "slots": [],
588
541
  "methods": [],
589
542
  "parts": [],
590
- "description": "构件 `ai-portal.ai-employees`"
543
+ "description": "构件 `ai-portal.show-cases`"
591
544
  },
592
545
  {
593
- "name": "ai-portal.ai-agents",
546
+ "name": "ai-portal.mcp-tools",
594
547
  "properties": [
595
548
  {
596
549
  "name": "list",
597
550
  "attribute": false,
598
- "type": "Agent[]"
599
- },
600
- {
601
- "name": "urlTemplate",
602
- "type": "string"
551
+ "type": "McpTool[]"
603
552
  },
604
553
  {
605
- "name": "withContainer",
606
- "description": "",
607
- "deprecated": true,
608
- "default": "true"
554
+ "name": "stickyTop",
555
+ "type": "number"
609
556
  }
610
557
  ],
611
558
  "events": [],
612
559
  "slots": [],
613
560
  "methods": [],
614
561
  "parts": [],
615
- "description": "构件 `ai-portal.ai-agents`"
562
+ "description": "构件 `ai-portal.mcp-tools`"
616
563
  },
617
564
  {
618
565
  "name": "ai-portal.chat-stream",
@@ -772,6 +719,59 @@
772
719
  "parts": [],
773
720
  "description": "构件 `ai-portal.chat-stream`"
774
721
  },
722
+ {
723
+ "name": "ai-portal.ai-agents",
724
+ "properties": [
725
+ {
726
+ "name": "list",
727
+ "attribute": false,
728
+ "type": "Agent[]"
729
+ },
730
+ {
731
+ "name": "urlTemplate",
732
+ "type": "string"
733
+ },
734
+ {
735
+ "name": "withContainer",
736
+ "description": "",
737
+ "deprecated": true,
738
+ "default": "true"
739
+ }
740
+ ],
741
+ "events": [],
742
+ "slots": [],
743
+ "methods": [],
744
+ "parts": [],
745
+ "description": "构件 `ai-portal.ai-agents`"
746
+ },
747
+ {
748
+ "name": "ai-portal.ai-employees",
749
+ "properties": [
750
+ {
751
+ "name": "list",
752
+ "attribute": false,
753
+ "type": "Employee[]"
754
+ },
755
+ {
756
+ "name": "industries",
757
+ "attribute": false,
758
+ "type": "string[]"
759
+ },
760
+ {
761
+ "name": "urlTemplate",
762
+ "type": "string"
763
+ },
764
+ {
765
+ "name": "stickyTop",
766
+ "type": "number"
767
+ }
768
+ ],
769
+ "events": [],
770
+ "slots": [],
771
+ "methods": [],
772
+ "parts": [],
773
+ "description": "构件 `ai-portal.ai-employees`"
774
+ },
775
775
  {
776
776
  "name": "ai-portal.page-container",
777
777
  "properties": [
@@ -910,6 +910,51 @@
910
910
  "parts": [],
911
911
  "description": "构件 `ai-portal.dropdown-select`"
912
912
  },
913
+ {
914
+ "name": "ai-portal.preview-container",
915
+ "properties": [
916
+ {
917
+ "name": "source",
918
+ "attribute": false,
919
+ "type": "string"
920
+ },
921
+ {
922
+ "name": "url",
923
+ "type": "string"
924
+ }
925
+ ],
926
+ "events": [],
927
+ "slots": [],
928
+ "methods": [],
929
+ "parts": [],
930
+ "description": "构件 `ai-portal.preview-container`"
931
+ },
932
+ {
933
+ "name": "ai-portal.action-buttons",
934
+ "properties": [
935
+ {
936
+ "name": "items",
937
+ "attribute": false,
938
+ "type": "ActionItem[]"
939
+ },
940
+ {
941
+ "name": "activeKey",
942
+ "type": "string | null"
943
+ }
944
+ ],
945
+ "events": [
946
+ {
947
+ "name": "change",
948
+ "detail": {
949
+ "type": "ActionItem | null"
950
+ }
951
+ }
952
+ ],
953
+ "slots": [],
954
+ "methods": [],
955
+ "parts": [],
956
+ "description": "构件 `ai-portal.action-buttons`"
957
+ },
913
958
  {
914
959
  "name": "ai-portal.goal-card-list",
915
960
  "properties": [
@@ -973,25 +1018,6 @@
973
1018
  "parts": [],
974
1019
  "description": "构件 `ai-portal.goal-card-list`"
975
1020
  },
976
- {
977
- "name": "ai-portal.preview-container",
978
- "properties": [
979
- {
980
- "name": "source",
981
- "attribute": false,
982
- "type": "string"
983
- },
984
- {
985
- "name": "url",
986
- "type": "string"
987
- }
988
- ],
989
- "events": [],
990
- "slots": [],
991
- "methods": [],
992
- "parts": [],
993
- "description": "构件 `ai-portal.preview-container`"
994
- },
995
1021
  {
996
1022
  "name": "ai-portal.project-conversations",
997
1023
  "properties": [
@@ -1034,25 +1060,6 @@
1034
1060
  "parts": [],
1035
1061
  "description": "构件 `ai-portal.project-conversations`"
1036
1062
  },
1037
- {
1038
- "name": "ai-portal.activity-timeline",
1039
- "properties": [
1040
- {
1041
- "name": "list",
1042
- "attribute": false,
1043
- "type": "Activity[]"
1044
- },
1045
- {
1046
- "name": "chatUrlTemplate",
1047
- "type": "string"
1048
- }
1049
- ],
1050
- "events": [],
1051
- "slots": [],
1052
- "methods": [],
1053
- "parts": [],
1054
- "description": "构件 `ai-portal.activity-timeline`"
1055
- },
1056
1063
  {
1057
1064
  "name": "ai-portal.project-knowledges",
1058
1065
  "properties": [
@@ -1091,30 +1098,23 @@
1091
1098
  "description": "构件 `ai-portal.project-knowledges`"
1092
1099
  },
1093
1100
  {
1094
- "name": "ai-portal.action-buttons",
1101
+ "name": "ai-portal.activity-timeline",
1095
1102
  "properties": [
1096
1103
  {
1097
- "name": "items",
1104
+ "name": "list",
1098
1105
  "attribute": false,
1099
- "type": "ActionItem[]"
1106
+ "type": "Activity[]"
1100
1107
  },
1101
1108
  {
1102
- "name": "activeKey",
1103
- "type": "string | null"
1104
- }
1105
- ],
1106
- "events": [
1107
- {
1108
- "name": "change",
1109
- "detail": {
1110
- "type": "ActionItem | null"
1111
- }
1109
+ "name": "chatUrlTemplate",
1110
+ "type": "string"
1112
1111
  }
1113
1112
  ],
1113
+ "events": [],
1114
1114
  "slots": [],
1115
1115
  "methods": [],
1116
1116
  "parts": [],
1117
- "description": "构件 `ai-portal.action-buttons`"
1117
+ "description": "构件 `ai-portal.activity-timeline`"
1118
1118
  },
1119
1119
  {
1120
1120
  "name": "ai-portal.chat-input",
@@ -1251,37 +1251,6 @@
1251
1251
  "parts": [],
1252
1252
  "description": "构件 `ai-portal.blank-state`"
1253
1253
  },
1254
- {
1255
- "name": "ai-portal.elevo-card",
1256
- "properties": [
1257
- {
1258
- "name": "cardTitle",
1259
- "type": "string"
1260
- },
1261
- {
1262
- "name": "description",
1263
- "type": "string"
1264
- },
1265
- {
1266
- "name": "url",
1267
- "type": "string"
1268
- },
1269
- {
1270
- "name": "avatar",
1271
- "attribute": false,
1272
- "type": "string | GeneralIconProps"
1273
- },
1274
- {
1275
- "name": "avatarType",
1276
- "type": "\"icon\" | \"image\""
1277
- }
1278
- ],
1279
- "events": [],
1280
- "slots": [],
1281
- "methods": [],
1282
- "parts": [],
1283
- "description": "构件 `ai-portal.elevo-card`"
1284
- },
1285
1254
  {
1286
1255
  "name": "ai-portal.sticky-container",
1287
1256
  "properties": [
@@ -1316,6 +1285,37 @@
1316
1285
  "parts": [],
1317
1286
  "description": "构件 `ai-portal.sticky-container`"
1318
1287
  },
1288
+ {
1289
+ "name": "ai-portal.elevo-card",
1290
+ "properties": [
1291
+ {
1292
+ "name": "cardTitle",
1293
+ "type": "string"
1294
+ },
1295
+ {
1296
+ "name": "description",
1297
+ "type": "string"
1298
+ },
1299
+ {
1300
+ "name": "url",
1301
+ "type": "string"
1302
+ },
1303
+ {
1304
+ "name": "avatar",
1305
+ "attribute": false,
1306
+ "type": "string | GeneralIconProps"
1307
+ },
1308
+ {
1309
+ "name": "avatarType",
1310
+ "type": "\"icon\" | \"image\""
1311
+ }
1312
+ ],
1313
+ "events": [],
1314
+ "slots": [],
1315
+ "methods": [],
1316
+ "parts": [],
1317
+ "description": "构件 `ai-portal.elevo-card`"
1318
+ },
1319
1319
  {
1320
1320
  "name": "ai-portal.flow-tabs",
1321
1321
  "properties": [
@@ -1437,17 +1437,13 @@
1437
1437
  "name": "spec",
1438
1438
  "attribute": false,
1439
1439
  "type": "FlowStage[]"
1440
- },
1441
- {
1442
- "name": "activeActivityId",
1443
- "type": "string | null"
1444
1440
  }
1445
1441
  ],
1446
1442
  "events": [
1447
1443
  {
1448
- "name": "active.change",
1444
+ "name": "activity.click",
1449
1445
  "detail": {
1450
- "type": "string | null"
1446
+ "type": "string"
1451
1447
  }
1452
1448
  }
1453
1449
  ],
@@ -1682,9 +1678,6 @@
1682
1678
  }
1683
1679
  ],
1684
1680
  "providers": [
1685
- {
1686
- "name": "ai-portal.call-tool"
1687
- },
1688
1681
  {
1689
1682
  "name": "ai-portal.save-request-store"
1690
1683
  },
@@ -1694,6 +1687,9 @@
1694
1687
  {
1695
1688
  "name": "ai-portal.clear-request-store"
1696
1689
  },
1690
+ {
1691
+ "name": "ai-portal.call-tool"
1692
+ },
1697
1693
  {
1698
1694
  "name": "ai-portal.set-chat-command"
1699
1695
  }