@next-bricks/ai-portal 0.46.0 → 0.46.2

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 (47) hide show
  1. package/dist/bricks.json +36 -36
  2. package/dist/chunks/7431.23127b05.js +3 -0
  3. package/dist/chunks/7431.23127b05.js.map +1 -0
  4. package/dist/chunks/{7570.a411e1f2.js → 7570.708bdafd.js} +2 -2
  5. package/dist/chunks/{7570.a411e1f2.js.map → 7570.708bdafd.js.map} +1 -1
  6. package/dist/chunks/{7954.48580daf.js → 7954.c1753f33.js} +2 -2
  7. package/dist/chunks/7954.c1753f33.js.map +1 -0
  8. package/dist/chunks/8882.30a26232.js +3 -0
  9. package/dist/chunks/8882.30a26232.js.map +1 -0
  10. package/dist/chunks/9328.c93d9ac1.js +2 -0
  11. package/dist/chunks/9328.c93d9ac1.js.map +1 -0
  12. package/dist/chunks/goal-card-list.a9057f02.js +3 -0
  13. package/dist/chunks/goal-card-list.a9057f02.js.map +1 -0
  14. package/dist/chunks/main.0a194943.js +2 -0
  15. package/dist/chunks/main.0a194943.js.map +1 -0
  16. package/dist/examples.json +12 -12
  17. package/dist/index.0ebd0c2a.js +2 -0
  18. package/dist/index.0ebd0c2a.js.map +1 -0
  19. package/dist/manifest.json +242 -242
  20. package/dist/types.json +137 -137
  21. package/dist-types/cruise-canvas/NodeRequirement/NodeRequirement.d.ts +2 -1
  22. package/dist-types/cruise-canvas/interfaces.d.ts +1 -0
  23. package/dist-types/goal-card-list/CardItem/CardItem.d.ts +2 -1
  24. package/dist-types/shared/interfaces.d.ts +1 -0
  25. package/package.json +2 -2
  26. package/dist/chunks/1097.56d301a5.js +0 -3
  27. package/dist/chunks/1097.56d301a5.js.LICENSE.txt +0 -9
  28. package/dist/chunks/1097.56d301a5.js.map +0 -1
  29. package/dist/chunks/6862.32630cc8.js +0 -3
  30. package/dist/chunks/6862.32630cc8.js.map +0 -1
  31. package/dist/chunks/7431.23a1dd60.js +0 -3
  32. package/dist/chunks/7431.23a1dd60.js.map +0 -1
  33. package/dist/chunks/7954.48580daf.js.map +0 -1
  34. package/dist/chunks/9328.4ac010e3.js +0 -2
  35. package/dist/chunks/9328.4ac010e3.js.map +0 -1
  36. package/dist/chunks/9848.ab8ad988.js +0 -3
  37. package/dist/chunks/9848.ab8ad988.js.LICENSE.txt +0 -1
  38. package/dist/chunks/9848.ab8ad988.js.map +0 -1
  39. package/dist/chunks/goal-card-list.a1db72ad.js +0 -3
  40. package/dist/chunks/goal-card-list.a1db72ad.js.map +0 -1
  41. package/dist/chunks/main.d0fc7f5d.js +0 -2
  42. package/dist/chunks/main.d0fc7f5d.js.map +0 -1
  43. package/dist/index.db92c25e.js +0 -2
  44. package/dist/index.db92c25e.js.map +0 -1
  45. /package/dist/chunks/{7431.23a1dd60.js.LICENSE.txt → 7431.23127b05.js.LICENSE.txt} +0 -0
  46. /package/dist/chunks/{6862.32630cc8.js.LICENSE.txt → 8882.30a26232.js.LICENSE.txt} +0 -0
  47. /package/dist/chunks/{goal-card-list.a1db72ad.js.LICENSE.txt → goal-card-list.a9057f02.js.LICENSE.txt} +0 -0
@@ -192,7 +192,79 @@
192
192
  "description": "构件 `ai-portal.elevo-sidebar`"
193
193
  },
