@next-bricks/ai-portal 0.39.1 → 0.39.3

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 (33) hide show
  1. package/dist/bricks.json +31 -31
  2. package/dist/chunks/1967.90a3a911.js +2 -0
  3. package/dist/chunks/1967.90a3a911.js.map +1 -0
  4. package/dist/chunks/71.c149a595.js +2 -0
  5. package/dist/chunks/71.c149a595.js.map +1 -0
  6. package/dist/chunks/main.2e680f23.js +2 -0
  7. package/dist/chunks/{main.a3754994.js.map → main.2e680f23.js.map} +1 -1
  8. package/dist/chunks/project-conversations.758d7189.js +3 -0
  9. package/dist/chunks/project-conversations.758d7189.js.map +1 -0
  10. package/dist/chunks/project-knowledges.a65a0602.js +3 -0
  11. package/dist/chunks/project-knowledges.a65a0602.js.map +1 -0
  12. package/dist/chunks/project-summary.fab144a8.js +2 -0
  13. package/dist/chunks/project-summary.fab144a8.js.map +1 -0
  14. package/dist/examples.json +16 -16
  15. package/dist/{index.3bc6e052.js → index.45a33574.js} +2 -2
  16. package/dist/{index.3bc6e052.js.map → index.45a33574.js.map} +1 -1
  17. package/dist/manifest.json +194 -194
  18. package/dist/types.json +221 -208
  19. package/dist-types/project-conversations/index.d.ts +1 -0
  20. package/package.json +2 -2
  21. package/dist/chunks/1004.e208af15.js +0 -2
  22. package/dist/chunks/1004.e208af15.js.map +0 -1
  23. package/dist/chunks/1967.9af40d13.js +0 -2
  24. package/dist/chunks/1967.9af40d13.js.map +0 -1
  25. package/dist/chunks/main.a3754994.js +0 -2
  26. package/dist/chunks/project-conversations.8ea09318.js +0 -3
  27. package/dist/chunks/project-conversations.8ea09318.js.map +0 -1
  28. package/dist/chunks/project-knowledges.bbbed4a6.js +0 -3
  29. package/dist/chunks/project-knowledges.bbbed4a6.js.map +0 -1
  30. package/dist/chunks/project-summary.9483f9d4.js +0 -2
  31. package/dist/chunks/project-summary.9483f9d4.js.map +0 -1
  32. /package/dist/chunks/{project-conversations.8ea09318.js.LICENSE.txt → project-conversations.758d7189.js.LICENSE.txt} +0 -0
  33. /package/dist/chunks/{project-knowledges.bbbed4a6.js.LICENSE.txt → project-knowledges.a65a0602.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -1,9 +1,4 @@
1
1
  {
2
- "ai-portal.home-container": {
3
- "properties": [],
4
- "events": [],
5
- "methods": []
6
- },
7
2
  "ai-portal.icon-button": {
8
3
  "properties": [
9
4
  {
@@ -75,6 +70,11 @@
75
70
  }
76
71
  ]
77
72
  },
73
+ "ai-portal.home-container": {
74
+ "properties": [],
75
+ "events": [],
76
+ "methods": []
77
+ },
78
78
  "ai-portal.entity-sdk-get": {
79
79
  "type": "provider",
80
80
  "params": [
@@ -681,7 +681,44 @@
681
681
  }
682
682
  ]
683
683
  },
684
- "ai-portal.show-cases": {
684
+ "ai-portal.chat-box": {
685
+ "properties": [
686
+ {
687
+ "name": "disabled",
688
+ "annotation": {
689
+ "type": "keyword",
690
+ "value": "boolean"
691
+ }
692
+ },
693
+ {
694
+ "name": "placeholder",
695
+ "annotation": {
696
+ "type": "keyword",
697
+ "value": "string"
698
+ }
699
+ },
700
+ {
701
+ "name": "autoFocus",
702
+ "annotation": {
703
+ "type": "keyword",
704
+ "value": "boolean"
705
+ }
706
+ }
707
+ ],
708
+ "events": [
709
+ {
710
+ "name": "message.submit",
711
+ "detail": {
712
+ "annotation": {
713
+ "type": "keyword",
714
+ "value": "string"
715
+ }
716
+ }
717
+ }
718
+ ],
719
+ "methods": []
720
+ },
721
+ "ai-portal.mcp-tools": {
685
722
  "properties": [
686
723
  {
687
724
  "name": "list",
@@ -691,16 +728,16 @@
691
728
  "type": "reference",
692
729
  "typeName": {
693
730
  "type": "identifier",
694
- "name": "ShowCase"
731
+ "name": "McpTool"
695
732
  }
696
733
  }
697
734
  }
698
735
  },
699
736
  {
700
- "name": "taskUrlTemplate",
737
+ "name": "withContainer",
701
738
  "annotation": {
702
739
  "type": "keyword",
703
- "value": "string"
740
+ "value": "boolean"
704
741
  }
705
742
  }
706
743
  ],
@@ -709,13 +746,13 @@
709
746
  "types": [
710
747
  {
711
748
  "type": "interface",
712
- "name": "ShowCase",
749
+ "name": "McpTool",
713
750
  "body": [
714
751
  {
715
752
  "type": "propertySignature",
716
753
  "key": {
717
754
  "type": "identifier",
718
- "name": "taskId"
755
+ "name": "name"
719
756
  },
720
757
  "annotation": {
721
758
  "type": "keyword",
@@ -739,7 +776,7 @@
739
776
  "type": "propertySignature",
740
777
  "key": {
741
778
  "type": "identifier",
742
- "name": "summary"
779
+ "name": "description"
743
780
  },
744
781
  "annotation": {
745
782
  "type": "keyword",
@@ -751,7 +788,44 @@
751
788
  "type": "propertySignature",
752
789
  "key": {
753
790
  "type": "identifier",
754
- "name": "scenario"
791
+ "name": "icon"
792
+ },
793
+ "annotation": {
794
+ "type": "reference",
795
+ "typeName": {
796
+ "type": "identifier",
797
+ "name": "GeneralIconProps"
798
+ }
799
+ },
800
+ "optional": true,
801
+ "computed": false
802
+ },
803
+ {
804
+ "type": "propertySignature",
805
+ "key": {
806
+ "type": "identifier",
807
+ "name": "server"
808
+ },
809
+ "annotation": {
810
+ "type": "reference",
811
+ "typeName": {
812
+ "type": "identifier",
813
+ "name": "McpServer"
814
+ }
815
+ },
816
+ "computed": false
817
+ }
818
+ ]
819
+ },
820
+ {
821
+ "type": "interface",
822
+ "name": "McpServer",
823
+ "body": [
824
+ {
825
+ "type": "propertySignature",
826
+ "key": {
827
+ "type": "identifier",
828
+ "name": "id"
755
829
  },
756
830
  "annotation": {
757
831
  "type": "keyword",
@@ -763,20 +837,19 @@
763
837
  "type": "propertySignature",
764
838
  "key": {
765
839
  "type": "identifier",
766
- "name": "thumbUrl"
840
+ "name": "name"
767
841
  },
768
842
  "annotation": {
769
843
  "type": "keyword",
770
844
  "value": "string"
771
845
  },
772
- "optional": true,
773
846
  "computed": false
774
847
  }
775
848
  ]
776
849
  }
777
850
  ]
778
851
  },
779
- "ai-portal.mcp-tools": {
852
+ "ai-portal.show-cases": {
780
853
  "properties": [
781
854
  {
782
855
  "name": "list",
@@ -786,16 +859,16 @@
786
859
  "type": "reference",
787
860
  "typeName": {
788
861
  "type": "identifier",
789
- "name": "McpTool"
862
+ "name": "ShowCase"
790
863
  }
791
864
  }
792
865
  }
793
866
  },
794
867
  {
795
- "name": "withContainer",
868
+ "name": "taskUrlTemplate",
796
869
  "annotation": {
797
870
  "type": "keyword",
798
- "value": "boolean"
871
+ "value": "string"
799
872
  }
800
873
  }
801
874
  ],
@@ -804,13 +877,13 @@
804
877
  "types": [
805
878
  {
806
879
  "type": "interface",
807
- "name": "McpTool",
880
+ "name": "ShowCase",
808
881
  "body": [
809
882
  {
810
883
  "type": "propertySignature",
811
884
  "key": {
812
885
  "type": "identifier",
813
- "name": "name"
886
+ "name": "taskId"
814
887
  },
815
888
  "annotation": {
816
889
  "type": "keyword",
@@ -834,7 +907,7 @@
834
907
  "type": "propertySignature",
835
908
  "key": {
836
909
  "type": "identifier",
837
- "name": "description"
910
+ "name": "summary"
838
911
  },
839
912
  "annotation": {
840
913
  "type": "keyword",
@@ -846,44 +919,7 @@
846
919
  "type": "propertySignature",
847
920
  "key": {
848
921
  "type": "identifier",
849
- "name": "icon"
850
- },
851
- "annotation": {
852
- "type": "reference",
853
- "typeName": {
854
- "type": "identifier",
855
- "name": "GeneralIconProps"
856
- }
857
- },
858
- "optional": true,
859
- "computed": false
860
- },
861
- {
862
- "type": "propertySignature",
863
- "key": {
864
- "type": "identifier",
865
- "name": "server"
866
- },
867
- "annotation": {
868
- "type": "reference",
869
- "typeName": {
870
- "type": "identifier",
871
- "name": "McpServer"
872
- }
873
- },
874
- "computed": false
875
- }
876
- ]
877
- },
878
- {
879
- "type": "interface",
880
- "name": "McpServer",
881
- "body": [
882
- {
883
- "type": "propertySignature",
884
- "key": {
885
- "type": "identifier",
886
- "name": "id"
922
+ "name": "scenario"
887
923
  },
888
924
  "annotation": {
889
925
  "type": "keyword",
@@ -895,12 +931,13 @@
895
931
  "type": "propertySignature",
896
932
  "key": {
897
933
  "type": "identifier",
898
- "name": "name"
934
+ "name": "thumbUrl"
899
935
  },
900
936
  "annotation": {
901
937
  "type": "keyword",
902
938
  "value": "string"
903
939
  },
940
+ "optional": true,
904
941
  "computed": false
905
942
  }
906
943
  ]
@@ -1019,6 +1056,103 @@
1019
1056
  }
1020
1057
  ]
1021
1058
  },
1059
+ "ai-portal.ai-agents": {
1060
+ "properties": [
1061
+ {
1062
+ "name": "list",
1063
+ "annotation": {
1064
+ "type": "array",
1065
+ "elementType": {
1066
+ "type": "reference",
1067
+ "typeName": {
1068
+ "type": "identifier",
1069
+ "name": "Agent"
1070
+ }
1071
+ }
1072
+ }
1073
+ },
1074
+ {
1075
+ "name": "urlTemplate",
1076
+ "annotation": {
1077
+ "type": "keyword",
1078
+ "value": "string"
1079
+ }
1080
+ },
1081
+ {
1082
+ "name": "withContainer",
1083
+ "annotation": {
1084
+ "type": "keyword",
1085
+ "value": "boolean"
1086
+ }
1087
+ }
1088
+ ],
1089
+ "events": [],
1090
+ "methods": [],
1091
+ "types": [
1092
+ {
1093
+ "type": "interface",
1094
+ "name": "Agent",
1095
+ "body": [
1096
+ {
1097
+ "type": "propertySignature",
1098
+ "key": {
1099
+ "type": "identifier",
1100
+ "name": "name"
1101
+ },
1102
+ "annotation": {
1103
+ "type": "keyword",
1104
+ "value": "string"
1105
+ },
1106
+ "computed": false
1107
+ },
1108
+ {
1109
+ "type": "propertySignature",
1110
+ "key": {
1111
+ "type": "identifier",
1112
+ "name": "description"
1113
+ },
1114
+ "annotation": {
1115
+ "type": "keyword",
1116
+ "value": "string"
1117
+ },
1118
+ "computed": false
1119
+ },
1120
+ {
1121
+ "type": "propertySignature",
1122
+ "key": {
1123
+ "type": "identifier",
1124
+ "name": "icon"
1125
+ },
1126
+ "annotation": {
1127
+ "type": "reference",
1128
+ "typeName": {
1129
+ "type": "identifier",
1130
+ "name": "GeneralIconProps"
1131
+ }
1132
+ },
1133
+ "optional": true,
1134
+ "computed": false
1135
+ },
1136
+ {
1137
+ "type": "propertySignature",
1138
+ "key": {
1139
+ "type": "identifier",
1140
+ "name": "tags"
1141
+ },
1142
+ "annotation": {
1143
+ "type": "array",
1144
+ "elementType": {
1145
+ "type": "keyword",
1146
+ "value": "string"
1147
+ }
1148
+ },
1149
+ "optional": true,
1150
+ "computed": false
1151
+ }
1152
+ ]
1153
+ }
1154
+ ]
1155
+ },
1022
1156
  "ai-portal.project-summary": {
1023
1157
  "properties": [
1024
1158
  {
@@ -1241,153 +1375,6 @@
1241
1375
  }
1242
1376
  ]
1243
1377
  },
1244
- "ai-portal.ai-agents": {
1245
- "properties": [
1246
- {
1247
- "name": "list",
1248
- "annotation": {
1249
- "type": "array",
1250
- "elementType": {
1251
- "type": "reference",
1252
- "typeName": {
1253
- "type": "identifier",
1254
- "name": "Agent"
1255
- }
1256
- }
1257
- }
1258
- },
1259
- {
1260
- "name": "urlTemplate",
1261
- "annotation": {
1262
- "type": "keyword",
1263
- "value": "string"
1264
- }
1265
- },
1266
- {
1267
- "name": "withContainer",
1268
- "annotation": {
1269
- "type": "keyword",
1270
- "value": "boolean"
1271
- }
1272
- }
1273
- ],
1274
- "events": [],
1275
- "methods": [],
1276
- "types": [
1277
- {
1278
- "type": "interface",
1279
- "name": "Agent",
1280
- "body": [
1281
- {
1282
- "type": "propertySignature",
1283
- "key": {
1284
- "type": "identifier",
1285
- "name": "name"
1286
- },
1287
- "annotation": {
1288
- "type": "keyword",
1289
- "value": "string"
1290
- },
1291
- "computed": false
1292
- },
1293
- {
1294
- "type": "propertySignature",
1295
- "key": {
1296
- "type": "identifier",
1297
- "name": "description"
1298
- },
1299
- "annotation": {
1300
- "type": "keyword",
1301
- "value": "string"
1302
- },
1303
- "computed": false
1304
- },
1305
- {
1306
- "type": "propertySignature",
1307
- "key": {
1308
- "type": "identifier",
1309
- "name": "icon"
1310
- },
1311
- "annotation": {
1312
- "type": "reference",
1313
- "typeName": {
1314
- "type": "identifier",
1315
- "name": "GeneralIconProps"
1316
- }
1317
- },
1318
- "optional": true,
1319
- "computed": false
1320
- },
1321
- {
1322
- "type": "propertySignature",
1323
- "key": {
1324
- "type": "identifier",
1325
- "name": "tags"
1326
- },
1327
- "annotation": {
1328
- "type": "array",
1329
- "elementType": {
1330
- "type": "keyword",
1331
- "value": "string"
1332
- }
1333
- },
1334
- "optional": true,
1335
- "computed": false
1336
- }
1337
- ]
1338
- }
1339
- ]
1340
- },
1341
- "ai-portal.chat-box": {
1342
- "properties": [
1343
- {
1344
- "name": "disabled",
1345
- "annotation": {
1346
- "type": "keyword",
1347
- "value": "boolean"
1348
- }
1349
- },
1350
- {
1351
- "name": "placeholder",
1352
- "annotation": {
1353
- "type": "keyword",
1354
- "value": "string"
1355
- }
1356
- },
1357
- {
1358
- "name": "autoFocus",
1359
- "annotation": {
1360
- "type": "keyword",
1361
- "value": "boolean"
1362
- }
1363
- }
1364
- ],
1365
- "events": [
1366
- {
1367
- "name": "message.submit",
1368
- "detail": {
1369
- "annotation": {
1370
- "type": "keyword",
1371
- "value": "string"
1372
- }
1373
- }
1374
- }
1375
- ],
1376
- "methods": []
1377
- },
1378
- "ai-portal.preview-container": {
1379
- "properties": [
1380
- {
1381
- "name": "source",
1382
- "annotation": {
1383
- "type": "keyword",
1384
- "value": "string"
1385
- }
1386
- }
1387
- ],
1388
- "events": [],
1389
- "methods": []
1390
- },
1391
1378
  "ai-portal.action-buttons": {
1392
1379
  "properties": [
1393
1380
  {
@@ -1510,6 +1497,19 @@
1510
1497
  }
1511
1498
  ]
1512
1499
  },
1500
+ "ai-portal.preview-container": {
1501
+ "properties": [
1502
+ {
1503
+ "name": "source",
1504
+ "annotation": {
1505
+ "type": "keyword",
1506
+ "value": "string"
1507
+ }
1508
+ }
1509
+ ],
1510
+ "events": [],
1511
+ "methods": []
1512
+ },
1513
1513
  "ai-portal.project-conversations": {
1514
1514
  "properties": [
1515
1515
  {
@@ -1639,6 +1639,19 @@
1639
1639
  },
1640
1640
  "optional": true,
1641
1641
  "computed": false
1642
+ },
1643
+ {
1644
+ "type": "propertySignature",
1645
+ "key": {
1646
+ "type": "identifier",
1647
+ "name": "username"
1648
+ },
1649
+ "annotation": {
1650
+ "type": "keyword",
1651
+ "value": "string"
1652
+ },
1653
+ "optional": true,
1654
+ "computed": false
1642
1655
  }
1643
1656
  ]
1644
1657
  },
@@ -13,6 +13,7 @@ export interface Conversation {
13
13
  startTime: number;
14
14
  description?: string;
15
15
  goal?: string;
16
+ username?: string;
16
17
  }
17
18
  export interface ActionClickDetail {
18
19
  action: SimpleActionType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/ai-portal",
3
- "version": "0.39.1",
3
+ "version": "0.39.3",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,5 +48,5 @@
48
48
  "@next-bricks/presentational": "*",
49
49
  "@next-bricks/vs": "*"
50
50
  },
51
- "gitHead": "cc7aca070090d91efb5bfccefd55f6fcb777675e"
51
+ "gitHead": "b0d24c80731ae56f31997e8bcde52dba4e4495fd"
52
52
  }