@next-bricks/ai-portal 0.58.11 → 0.58.12

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 (30) hide show
  1. package/dist/bricks.json +29 -29
  2. package/dist/chunks/151.be9f97cf.js +2 -0
  3. package/dist/chunks/151.be9f97cf.js.map +1 -0
  4. package/dist/chunks/{6811.122526d0.js → 6811.a67f5755.js} +2 -2
  5. package/dist/chunks/6811.a67f5755.js.map +1 -0
  6. package/dist/chunks/chat-box.e7ec1371.js +2 -0
  7. package/dist/chunks/chat-box.e7ec1371.js.map +1 -0
  8. package/dist/chunks/flow-tabs.afee9a1c.js +2 -0
  9. package/dist/chunks/flow-tabs.afee9a1c.js.map +1 -0
  10. package/dist/chunks/{main.99c703d7.js → main.d92e9672.js} +2 -2
  11. package/dist/chunks/{main.99c703d7.js.map → main.d92e9672.js.map} +1 -1
  12. package/dist/chunks/{stage-flow.4c7ea7d9.js → stage-flow.22610ca5.js} +2 -2
  13. package/dist/chunks/stage-flow.22610ca5.js.map +1 -0
  14. package/dist/examples.json +14 -14
  15. package/dist/{index.b5b0ddea.js → index.420be0fc.js} +2 -2
  16. package/dist/{index.b5b0ddea.js.map → index.420be0fc.js.map} +1 -1
  17. package/dist/manifest.json +229 -229
  18. package/dist/types.json +496 -470
  19. package/dist-types/chat-box/bricks.d.ts +1 -0
  20. package/dist-types/chat-box/i18n.d.ts +3 -1
  21. package/dist-types/chat-box/index.d.ts +3 -1
  22. package/package.json +2 -2
  23. package/dist/chunks/151.d08c1ef1.js +0 -2
  24. package/dist/chunks/151.d08c1ef1.js.map +0 -1
  25. package/dist/chunks/6811.122526d0.js.map +0 -1
  26. package/dist/chunks/chat-box.6eab985e.js +0 -2
  27. package/dist/chunks/chat-box.6eab985e.js.map +0 -1
  28. package/dist/chunks/flow-tabs.ce40cc92.js +0 -2
  29. package/dist/chunks/flow-tabs.ce40cc92.js.map +0 -1
  30. package/dist/chunks/stage-flow.4c7ea7d9.js.map +0 -1
