@next-bricks/ai-portal 0.58.11 → 0.58.13

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 +45 -45
  2. package/dist/chunks/151.0550e056.js +2 -0
  3. package/dist/chunks/151.0550e056.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.82360f9a.js +2 -0
  7. package/dist/chunks/chat-box.82360f9a.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.5fc54860.js} +2 -2
  11. package/dist/chunks/{main.99c703d7.js.map → main.5fc54860.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 +24 -24
  15. package/dist/{index.b5b0ddea.js → index.a9ae68ac.js} +2 -2
  16. package/dist/{index.b5b0ddea.js.map → index.a9ae68ac.js.map} +1 -1
  17. package/dist/manifest.json +349 -349
  18. package/dist/types.json +354 -328
  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
package/dist/types.json CHANGED
@@ -1,4 +1,108 @@
1
1
  {
2
+ "ai-portal.stat-with-mini-chart": {
3
+ "properties": [
4
+ {
5
+ "name": "label",
6
+ "annotation": {
7
+ "type": "keyword",
8
+ "value": "string"
9
+ }
10
+ },
11
+ {
12
+ "name": "value",
13
+ "annotation": {
14
+ "type": "keyword",
15
+ "value": "string"
16
+ }
17
+ },
18
+ {
19
+ "name": "size",
20
+ "annotation": {
21
+ "type": "union",
22
+ "types": [
23
+ {
24
+ "type": "jsLiteral",
25
+ "value": "medium"
26
+ },
27
+ {
28
+ "type": "jsLiteral",
29
+ "value": "small"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "name": "lineColor",
36
+ "annotation": {
37
+ "type": "keyword",
38
+ "value": "string"
39
+ }
40
+ },
41
+ {
42
+ "name": "showArea",
43
+ "annotation": {
44
+ "type": "keyword",
45
+ "value": "boolean"
46
+ }
47
+ },
48
+ {
49
+ "name": "min",
50
+ "annotation": {
51
+ "type": "keyword",
52
+ "value": "number"
53
+ }
54
+ },
55
+ {
56
+ "name": "max",
57
+ "annotation": {
58
+ "type": "keyword",
59
+ "value": "number"
60
+ }
61
+ },
62
+ {
63
+ "name": "xField",
64
+ "annotation": {
65
+ "type": "keyword",
66
+ "value": "string"
67
+ }
68
+ },
69
+ {
70
+ "name": "yField",
71
+ "annotation": {
72
+ "type": "keyword",
73
+ "value": "string"
74
+ }
75
+ },
76
+ {
77
+ "name": "data",
78
+ "annotation": {
79
+ "type": "array",
80
+ "elementType": {
81
+ "type": "reference",
82
+ "typeName": {
83
+ "type": "identifier",
84
+ "name": "Record"
85
+ },
86
+ "typeParameters": {
87
+ "type": "typeParameterInstantiation",
88
+ "params": [
89
+ {
90
+ "type": "keyword",
91
+ "value": "string"
92
+ },
93
+ {
94
+ "type": "keyword",
95
+ "value": "number"
96
+ }
97
+ ]
98
+ }
99
+ }
100
+ }
101
+ }
102
+ ],
103
+ "events": [],
104
+ "methods": []
105
+ },
2
106
  "ai-portal.home-container": {
3
107
  "properties": [
4
108
  {
@@ -146,71 +250,6 @@
146
250
  }
147
251
  }
148
252
  },
149
- "ai-portal.set-chat-command": {
150
- "type": "provider",
151
- "params": [
152
- {
153
- "name": "command",
154
- "annotation": {
155
- "type": "union",
156
- "types": [
157
- {
158
- "type": "reference",
159
- "typeName": {
160
- "type": "identifier",
161
- "name": "ChatCommand"
162
- }
163
- },
164
- {
165
- "type": "keyword",
166
- "value": "null"
167
- }
168
- ]
169
- }
170
- }
171
- ],
172
- "returns": {
173
- "annotation": {
174
- "type": "keyword",
175
- "value": "void"
176
- }
177
- },
178
- "types": [
179
- {
180
- "type": "interface",
181
- "name": "ChatCommand",
182
- "body": [
183
- {
184
- "type": "propertySignature",
185
- "key": {
186
- "type": "identifier",
187
- "name": "command"
188
- },
189
- "annotation": {
190
- "type": "keyword",
191
- "value": "string"
192
- },
193
- "computed": false
194
- },
195
- {
196
- "type": "propertySignature",
197
- "key": {
198
- "type": "identifier",
199
- "name": "payload"
200
- },
201
- "annotation": {
202
- "type": "reference",
203
- "typeName": {
204
- "type": "identifier",
205
- "name": "CommandPayload"
206
- }
207
- },
208
- "computed": false
209
- }
210
- ]
211
- }
212
- ]
213
- },
214
253
  "ai-portal.save-request-store": {
215
254
  "type": "provider",
216
255
  "params": [
@@ -712,6 +751,71 @@
712
751
  }
713
752
  }
714
753
  },
754
+ "ai-portal.set-chat-command": {
755
+ "type": "provider",
756
+ "params": [
757
+ {
758
+ "name": "command",
759
+ "annotation": {
760
+ "type": "union",
761
+ "types": [
762
+ {
763
+ "type": "reference",
764
+ "typeName": {
765
+ "type": "identifier",
766
+ "name": "ChatCommand"
767
+ }
768
+ },
769
+ {
770
+ "type": "keyword",
771
+ "value": "null"
772
+ }
773
+ ]
774
+ }
775
+ }
776
+ ],
777
+ "returns": {
778
+ "annotation": {
779
+ "type": "keyword",
780
+ "value": "void"
781
+ }
782
+ },
783
+ "types": [
784
+ {
785
+ "type": "interface",
786
+ "name": "ChatCommand",
787
+ "body": [
788
+ {
789
+ "type": "propertySignature",
790
+ "key": {
791
+ "type": "identifier",
792
+ "name": "command"
793
+ },
794
+ "annotation": {
795
+ "type": "keyword",
796
+ "value": "string"
797
+ },
798
+ "computed": false
799
+ },
800
+ {
801
+ "type": "propertySignature",
802
+ "key": {
803
+ "type": "identifier",
804
+ "name": "payload"
805
+ },
806
+ "annotation": {
807
+ "type": "reference",
808
+ "typeName": {
809
+ "type": "identifier",
810
+ "name": "CommandPayload"
811
+ }
812
+ },
813
+ "computed": false
814
+ }
815
+ ]
816
+ }
817
+ ]
818
+ },
715
819
  "ai-portal.page-container": {
716
820
  "properties": [
717
821
  {
@@ -820,110 +924,6 @@
820
924
  }
821
925
  ]
822
926
  },
823
- "ai-portal.stat-with-mini-chart": {
824
- "properties": [
825
- {
826
- "name": "label",
827
- "annotation": {
828
- "type": "keyword",
829
- "value": "string"
830
- }
831
- },
832
- {
833
- "name": "value",
834
- "annotation": {
835
- "type": "keyword",
836
- "value": "string"
837
- }
838
- },
839
- {
840
- "name": "size",
841
- "annotation": {
842
- "type": "union",
843
- "types": [
844
- {
845
- "type": "jsLiteral",
846
- "value": "medium"
847
- },
848
- {
849
- "type": "jsLiteral",
850
- "value": "small"
851
- }
852
- ]
853
- }
854
- },
855
- {
856
- "name": "lineColor",
857
- "annotation": {
858
- "type": "keyword",
859
- "value": "string"
860
- }
861
- },
862
- {
863
- "name": "showArea",
864
- "annotation": {
865
- "type": "keyword",
866
- "value": "boolean"
867
- }
868
- },
869
- {
870
- "name": "min",
871
- "annotation": {
872
- "type": "keyword",
873
- "value": "number"
874
- }
875
- },
876
- {
877
- "name": "max",
878
- "annotation": {
879
- "type": "keyword",
880
- "value": "number"
881
- }
882
- },
883
- {
884
- "name": "xField",
885
- "annotation": {
886
- "type": "keyword",
887
- "value": "string"
888
- }
889
- },
890
- {
891
- "name": "yField",
892
- "annotation": {
893
- "type": "keyword",
894
- "value": "string"
895
- }
896
- },
897
- {
898
- "name": "data",
899
- "annotation": {
900
- "type": "array",
901
- "elementType": {
902
- "type": "reference",
903
- "typeName": {
904
- "type": "identifier",
905
- "name": "Record"
906
- },
907
- "typeParameters": {
908
- "type": "typeParameterInstantiation",
909
- "params": [
910
- {
911
- "type": "keyword",
912
- "value": "string"
913
- },
914
- {
915
- "type": "keyword",
916
- "value": "number"
917
- }
918
- ]
919
- }
920
- }
921
- }
922
- }
923
- ],
924
- "events": [],
925
- "methods": []
926
- },
927
927
  "ai-portal.tab-list": {
928
928
  "properties": [
929
929
  {
@@ -1324,7 +1324,7 @@
1324
1324
  }
1325
1325
  ]
1326
1326
  },
1327
- "ai-portal.mcp-tools": {
1327
+ "ai-portal.show-cases": {
1328
1328
  "properties": [
1329
1329
  {
1330
1330
  "name": "list",
@@ -1334,13 +1334,13 @@
1334
1334
  "type": "reference",
1335
1335
  "typeName": {
1336
1336
  "type": "identifier",
1337
- "name": "McpTool"
1337
+ "name": "ShowCaseType"
1338
1338
  }
1339
1339
  }
1340
1340
  }
1341
1341
  },
1342
1342
  {
1343
- "name": "stickyTop",
1343
+ "name": "limit",
1344
1344
  "annotation": {
1345
1345
  "type": "keyword",
1346
1346
  "value": "number"
@@ -1352,13 +1352,13 @@
1352
1352
  "types": [
1353
1353
  {
1354
1354
  "type": "interface",
1355
- "name": "McpTool",
1355
+ "name": "ShowCaseType",
1356
1356
  "body": [
1357
1357
  {
1358
1358
  "type": "propertySignature",
1359
1359
  "key": {
1360
1360
  "type": "identifier",
1361
- "name": "name"
1361
+ "name": "conversationId"
1362
1362
  },
1363
1363
  "annotation": {
1364
1364
  "type": "keyword",
@@ -1382,7 +1382,7 @@
1382
1382
  "type": "propertySignature",
1383
1383
  "key": {
1384
1384
  "type": "identifier",
1385
- "name": "description"
1385
+ "name": "summary"
1386
1386
  },
1387
1387
  "annotation": {
1388
1388
  "type": "keyword",
@@ -1394,44 +1394,7 @@
1394
1394
  "type": "propertySignature",
1395
1395
  "key": {
1396
1396
  "type": "identifier",
1397
- "name": "icon"
1398
- },
1399
- "annotation": {
1400
- "type": "reference",
1401
- "typeName": {
1402
- "type": "identifier",
1403
- "name": "GeneralIconProps"
1404
- }
1405
- },
1406
- "optional": true,
1407
- "computed": false
1408
- },
1409
- {
1410
- "type": "propertySignature",
1411
- "key": {
1412
- "type": "identifier",
1413
- "name": "server"
1414
- },
1415
- "annotation": {
1416
- "type": "reference",
1417
- "typeName": {
1418
- "type": "identifier",
1419
- "name": "McpServer"
1420
- }
1421
- },
1422
- "computed": false
1423
- }
1424
- ]
1425
- },
1426
- {
1427
- "type": "interface",
1428
- "name": "McpServer",
1429
- "body": [
1430
- {
1431
- "type": "propertySignature",
1432
- "key": {
1433
- "type": "identifier",
1434
- "name": "id"
1397
+ "name": "scenario"
1435
1398
  },
1436
1399
  "annotation": {
1437
1400
  "type": "keyword",
@@ -1443,19 +1406,20 @@
1443
1406
  "type": "propertySignature",
1444
1407
  "key": {
1445
1408
  "type": "identifier",
1446
- "name": "name"
1409
+ "name": "url"
1447
1410
  },
1448
1411
  "annotation": {
1449
1412
  "type": "keyword",
1450
1413
  "value": "string"
1451
1414
  },
1415
+ "optional": true,
1452
1416
  "computed": false
1453
1417
  }
1454
1418
  ]
1455
1419
  }
1456
1420
  ]
1457
1421
  },
1458
- "ai-portal.show-cases": {
1422
+ "ai-portal.mcp-tools": {
1459
1423
  "properties": [
1460
1424
  {
1461
1425
  "name": "list",
@@ -1465,13 +1429,13 @@
1465
1429
  "type": "reference",
1466
1430
  "typeName": {
1467
1431
  "type": "identifier",
1468
- "name": "ShowCaseType"
1432
+ "name": "McpTool"
1469
1433
  }
1470
1434
  }
1471
1435
  }
1472
1436
  },
1473
1437
  {
1474
- "name": "limit",
1438
+ "name": "stickyTop",
1475
1439
  "annotation": {
1476
1440
  "type": "keyword",
1477
1441
  "value": "number"
@@ -1483,13 +1447,37 @@
1483
1447
  "types": [
1484
1448
  {
1485
1449
  "type": "interface",
1486
- "name": "ShowCaseType",
1450
+ "name": "McpTool",
1487
1451
  "body": [
1488
1452
  {
1489
1453
  "type": "propertySignature",
1490
1454
  "key": {
1491
1455
  "type": "identifier",
1492
- "name": "conversationId"
1456
+ "name": "name"
1457
+ },
1458
+ "annotation": {
1459
+ "type": "keyword",
1460
+ "value": "string"
1461
+ },
1462
+ "computed": false
1463
+ },
1464
+ {
1465
+ "type": "propertySignature",
1466
+ "key": {
1467
+ "type": "identifier",
1468
+ "name": "title"
1469
+ },
1470
+ "annotation": {
1471
+ "type": "keyword",
1472
+ "value": "string"
1473
+ },
1474
+ "computed": false
1475
+ },
1476
+ {
1477
+ "type": "propertySignature",
1478
+ "key": {
1479
+ "type": "identifier",
1480
+ "name": "description"
1493
1481
  },
1494
1482
  "annotation": {
1495
1483
  "type": "keyword",
@@ -1501,31 +1489,44 @@
1501
1489
  "type": "propertySignature",
1502
1490
  "key": {
1503
1491
  "type": "identifier",
1504
- "name": "title"
1492
+ "name": "icon"
1505
1493
  },
1506
1494
  "annotation": {
1507
- "type": "keyword",
1508
- "value": "string"
1495
+ "type": "reference",
1496
+ "typeName": {
1497
+ "type": "identifier",
1498
+ "name": "GeneralIconProps"
1499
+ }
1509
1500
  },
1501
+ "optional": true,
1510
1502
  "computed": false
1511
1503
  },
1512
1504
  {
1513
1505
  "type": "propertySignature",
1514
1506
  "key": {
1515
1507
  "type": "identifier",
1516
- "name": "summary"
1508
+ "name": "server"
1517
1509
  },
1518
1510
  "annotation": {
1519
- "type": "keyword",
1520
- "value": "string"
1511
+ "type": "reference",
1512
+ "typeName": {
1513
+ "type": "identifier",
1514
+ "name": "McpServer"
1515
+ }
1521
1516
  },
1522
1517
  "computed": false
1523
- },
1518
+ }
1519
+ ]
1520
+ },
1521
+ {
1522
+ "type": "interface",
1523
+ "name": "McpServer",
1524
+ "body": [
1524
1525
  {
1525
1526
  "type": "propertySignature",
1526
1527
  "key": {
1527
1528
  "type": "identifier",
1528
- "name": "scenario"
1529
+ "name": "id"
1529
1530
  },
1530
1531
  "annotation": {
1531
1532
  "type": "keyword",
@@ -1537,13 +1538,12 @@
1537
1538
  "type": "propertySignature",
1538
1539
  "key": {
1539
1540
  "type": "identifier",
1540
- "name": "url"
1541
+ "name": "name"
1541
1542
  },
1542
1543
  "annotation": {
1543
1544
  "type": "keyword",
1544
1545
  "value": "string"
1545
1546
  },
1546
- "optional": true,
1547
1547
  "computed": false
1548
1548
  }
1549
1549
  ]
@@ -3671,104 +3671,6 @@
3671
3671
  }
3672
3672
  ]
3673
3673
  },
3674
- "ai-portal.show-case": {
3675
- "properties": [
3676
- {
3677
- "name": "caseTitle",
3678
- "annotation": {
3679
- "type": "keyword",
3680
- "value": "string"
3681
- }
3682
- },
3683
- {
3684
- "name": "summary",
3685
- "annotation": {
3686
- "type": "keyword",
3687
- "value": "string"
3688
- }
3689
- },
3690
- {
3691
- "name": "url",
3692
- "annotation": {
3693
- "type": "keyword",
3694
- "value": "string"
3695
- }
3696
- }
3697
- ],
3698
- "events": [],
3699
- "methods": []
3700
- },
3701
- "ai-portal.flow-tabs": {
3702
- "properties": [
3703
- {
3704
- "name": "tabs",
3705
- "annotation": {
3706
- "type": "array",
3707
- "elementType": {
3708
- "type": "reference",
3709
- "typeName": {
3710
- "type": "identifier",
3711
- "name": "Tab"
3712
- }
3713
- }
3714
- }
3715
- },
3716
- {
3717
- "name": "activeTab",
3718
- "annotation": {
3719
- "type": "keyword",
3720
- "value": "string"
3721
- }
3722
- }
3723
- ],
3724
- "events": [
3725
- {
3726
- "name": "tab.click",
3727
- "detail": {
3728
- "annotation": {
3729
- "type": "reference",
3730
- "typeName": {
3731
- "type": "identifier",
3732
- "name": "Tab"
3733
- }
3734
- }
3735
- }
3736
- }
3737
- ],
3738
- "methods": [],
3739
- "types": [
3740
- {
3741
- "type": "interface",
3742
- "name": "Tab",
3743
- "body": [
3744
- {
3745
- "type": "propertySignature",
3746
- "key": {
3747
- "type": "identifier",
3748
- "name": "id"
3749
- },
3750
- "annotation": {
3751
- "type": "keyword",
3752
- "value": "string"
3753
- },
3754
- "computed": false
3755
- },
3756
- {
3757
- "type": "propertySignature",
3758
- "key": {
3759
- "type": "identifier",
3760
- "name": "label"
3761
- },
3762
- "annotation": {
3763
- "type": "keyword",
3764
- "value": "string"
3765
- },
3766
- "computed": false
3767
- }
3768
- ]
3769
- }
3770
- ]
3771
- },
3772
3674
  "ai-portal.stage-flow": {
3773
3675
  "properties": [
3774
3676
  {
@@ -4131,6 +4033,104 @@
4131
4033
  }
4132
4034
  ]
4133
4035
  },
4036
+ "ai-portal.show-case": {
4037
+ "properties": [
4038
+ {
4039
+ "name": "caseTitle",
4040
+ "annotation": {
4041
+ "type": "keyword",
4042
+ "value": "string"
4043
+ }
4044
+ },
4045
+ {
4046
+ "name": "summary",
4047
+ "annotation": {
4048
+ "type": "keyword",
4049
+ "value": "string"
4050
+ }
4051
+ },
4052
+ {
4053
+ "name": "url",
4054
+ "annotation": {
4055
+ "type": "keyword",
4056
+ "value": "string"
4057
+ }
4058
+ }
4059
+ ],
4060
+ "events": [],
4061
+ "methods": []
4062
+ },
4063
+ "ai-portal.flow-tabs": {
4064
+ "properties": [
4065
+ {
4066
+ "name": "tabs",
4067
+ "annotation": {
4068
+ "type": "array",
4069
+ "elementType": {
4070
+ "type": "reference",
4071
+ "typeName": {
4072
+ "type": "identifier",
4073
+ "name": "Tab"
4074
+ }
4075
+ }
4076
+ }
4077
+ },
4078
+ {
4079
+ "name": "activeTab",
4080
+ "annotation": {
4081
+ "type": "keyword",
4082
+ "value": "string"
4083
+ }
4084
+ }
4085
+ ],
4086
+ "events": [
4087
+ {
4088
+ "name": "tab.click",
4089
+ "detail": {
4090
+ "annotation": {
4091
+ "type": "reference",
4092
+ "typeName": {
4093
+ "type": "identifier",
4094
+ "name": "Tab"
4095
+ }
4096
+ }
4097
+ }
4098
+ }
4099
+ ],
4100
+ "methods": [],
4101
+ "types": [
4102
+ {
4103
+ "type": "interface",
4104
+ "name": "Tab",
4105
+ "body": [
4106
+ {
4107
+ "type": "propertySignature",
4108
+ "key": {
4109
+ "type": "identifier",
4110
+ "name": "id"
4111
+ },
4112
+ "annotation": {
4113
+ "type": "keyword",
4114
+ "value": "string"
4115
+ },
4116
+ "computed": false
4117
+ },
4118
+ {
4119
+ "type": "propertySignature",
4120
+ "key": {
4121
+ "type": "identifier",
4122
+ "name": "label"
4123
+ },
4124
+ "annotation": {
4125
+ "type": "keyword",
4126
+ "value": "string"
4127
+ },
4128
+ "computed": false
4129
+ }
4130
+ ]
4131
+ }
4132
+ ]
4133
+ },
4134
4134
  "ai-portal.running-flow": {
4135
4135
  "properties": [
4136
4136
  {
@@ -5578,7 +5578,33 @@
5578
5578
  "type": "propertySignature",
5579
5579
  "key": {
5580
5580
  "type": "identifier",
5581
- "name": "options"
5581
+ "name": "groupKey"
5582
+ },
5583
+ "annotation": {
5584
+ "type": "keyword",
5585
+ "value": "string"
5586
+ },
5587
+ "optional": true,
5588
+ "computed": false
5589
+ },
5590
+ {
5591
+ "type": "propertySignature",
5592
+ "key": {
5593
+ "type": "identifier",
5594
+ "name": "groupLabel"
5595
+ },
5596
+ "annotation": {
5597
+ "type": "keyword",
5598
+ "value": "string"
5599
+ },
5600
+ "optional": true,
5601
+ "computed": false
5602
+ },
5603
+ {
5604
+ "type": "propertySignature",
5605
+ "key": {
5606
+ "type": "identifier",
5607
+ "name": "subCommands"
5582
5608
  },
5583
5609
  "annotation": {
5584
5610
  "type": "array",