194
194
  {
195
- "name": "ai-portal.cruise-canvas",
195
+ "name": "ai-portal.home-container",
196
+ "properties": [],
197
+ "events": [],
198
+ "slots": [],
199
+ "methods": [],
200
+ "parts": [],
201
+ "description": "构件 `ai-portal.home-container`"
202
+ },
203
+ {
204
+ "name": "ai-portal.icon-button",
205
+ "properties": [
206
+ {
207
+ "name": "icon",
208
+ "attribute": false,
209
+ "type": "GeneralIconProps"
210
+ },
211
+ {
212
+ "name": "tooltip",
213
+ "type": "string"
214
+ },
215
+ {
216
+ "name": "disabled",
217
+ "type": "boolean"
218
+ },
219
+ {
220
+ "name": "variant",
221
+ "type": "IconButtonVariant"
222
+ }
223
+ ],
224
+ "events": [],
225
+ "slots": [],
226
+ "methods": [],
227
+ "parts": [],
228
+ "description": "构件 `ai-portal.icon-button`"
229
+ },
230
+ {
231
+ "name": "ai-portal.show-cases",
232
+ "properties": [
233
+ {
234
+ "name": "list",
235
+ "attribute": false,
236
+ "type": "ShowCaseType[]"
237
+ }
238
+ ],
239
+ "events": [],
240
+ "slots": [],
241
+ "methods": [],
242
+ "parts": [],
243
+ "description": "构件 `ai-portal.show-cases`"
244
+ },
245
+ {
246
+ "name": "ai-portal.mcp-tools",
247
+ "properties": [
248
+ {
249
+ "name": "list",
250
+ "attribute": false,
251
+ "type": "McpTool[]"
252
+ },
253
+ {
254
+ "name": "withContainer",
255
+ "description": "",
256
+ "deprecated": true,
257
+ "default": "true"
258
+ }
259
+ ],
260
+ "events": [],
261
+ "slots": [],
262
+ "methods": [],
263
+ "parts": [],
264
+ "description": "构件 `ai-portal.mcp-tools`"
265
+ },
266
+ {
267
+ "name": "ai-portal.chat-stream",
196
268
  "properties": [
197
269
  {
198
270
  "name": "conversationId",
@@ -220,10 +292,6 @@
220
292
  "attribute": false,
221
293
  "type": "Record<string, boolean>"
222
294
  },
223
- {
224
- "name": "showHiddenJobs",
225
- "type": "boolean"
226
- },
227
295
  {
228
296
  "name": "showHumanActions",
229
297
  "type": "boolean"
@@ -248,10 +316,6 @@
248
316
  "name": "hideMermaid",
249
317
  "type": "boolean"
250
318
  },
251
- {
252
- "name": "showJsxEditor",
253
- "type": "boolean"
254
- },
255
319
  {
256
320
  "name": "previewUrlTemplate",
257
321
  "type": "string"
@@ -299,7 +363,7 @@
299
363
  {
300
364
  "name": "ui.switch",
301
365
  "detail": {
302
- "type": "\"chat\""
366
+ "type": "\"canvas\""
303
367
  }
304
368
  },
305
369
  {
@@ -334,112 +398,10 @@
334
398
  }
335
399
  ],
336
400
  "parts": [],
337
- "description": "构件 `ai-portal.cruise-canvas`"
338
- },
339
- {
340
- "name": "ai-portal.home-container",
341
- "properties": [],
342
- "events": [],
343
- "slots": [],
344
- "methods": [],
345
- "parts": [],
346
- "description": "构件 `ai-portal.home-container`"
347
- },
348
- {
349
- "name": "ai-portal.icon-button",
350
- "properties": [
351
- {
352
- "name": "icon",
353
- "attribute": false,
354
- "type": "GeneralIconProps"
355
- },
356
- {
357
- "name": "tooltip",
358
- "type": "string"
359
- },
360
- {
361
- "name": "disabled",
362
- "type": "boolean"
363
- },
364
- {
365
- "name": "variant",
366
- "type": "IconButtonVariant"
367
- }
368
- ],
369
- "events": [],
370
- "slots": [],
371
- "methods": [],
372
- "parts": [],
373
- "description": "构件 `ai-portal.icon-button`"
374
- },
375
- {
376
- "name": "ai-portal.show-cases",
377
- "properties": [
378
- {
379
- "name": "list",
380
- "attribute": false,
381
- "type": "ShowCaseType[]"
382
- }
383
- ],
384
- "events": [],
385
- "slots": [],
386
- "methods": [],
387
- "parts": [],
388
- "description": "构件 `ai-portal.show-cases`"
389
- },
390
- {
391
- "name": "ai-portal.mcp-tools",
392
- "properties": [
393
- {
394
- "name": "list",
395
- "attribute": false,
396
- "type": "McpTool[]"
397
- },
398
- {
399
- "name": "withContainer",
400
- "description": "",
401
- "deprecated": true,
402
- "default": "true"
403
- }
404
- ],
405
- "events": [],
406
- "slots": [],
407
- "methods": [],
408
- "parts": [],
409
- "description": "构件 `ai-portal.mcp-tools`"
410
- },
411
- {
412
- "name": "ai-portal.ai-employees",
413
- "properties": [
414
- {
415
- "name": "list",
416
- "attribute": false,
417
- "type": "Employee[]"
418
- },
419
- {
420
- "name": "industries",
421
- "attribute": false,
422
- "type": "string[]"
423
- },
424
- {
425
- "name": "urlTemplate",
426
- "type": "string"
427
- },
428
- {
429
- "name": "withContainer",
430
- "description": "",
431
- "deprecated": true,
432
- "default": "true"
433
- }
434
- ],
435
- "events": [],
436
- "slots": [],
437
- "methods": [],
438
- "parts": [],
439
- "description": "构件 `ai-portal.ai-employees`"
401
+ "description": "构件 `ai-portal.chat-stream`"
440
402
  },
441
403
  {
442
- "name": "ai-portal.chat-stream",
404
+ "name": "ai-portal.cruise-canvas",
443
405
  "properties": [
444
406
  {
445
407
  "name": "conversationId",
@@ -467,6 +429,10 @@
467
429
  "attribute": false,
468
430
  "type": "Record<string, boolean>"
469
431
  },
432
+ {
433
+ "name": "showHiddenJobs",
434
+ "type": "boolean"
435
+ },
470
436
  {
471
437
  "name": "showHumanActions",
472
438
  "type": "boolean"
@@ -491,6 +457,10 @@
491
457
  "name": "hideMermaid",
492
458
  "type": "boolean"
493
459
  },
460
+ {
461
+ "name": "showJsxEditor",
462
+ "type": "boolean"
463
+ },
494
464
  {
495
465
  "name": "previewUrlTemplate",
496
466
  "type": "string"
@@ -538,7 +508,7 @@
538
508
  {
539
509
  "name": "ui.switch",
540
510
  "detail": {
541
- "type": "\"canvas\""
511
+ "type": "\"chat\""
542
512
  }
543
513
  },
544
514
  {
@@ -573,15 +543,20 @@
573
543
  }
574
544
  ],
575
545
  "parts": [],
576
- "description": "构件 `ai-portal.chat-stream`"
546
+ "description": "构件 `ai-portal.cruise-canvas`"
577
547
  },
578
548
  {
579
- "name": "ai-portal.ai-agents",
549
+ "name": "ai-portal.ai-employees",
580
550
  "properties": [
581
551
  {
582
552
  "name": "list",
583
553
  "attribute": false,
584
- "type": "Agent[]"
554
+ "type": "Employee[]"
555
+ },
556
+ {
557
+ "name": "industries",
558
+ "attribute": false,
559
+ "type": "string[]"
585
560
  },
586
561
  {
587
562
  "name": "urlTemplate",
@@ -598,101 +573,32 @@
598
573
  "slots": [],
599
574
  "methods": [],
600
575
  "parts": [],
601
- "description": "构件 `ai-portal.ai-agents`"
602
- },
603
- {
604
- "name": "ai-portal.page-container",
605
- "properties": [
606
- {
607
- "name": "pageTitle",
608
- "type": "string"
609
- },
610
- {
611
- "name": "breadcrumbs",
612
- "attribute": false,
613
- "type": "Breadcrumb[]"
614
- },
615
- {
616
- "name": "size",
617
- "type": "\"medium\" | \"small\""
618
- },
619
- {
620
- "name": "textContent",
621
- "type": "string",
622
- "description": "文本内容"
623
- }
624
- ],
625
- "events": [],
626
- "slots": [
627
- {
628
- "name": null,
629
- "description": "内容"
630
- },
631
- {
632
- "name": "toolbar",
633
- "description": "工具栏"
634
- }
635
- ],
636
- "methods": [],
637
- "parts": [],
638
- "description": "构件 `ai-portal.page-container`"
576
+ "description": "构件 `ai-portal.ai-employees`"
639
577
  },
640
578
  {
641
- "name": "ai-portal.dropdown-select",
579
+ "name": "ai-portal.ai-agents",
642
580
  "properties": [
643
581
  {
644
- "name": "value",
645
- "type": "string"
646
- },
647
- {
648
- "name": "options",
649
- "attribute": false,
650
- "type": "DropdownOptions[]"
651
- },
652
- {
653
- "name": "labelMaxWidth",
582
+ "name": "list",
654
583
  "attribute": false,
655
- "type": "string | number"
656
- },
657
- {
658
- "name": "loading",
659
- "type": "boolean"
584
+ "type": "Agent[]"
660
585
  },
661
586
  {
662
- "name": "searchPlaceholder",
663
- "attribute": false,
587
+ "name": "urlTemplate",
664
588
  "type": "string"
665
589
  },
666
590
  {
667
- "name": "dropdownContentStyle",
668
- "attribute": false,
669
- "type": "React.CSSProperties"
670
- },
671
- {
672
- "name": "dropdownMaxWidth",
591
+ "name": "withContainer",
673
592
  "description": "",
674
- "default": "\"500px\"",
675
- "attribute": false,
676
- "type": "string | number"
677
- },
678
- {
679
- "name": "showSearch",
680
- "description": "是否展示搜索框",
681
- "type": "boolean"
682
- }
683
- ],
684
- "events": [
685
- {
686
- "name": "change",
687
- "detail": {
688
- "type": "DropdownOptions"
689
- }
593
+ "deprecated": true,
594
+ "default": "true"
690
595
  }
691
596
  ],
597
+ "events": [],
692
598
  "slots": [],
693
599
  "methods": [],
694
600
  "parts": [],
695
- "description": "构件 `ai-portal.dropdown-select`"
601
+ "description": "构件 `ai-portal.ai-agents`"
696
602
  },
697
603
  {
698
604
  "name": "ai-portal.stat-with-mini-chart",
@@ -755,6 +661,43 @@
755
661
  "parts": [],
756
662
  "description": "构件 `ai-portal.stat-with-mini-chart`"
757
663
  },
664
+ {
665
+ "name": "ai-portal.page-container",
666
+ "properties": [
667
+ {
668
+ "name": "pageTitle",
669
+ "type": "string"
670
+ },
671
+ {
672
+ "name": "breadcrumbs",
673
+ "attribute": false,
674
+ "type": "Breadcrumb[]"
675
+ },
676
+ {
677
+ "name": "size",
678
+ "type": "\"medium\" | \"small\""
679
+ },
680
+ {
681
+ "name": "textContent",
682
+ "type": "string",
683
+ "description": "文本内容"
684
+ }
685
+ ],
686
+ "events": [],
687
+ "slots": [
688
+ {
689
+ "name": null,
690
+ "description": "内容"
691
+ },
692
+ {
693
+ "name": "toolbar",
694
+ "description": "工具栏"
695
+ }
696
+ ],
697
+ "methods": [],
698
+ "parts": [],
699
+ "description": "构件 `ai-portal.page-container`"
700
+ },
758
701
  {
759
702
  "name": "ai-portal.tab-list",
760
703
  "properties": [
@@ -791,6 +734,63 @@
791
734
  ],
792
735
  "description": "构件 `ai-portal.tab-list`"
793
736
  },
737
+ {
738
+ "name": "ai-portal.dropdown-select",
739
+ "properties": [
740
+ {
741
+ "name": "value",
742
+ "type": "string"
743
+ },
744
+ {
745
+ "name": "options",
746
+ "attribute": false,
747
+ "type": "DropdownOptions[]"
748
+ },
749
+ {
750
+ "name": "labelMaxWidth",
751
+ "attribute": false,
752
+ "type": "string | number"
753
+ },
754
+ {
755
+ "name": "loading",
756
+ "type": "boolean"
757
+ },
758
+ {
759
+ "name": "searchPlaceholder",
760
+ "attribute": false,
761
+ "type": "string"
762
+ },
763
+ {
764
+ "name": "dropdownContentStyle",
765
+ "attribute": false,
766
+ "type": "React.CSSProperties"
767
+ },
768
+ {
769
+ "name": "dropdownMaxWidth",
770
+ "description": "",
771
+ "default": "\"500px\"",
772
+ "attribute": false,
773
+ "type": "string | number"
774
+ },
775
+ {
776
+ "name": "showSearch",
777
+ "description": "是否展示搜索框",
778
+ "type": "boolean"
779
+ }
780
+ ],
781
+ "events": [
782
+ {
783
+ "name": "change",
784
+ "detail": {
785
+ "type": "DropdownOptions"
786
+ }
787
+ }
788
+ ],
789
+ "slots": [],
790
+ "methods": [],
791
+ "parts": [],
792
+ "description": "构件 `ai-portal.dropdown-select`"
793
+ },
794
794
  {
795
795
  "name": "ai-portal.preview-container",
796
796
  "properties": [
@@ -842,48 +842,6 @@
842
842
  "parts": [],
843
843
  "description": "构件 `ai-portal.action-buttons`"
844
844
  },
845
- {
846
- "name": "ai-portal.project-conversations",
847
- "properties": [
848
- {
849
- "name": "list",
850
- "attribute": false,
851
- "type": "Conversation[]"
852
- },
853
- {
854
- "name": "urlTemplate",
855
- "type": "string"
856
- },
857
- {
858
- "name": "actions",
859
- "attribute": false,
860
- "type": "ActionType[]"
861
- },
862
- {
863
- "name": "goals",
864
- "attribute": false,
865
- "type": "Goal[]"
866
- }
867
- ],
868
- "events": [
869
- {
870
- "name": "goal.click",
871
- "detail": {
872
- "type": "Conversation"
873
- }
874
- },
875
- {
876
- "name": "action.click",
877
- "detail": {
878
- "type": "ActionClickDetail"
879
- }
880
- }
881
- ],
882
- "slots": [],
883
- "methods": [],
884
- "parts": [],
885
- "description": "构件 `ai-portal.project-conversations`"
886
- },
887
845
  {
888
846
  "name": "ai-portal.goal-card-list",
889
847
  "properties": [
@@ -947,6 +905,48 @@
947
905
  "parts": [],
948
906
  "description": "构件 `ai-portal.goal-card-list`"
949
907
  },
908
+ {
909
+ "name": "ai-portal.project-conversations",
910
+ "properties": [
911
+ {
912
+ "name": "list",
913
+ "attribute": false,
914
+ "type": "Conversation[]"
915
+ },
916
+ {
917
+ "name": "urlTemplate",
918
+ "type": "string"
919
+ },
920
+ {
921
+ "name": "actions",
922
+ "attribute": false,
923
+ "type": "ActionType[]"
924
+ },
925
+ {
926
+ "name": "goals",
927
+ "attribute": false,
928
+ "type": "Goal[]"
929
+ }
930
+ ],
931
+ "events": [
932
+ {
933
+ "name": "goal.click",
934
+ "detail": {
935
+ "type": "Conversation"
936
+ }
937
+ },
938
+ {
939
+ "name": "action.click",
940
+ "detail": {
941
+ "type": "ActionClickDetail"
942
+ }
943
+ }
944
+ ],
945
+ "slots": [],
946
+ "methods": [],
947
+ "parts": [],
948
+ "description": "构件 `ai-portal.project-conversations`"
949
+ },
950
950
  {
951
951
  "name": "ai-portal.project-knowledges",
952
952
  "properties": [
@@ -1079,6 +1079,9 @@
1079
1079
  }
1080
1080
  ],
1081
1081
  "providers": [
1082
+ {
1083
+ "name": "ai-portal.call-tool"
1084
+ },
1082
1085
  {
1083
1086
  "name": "ai-portal.save-request-store"
1084
1087
  },
@@ -1087,9 +1090,6 @@
1087
1090
  },
1088
1091
  {
1089
1092
  "name": "ai-portal.clear-request-store"
1090
- },
1091
- {
1092
- "name": "ai-portal.call-tool"
1093
1093
  }
1094
1094
  ]
1095
1095
  }