@@ -3,20 +3,6 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
- {
7
- "name": "ai-portal.home-container",
8
- "properties": [
9
- {
10
- "name": "sticky",
11
- "type": "boolean"
12
- }
13
- ],
14
- "events": [],
15
- "slots": [],
16
- "methods": [],
17
- "parts": [],
18
- "description": "构件 `ai-portal.home-container`"
19
- },
20
6
  {
21
7
  "name": "ai-portal.cruise-canvas",
22
8
  "properties": [
@@ -176,6 +162,157 @@
176
162
  "parts": [],
177
163
  "description": "构件 `ai-portal.cruise-canvas`"
178
164
  },
165
+ {
166
+ "name": "ai-portal.chat-box",
167
+ "properties": [
168
+ {
169
+ "name": "disabled",
170
+ "type": "boolean"
171
+ },
172
+ {
173
+ "name": "placeholder",
174
+ "type": "string"
175
+ },
176
+ {
177
+ "name": "autoFocus",
178
+ "type": "boolean"
179
+ },
180
+ {
181
+ "name": "aiEmployees",
182
+ "attribute": false,
183
+ "type": "AIEmployee[]"
184
+ },
185
+ {
186
+ "name": "commands",
187
+ "attribute": false,
188
+ "type": "Command[]"
189
+ },
190
+ {
191
+ "name": "uploadOptions",
192
+ "attribute": false,
193
+ "type": "UploadOptions"
194
+ }
195
+ ],
196
+ "events": [
197
+ {
198
+ "name": "message.submit",
199
+ "description": "",
200
+ "deprecated": "Use `chat.submit` event instead",
201
+ "detail": {
202
+ "type": "string"
203
+ }
204
+ },
205
+ {
206
+ "name": "chat.submit",
207
+ "detail": {
208
+ "type": "ChatPayload"
209
+ }
210
+ },
211
+ {
212
+ "name": "command.select",
213
+ "detail": {
214
+ "type": "CommandPayload | null"
215
+ }
216
+ }
217
+ ],
218
+ "slots": [],
219
+ "methods": [
220
+ {
221
+ "name": "setValue",
222
+ "params": [
223
+ {
224
+ "name": "value",
225
+ "type": "string"
226
+ }
227
+ ]
228
+ },
229
+ {
230
+ "name": "getValue",
231
+ "params": []
232
+ },
233
+ {
234
+ "name": "focusOnInput",
235
+ "params": []
236
+ }
237
+ ],
238
+ "parts": [],
239
+ "description": "构件 `ai-portal.chat-box`"
240
+ },
241
+ {
242
+ "name": "ai-portal.home-container",
243
+ "properties": [
244
+ {
245
+ "name": "sticky",
246
+ "type": "boolean"
247
+ }
248
+ ],
249
+ "events": [],
250
+ "slots": [],
251
+ "methods": [],
252
+ "parts": [],
253
+ "description": "构件 `ai-portal.home-container`"
254
+ },
255
+ {
256
+ "name": "ai-portal.stat-with-mini-chart",
257
+ "properties": [
258
+ {
259
+ "name": "label",
260
+ "type": "string"
261
+ },
262
+ {
263
+ "name": "value",
264
+ "type": "string"
265
+ },
266
+ {
267
+ "name": "size",
268
+ "description": "",
269
+ "default": "\"medium\"",
270
+ "type": "\"medium\" | \"small\""
271
+ },
272
+ {
273
+ "name": "lineColor",
274
+ "description": "",
275
+ "default": "\"var(--color-brand)\"",
276
+ "type": "string"
277
+ },
278
+ {
279
+ "name": "showArea",
280
+ "type": "boolean"
281
+ },
282
+ {
283
+ "name": "min",
284
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
285
+ "type": "number"
286
+ },
287
+ {
288
+ "name": "max",
289
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
290
+ "type": "number"
291
+ },
292
+ {
293
+ "name": "xField",
294
+ "description": "",
295
+ "default": "\"0\"",
296
+ "type": "string"
297
+ },
298
+ {
299
+ "name": "yField",
300
+ "description": "",
301
+ "default": "\"1\"",
302
+ "type": "string"
303
+ },
304
+ {
305
+ "name": "data",
306
+ "attribute": false,
307
+ "type": "Record<string, number>[]"
308
+ }
309
+ ],
310
+ "events": [],
311
+ "slots": [],
312
+ "methods": [],
313
+ "parts": [],
314
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
315
+ },
179
316
  {
180
317
  "name": "ai-portal.elevo-sidebar",
181
318
  "properties": [
@@ -343,25 +480,6 @@
343
480
  "parts": [],
344
481
  "description": "构件 `ai-portal.icon-button`"
345
482
  },
346
- {
347
- "name": "ai-portal.mcp-tools",
348
- "properties": [
349
- {
350
- "name": "list",
351
- "attribute": false,
352
- "type": "McpTool[]"
353
- },
354
- {
355
- "name": "stickyTop",
356
- "type": "number"
357
- }
358
- ],
359
- "events": [],
360
- "slots": [],
361
- "methods": [],
362
- "parts": [],
363
- "description": "构件 `ai-portal.mcp-tools`"
364
- },
365
483
  {
366
484
  "name": "ai-portal.show-cases",
367
485
  "properties": [
@@ -382,80 +500,23 @@
382
500
  "description": "构件 `ai-portal.show-cases`"
383
501
  },
384
502
  {
385
- "name": "ai-portal.chat-box",
503
+ "name": "ai-portal.mcp-tools",
386
504
  "properties": [
387
505
  {
388
- "name": "disabled",
389
- "type": "boolean"
390
- },
391
- {
392
- "name": "placeholder",
393
- "type": "string"
394
- },
395
- {
396
- "name": "autoFocus",
397
- "type": "boolean"
398
- },
399
- {
400
- "name": "aiEmployees",
401
- "attribute": false,
402
- "type": "AIEmployee[]"
403
- },
404
- {
405
- "name": "commands",
406
- "attribute": false,
407
- "type": "Command[]"
408
- },
409
- {
410
- "name": "uploadOptions",
506
+ "name": "list",
411
507
  "attribute": false,
412
- "type": "UploadOptions"
413
- }
414
- ],
415
- "events": [
416
- {
417
- "name": "message.submit",
418
- "description": "",
419
- "deprecated": "Use `chat.submit` event instead",
420
- "detail": {
421
- "type": "string"
422
- }
423
- },
424
- {
425
- "name": "chat.submit",
426
- "detail": {
427
- "type": "ChatPayload"
428
- }
508
+ "type": "McpTool[]"
429
509
  },
430
510
  {
431
- "name": "command.select",
432
- "detail": {
433
- "type": "CommandPayload | null"
434
- }
511
+ "name": "stickyTop",
512
+ "type": "number"
435
513
  }
436
514
  ],
515
+ "events": [],
437
516
  "slots": [],
438
- "methods": [
439
- {
440
- "name": "setValue",
441
- "params": [
442
- {
443
- "name": "value",
444
- "type": "string"
445
- }
446
- ]
447
- },
448
- {
449
- "name": "getValue",
450
- "params": []
451
- },
452
- {
453
- "name": "focusOnInput",
454
- "params": []
455
- }
456
- ],
517
+ "methods": [],
457
518
  "parts": [],
458
- "description": "构件 `ai-portal.chat-box`"
519
+ "description": "构件 `ai-portal.mcp-tools`"
459
520
  },
460
521
  {
461
522
  "name": "ai-portal.ai-employees",
@@ -487,31 +548,6 @@
487
548
  "parts": [],
488
549
  "description": "构件 `ai-portal.ai-employees`"
489
550
  },
490
- {
491
- "name": "ai-portal.ai-agents",
492
- "properties": [
493
- {
494
- "name": "list",
495
- "attribute": false,
496
- "type": "Agent[]"
497
- },
498
- {
499
- "name": "urlTemplate",
500
- "type": "string"
501
- },
502
- {
503
- "name": "withContainer",
504
- "description": "",
505
- "deprecated": true,
506
- "default": "true"
507
- }
508
- ],
509
- "events": [],
510
- "slots": [],
511
- "methods": [],
512
- "parts": [],
513
- "description": "构件 `ai-portal.ai-agents`"
514
- },
515
551
  {
516
552
  "name": "ai-portal.chat-stream",
517
553
  "properties": [
@@ -679,6 +715,31 @@
679
715
  "parts": [],
680
716
  "description": "构件 `ai-portal.chat-stream`"
681
717
  },
718
+ {
719
+ "name": "ai-portal.ai-agents",
720
+ "properties": [
721
+ {
722
+ "name": "list",
723
+ "attribute": false,
724
+ "type": "Agent[]"
725
+ },
726
+ {
727
+ "name": "urlTemplate",
728
+ "type": "string"
729
+ },
730
+ {
731
+ "name": "withContainer",
732
+ "description": "",
733
+ "deprecated": true,
734
+ "default": "true"
735
+ }
736
+ ],
737
+ "events": [],
738
+ "slots": [],
739
+ "methods": [],
740
+ "parts": [],
741
+ "description": "构件 `ai-portal.ai-agents`"
742
+ },
682
743
  {
683
744
  "name": "ai-portal.page-container",
684
745
  "properties": [
@@ -724,67 +785,6 @@
724
785
  "parts": [],
725
786
  "description": "构件 `ai-portal.page-container`"
726
787
  },
727
- {
728
- "name": "ai-portal.stat-with-mini-chart",
729
- "properties": [
730
- {
731
- "name": "label",
732
- "type": "string"
733
- },
734
- {
735
- "name": "value",
736
- "type": "string"
737
- },
738
- {
739
- "name": "size",
740
- "description": "",
741
- "default": "\"medium\"",
742
- "type": "\"medium\" | \"small\""
743
- },
744
- {
745
- "name": "lineColor",
746
- "description": "",
747
- "default": "\"var(--color-brand)\"",
748
- "type": "string"
749
- },
750
- {
751
- "name": "showArea",
752
- "type": "boolean"
753
- },
754
- {
755
- "name": "min",
756
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
757
- "type": "number"
758
- },
759
- {
760
- "name": "max",
761
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
762
- "type": "number"
763
- },
764
- {
765
- "name": "xField",
766
- "description": "",
767
- "default": "\"0\"",
768
- "type": "string"
769
- },
770
- {
771
- "name": "yField",
772
- "description": "",
773
- "default": "\"1\"",
774
- "type": "string"
775
- },
776
- {
777
- "name": "data",
778
- "attribute": false,
779
- "type": "Record<string, number>[]"
780
- }
781
- ],
782
- "events": [],
783
- "slots": [],
784
- "methods": [],
785
- "parts": [],
786
- "description": "构件 `ai-portal.stat-with-mini-chart`"
787
- },
788
788
  {
789
789
  "name": "ai-portal.tab-list",
790
790
  "properties": [
@@ -986,48 +986,6 @@
986
986
  "parts": [],
987
987
  "description": "构件 `ai-portal.goal-card-list`"
988
988
  },
989
- {
990
- "name": "ai-portal.project-conversations",
991
- "properties": [
992
- {
993
- "name": "list",
994
- "attribute": false,
995
- "type": "Conversation[]"
996
- },
997
- {
998
- "name": "urlTemplate",
999
- "type": "string"
1000
- },
1001
- {
1002
- "name": "actions",
1003
- "attribute": false,
1004
- "type": "ActionType[]"
1005
- },
1006
- {
1007
- "name": "goals",
1008
- "attribute": false,
1009
- "type": "Goal[]"
1010
- }
1011
- ],
1012
- "events": [
1013
- {
1014
- "name": "goal.click",
1015
- "detail": {
1016
- "type": "Conversation"
1017
- }
1018
- },
1019
- {
1020
- "name": "action.click",
1021
- "detail": {
1022
- "type": "ActionClickDetail"
1023
- }
1024
- }
1025
- ],
1026
- "slots": [],
1027
- "methods": [],
1028
- "parts": [],
1029
- "description": "构件 `ai-portal.project-conversations`"
1030
- },
1031
989
  {
1032
990
  "name": "ai-portal.project-knowledges",
1033
991
  "properties": [
@@ -1140,6 +1098,48 @@
1140
1098
  "parts": [],
1141
1099
  "description": "构件 `ai-portal.chat-input`"
1142
1100
  },
1101
+ {
1102
+ "name": "ai-portal.project-conversations",
1103
+ "properties": [
1104
+ {
1105
+ "name": "list",
1106
+ "attribute": false,
1107
+ "type": "Conversation[]"
1108
+ },
1109
+ {
1110
+ "name": "urlTemplate",
1111
+ "type": "string"
1112
+ },
1113
+ {
1114
+ "name": "actions",
1115
+ "attribute": false,
1116
+ "type": "ActionType[]"
1117
+ },
1118
+ {
1119
+ "name": "goals",
1120
+ "attribute": false,
1121
+ "type": "Goal[]"
1122
+ }
1123
+ ],
1124
+ "events": [
1125
+ {
1126
+ "name": "goal.click",
1127
+ "detail": {
1128
+ "type": "Conversation"
1129
+ }
1130
+ },
1131
+ {
1132
+ "name": "action.click",
1133
+ "detail": {
1134
+ "type": "ActionClickDetail"
1135
+ }
1136
+ }
1137
+ ],
1138
+ "slots": [],
1139
+ "methods": [],
1140
+ "parts": [],
1141
+ "description": "构件 `ai-portal.project-conversations`"
1142
+ },
1143
1143
  {
1144
1144
  "name": "ai-portal.elevo-logo",
1145
1145
  "properties": [],
@@ -1472,9 +1472,6 @@
1472
1472
  {
1473
1473
  "name": "ai-portal.call-tool"
1474
1474
  },
1475
- {
1476
- "name": "ai-portal.set-chat-command"
1477
- },
1478
1475
  {
1479
1476
  "name": "ai-portal.save-request-store"
1480
1477
  },
@@ -1483,6 +1480,9 @@
1483
1480
  },
1484
1481
  {
1485
1482
  "name": "ai-portal.clear-request-store"
1483
+ },
1484
+ {
1485
+ "name": "ai-portal.set-chat-command"
1486
1486
  }
1487
1487
  ]
1488
1488
  }