@next-bricks/ai-portal 0.58.9 → 0.58.11
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.
- package/dist/bricks.json +25 -25
- package/dist/chunks/151.d08c1ef1.js +2 -0
- package/dist/chunks/151.d08c1ef1.js.map +1 -0
- package/dist/chunks/2232.57f7b38c.js +2 -0
- package/dist/chunks/2232.57f7b38c.js.map +1 -0
- package/dist/chunks/6811.122526d0.js +2 -0
- package/dist/chunks/6811.122526d0.js.map +1 -0
- package/dist/chunks/9496.065a4fc5.js +2 -0
- package/dist/chunks/9496.065a4fc5.js.map +1 -0
- package/dist/chunks/chat-stream.b713afed.js +2 -0
- package/dist/chunks/chat-stream.b713afed.js.map +1 -0
- package/dist/chunks/{main.f6e562f8.js → main.99c703d7.js} +2 -2
- package/dist/chunks/{main.f6e562f8.js.map → main.99c703d7.js.map} +1 -1
- package/dist/examples.json +10 -10
- package/dist/{index.41d721be.js → index.b5b0ddea.js} +2 -2
- package/dist/{index.41d721be.js.map → index.b5b0ddea.js.map} +1 -1
- package/dist/manifest.json +195 -191
- package/dist/types.json +253 -246
- package/dist-types/chat-stream/ChatStream.d.ts +1 -1
- package/dist-types/chat-stream/index.d.ts +2 -0
- package/dist-types/chat-stream/useConversationStream.d.ts +2 -2
- package/dist-types/{cruise-canvas/FileList → shared/FilePreview}/FileList.d.ts +1 -1
- package/dist-types/shared/FilePreview/i18n.d.ts +3 -1
- package/dist-types/shared/interfaces.d.ts +1 -1
- package/package.json +2 -2
- package/dist/chunks/151.098c765c.js +0 -2
- package/dist/chunks/151.098c765c.js.map +0 -1
- package/dist/chunks/2232.3e1796f1.js +0 -2
- package/dist/chunks/2232.3e1796f1.js.map +0 -1
- package/dist/chunks/7848.8261656a.js +0 -2
- package/dist/chunks/7848.8261656a.js.map +0 -1
- package/dist/chunks/9496.0c35a324.js +0 -2
- package/dist/chunks/9496.0c35a324.js.map +0 -1
- package/dist/chunks/chat-stream.541a3565.js +0 -2
- package/dist/chunks/chat-stream.541a3565.js.map +0 -1
package/dist/types.json
CHANGED
|
@@ -90,6 +90,127 @@
|
|
|
90
90
|
}
|
|
91
91
|
]
|
|
92
92
|
},
|
|
93
|
+
"ai-portal.call-tool": {
|
|
94
|
+
"type": "provider",
|
|
95
|
+
"params": [
|
|
96
|
+
{
|
|
97
|
+
"name": "tool",
|
|
98
|
+
"annotation": {
|
|
99
|
+
"type": "reference",
|
|
100
|
+
"typeName": {
|
|
101
|
+
"type": "identifier",
|
|
102
|
+
"name": "ToolInfo"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "params",
|
|
108
|
+
"annotation": {
|
|
109
|
+
"type": "reference",
|
|
110
|
+
"typeName": {
|
|
111
|
+
"type": "identifier",
|
|
112
|
+
"name": "Record"
|
|
113
|
+
},
|
|
114
|
+
"typeParameters": {
|
|
115
|
+
"type": "typeParameterInstantiation",
|
|
116
|
+
"params": [
|
|
117
|
+
{
|
|
118
|
+
"type": "keyword",
|
|
119
|
+
"value": "string"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "keyword",
|
|
123
|
+
"value": "unknown"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"returns": {
|
|
131
|
+
"annotation": {
|
|
132
|
+
"type": "reference",
|
|
133
|
+
"typeName": {
|
|
134
|
+
"type": "identifier",
|
|
135
|
+
"name": "Promise"
|
|
136
|
+
},
|
|
137
|
+
"typeParameters": {
|
|
138
|
+
"type": "typeParameterInstantiation",
|
|
139
|
+
"params": [
|
|
140
|
+
{
|
|
141
|
+
"type": "keyword",
|
|
142
|
+
"value": "unknown"
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
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
|
+
},
|
|
93
214
|
"ai-portal.save-request-store": {
|
|
94
215
|
"type": "provider",
|
|
95
216
|
"params": [
|
|
@@ -591,127 +712,6 @@
|
|
|
591
712
|
}
|
|
592
713
|
}
|
|
593
714
|
},
|
|
594
|
-
"ai-portal.call-tool": {
|
|
595
|
-
"type": "provider",
|
|
596
|
-
"params": [
|
|
597
|
-
{
|
|
598
|
-
"name": "tool",
|
|
599
|
-
"annotation": {
|
|
600
|
-
"type": "reference",
|
|
601
|
-
"typeName": {
|
|
602
|
-
"type": "identifier",
|
|
603
|
-
"name": "ToolInfo"
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
"name": "params",
|
|
609
|
-
"annotation": {
|
|
610
|
-
"type": "reference",
|
|
611
|
-
"typeName": {
|
|
612
|
-
"type": "identifier",
|
|
613
|
-
"name": "Record"
|
|
614
|
-
},
|
|
615
|
-
"typeParameters": {
|
|
616
|
-
"type": "typeParameterInstantiation",
|
|
617
|
-
"params": [
|
|
618
|
-
{
|
|
619
|
-
"type": "keyword",
|
|
620
|
-
"value": "string"
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
"type": "keyword",
|
|
624
|
-
"value": "unknown"
|
|
625
|
-
}
|
|
626
|
-
]
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
],
|
|
631
|
-
"returns": {
|
|
632
|
-
"annotation": {
|
|
633
|
-
"type": "reference",
|
|
634
|
-
"typeName": {
|
|
635
|
-
"type": "identifier",
|
|
636
|
-
"name": "Promise"
|
|
637
|
-
},
|
|
638
|
-
"typeParameters": {
|
|
639
|
-
"type": "typeParameterInstantiation",
|
|
640
|
-
"params": [
|
|
641
|
-
{
|
|
642
|
-
"type": "keyword",
|
|
643
|
-
"value": "unknown"
|
|
644
|
-
}
|
|
645
|
-
]
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
|
-
"ai-portal.set-chat-command": {
|
|
651
|
-
"type": "provider",
|
|
652
|
-
"params": [
|
|
653
|
-
{
|
|
654
|
-
"name": "command",
|
|
655
|
-
"annotation": {
|
|
656
|
-
"type": "union",
|
|
657
|
-
"types": [
|
|
658
|
-
{
|
|
659
|
-
"type": "reference",
|
|
660
|
-
"typeName": {
|
|
661
|
-
"type": "identifier",
|
|
662
|
-
"name": "ChatCommand"
|
|
663
|
-
}
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
"type": "keyword",
|
|
667
|
-
"value": "null"
|
|
668
|
-
}
|
|
669
|
-
]
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
],
|
|
673
|
-
"returns": {
|
|
674
|
-
"annotation": {
|
|
675
|
-
"type": "keyword",
|
|
676
|
-
"value": "void"
|
|
677
|
-
}
|
|
678
|
-
},
|
|
679
|
-
"types": [
|
|
680
|
-
{
|
|
681
|
-
"type": "interface",
|
|
682
|
-
"name": "ChatCommand",
|
|
683
|
-
"body": [
|
|
684
|
-
{
|
|
685
|
-
"type": "propertySignature",
|
|
686
|
-
"key": {
|
|
687
|
-
"type": "identifier",
|
|
688
|
-
"name": "command"
|
|
689
|
-
},
|
|
690
|
-
"annotation": {
|
|
691
|
-
"type": "keyword",
|
|
692
|
-
"value": "string"
|
|
693
|
-
},
|
|
694
|
-
"computed": false
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
"type": "propertySignature",
|
|
698
|
-
"key": {
|
|
699
|
-
"type": "identifier",
|
|
700
|
-
"name": "payload"
|
|
701
|
-
},
|
|
702
|
-
"annotation": {
|
|
703
|
-
"type": "reference",
|
|
704
|
-
"typeName": {
|
|
705
|
-
"type": "identifier",
|
|
706
|
-
"name": "CommandPayload"
|
|
707
|
-
}
|
|
708
|
-
},
|
|
709
|
-
"computed": false
|
|
710
|
-
}
|
|
711
|
-
]
|
|
712
|
-
}
|
|
713
|
-
]
|
|
714
|
-
},
|
|
715
715
|
"ai-portal.page-container": {
|
|
716
716
|
"properties": [
|
|
717
717
|
{
|
|
@@ -820,77 +820,6 @@
|
|
|
820
820
|
}
|
|
821
821
|
]
|
|
822
822
|
},
|
|
823
|
-
"ai-portal.tab-list": {
|
|
824
|
-
"properties": [
|
|
825
|
-
{
|
|
826
|
-
"name": "tabs",
|
|
827
|
-
"annotation": {
|
|
828
|
-
"type": "array",
|
|
829
|
-
"elementType": {
|
|
830
|
-
"type": "reference",
|
|
831
|
-
"typeName": {
|
|
832
|
-
"type": "identifier",
|
|
833
|
-
"name": "Tab"
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
"name": "activeTab",
|
|
840
|
-
"annotation": {
|
|
841
|
-
"type": "keyword",
|
|
842
|
-
"value": "string"
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
],
|
|
846
|
-
"events": [
|
|
847
|
-
{
|
|
848
|
-
"name": "tab.click",
|
|
849
|
-
"detail": {
|
|
850
|
-
"annotation": {
|
|
851
|
-
"type": "reference",
|
|
852
|
-
"typeName": {
|
|
853
|
-
"type": "identifier",
|
|
854
|
-
"name": "Tab"
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
],
|
|
860
|
-
"methods": [],
|
|
861
|
-
"types": [
|
|
862
|
-
{
|
|
863
|
-
"type": "interface",
|
|
864
|
-
"name": "Tab",
|
|
865
|
-
"body": [
|
|
866
|
-
{
|
|
867
|
-
"type": "propertySignature",
|
|
868
|
-
"key": {
|
|
869
|
-
"type": "identifier",
|
|
870
|
-
"name": "id"
|
|
871
|
-
},
|
|
872
|
-
"annotation": {
|
|
873
|
-
"type": "keyword",
|
|
874
|
-
"value": "string"
|
|
875
|
-
},
|
|
876
|
-
"computed": false
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
"type": "propertySignature",
|
|
880
|
-
"key": {
|
|
881
|
-
"type": "identifier",
|
|
882
|
-
"name": "label"
|
|
883
|
-
},
|
|
884
|
-
"annotation": {
|
|
885
|
-
"type": "keyword",
|
|
886
|
-
"value": "string"
|
|
887
|
-
},
|
|
888
|
-
"computed": false
|
|
889
|
-
}
|
|
890
|
-
]
|
|
891
|
-
}
|
|
892
|
-
]
|
|
893
|
-
},
|
|
894
823
|
"ai-portal.stat-with-mini-chart": {
|
|
895
824
|
"properties": [
|
|
896
825
|
{
|
|
@@ -995,6 +924,77 @@
|
|
|
995
924
|
"events": [],
|
|
996
925
|
"methods": []
|
|
997
926
|
},
|
|
927
|
+
"ai-portal.tab-list": {
|
|
928
|
+
"properties": [
|
|
929
|
+
{
|
|
930
|
+
"name": "tabs",
|
|
931
|
+
"annotation": {
|
|
932
|
+
"type": "array",
|
|
933
|
+
"elementType": {
|
|
934
|
+
"type": "reference",
|
|
935
|
+
"typeName": {
|
|
936
|
+
"type": "identifier",
|
|
937
|
+
"name": "Tab"
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"name": "activeTab",
|
|
944
|
+
"annotation": {
|
|
945
|
+
"type": "keyword",
|
|
946
|
+
"value": "string"
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
],
|
|
950
|
+
"events": [
|
|
951
|
+
{
|
|
952
|
+
"name": "tab.click",
|
|
953
|
+
"detail": {
|
|
954
|
+
"annotation": {
|
|
955
|
+
"type": "reference",
|
|
956
|
+
"typeName": {
|
|
957
|
+
"type": "identifier",
|
|
958
|
+
"name": "Tab"
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
],
|
|
964
|
+
"methods": [],
|
|
965
|
+
"types": [
|
|
966
|
+
{
|
|
967
|
+
"type": "interface",
|
|
968
|
+
"name": "Tab",
|
|
969
|
+
"body": [
|
|
970
|
+
{
|
|
971
|
+
"type": "propertySignature",
|
|
972
|
+
"key": {
|
|
973
|
+
"type": "identifier",
|
|
974
|
+
"name": "id"
|
|
975
|
+
},
|
|
976
|
+
"annotation": {
|
|
977
|
+
"type": "keyword",
|
|
978
|
+
"value": "string"
|
|
979
|
+
},
|
|
980
|
+
"computed": false
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"type": "propertySignature",
|
|
984
|
+
"key": {
|
|
985
|
+
"type": "identifier",
|
|
986
|
+
"name": "label"
|
|
987
|
+
},
|
|
988
|
+
"annotation": {
|
|
989
|
+
"type": "keyword",
|
|
990
|
+
"value": "string"
|
|
991
|
+
},
|
|
992
|
+
"computed": false
|
|
993
|
+
}
|
|
994
|
+
]
|
|
995
|
+
}
|
|
996
|
+
]
|
|
997
|
+
},
|
|
998
998
|
"ai-portal.elevo-logo": {
|
|
999
999
|
"properties": [],
|
|
1000
1000
|
"events": [],
|
|
@@ -1324,7 +1324,7 @@
|
|
|
1324
1324
|
}
|
|
1325
1325
|
]
|
|
1326
1326
|
},
|
|
1327
|
-
"ai-portal.
|
|
1327
|
+
"ai-portal.mcp-tools": {
|
|
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": "
|
|
1337
|
+
"name": "McpTool"
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
1341
|
},
|
|
1342
1342
|
{
|
|
1343
|
-
"name": "
|
|
1343
|
+
"name": "stickyTop",
|
|
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": "
|
|
1355
|
+
"name": "McpTool",
|
|
1356
1356
|
"body": [
|
|
1357
1357
|
{
|
|
1358
1358
|
"type": "propertySignature",
|
|
1359
1359
|
"key": {
|
|
1360
1360
|
"type": "identifier",
|
|
1361
|
-
"name": "
|
|
1361
|
+
"name": "name"
|
|
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": "
|
|
1385
|
+
"name": "description"
|
|
1386
1386
|
},
|
|
1387
1387
|
"annotation": {
|
|
1388
1388
|
"type": "keyword",
|
|
@@ -1394,7 +1394,44 @@
|
|
|
1394
1394
|
"type": "propertySignature",
|
|
1395
1395
|
"key": {
|
|
1396
1396
|
"type": "identifier",
|
|
1397
|
-
"name": "
|
|
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"
|
|
1398
1435
|
},
|
|
1399
1436
|
"annotation": {
|
|
1400
1437
|
"type": "keyword",
|
|
@@ -1406,20 +1443,19 @@
|
|
|
1406
1443
|
"type": "propertySignature",
|
|
1407
1444
|
"key": {
|
|
1408
1445
|
"type": "identifier",
|
|
1409
|
-
"name": "
|
|
1446
|
+
"name": "name"
|
|
1410
1447
|
},
|
|
1411
1448
|
"annotation": {
|
|
1412
1449
|
"type": "keyword",
|
|
1413
1450
|
"value": "string"
|
|
1414
1451
|
},
|
|
1415
|
-
"optional": true,
|
|
1416
1452
|
"computed": false
|
|
1417
1453
|
}
|
|
1418
1454
|
]
|
|
1419
1455
|
}
|
|
1420
1456
|
]
|
|
1421
1457
|
},
|
|
1422
|
-
"ai-portal.
|
|
1458
|
+
"ai-portal.show-cases": {
|
|
1423
1459
|
"properties": [
|
|
1424
1460
|
{
|
|
1425
1461
|
"name": "list",
|
|
@@ -1429,13 +1465,13 @@
|
|
|
1429
1465
|
"type": "reference",
|
|
1430
1466
|
"typeName": {
|
|
1431
1467
|
"type": "identifier",
|
|
1432
|
-
"name": "
|
|
1468
|
+
"name": "ShowCaseType"
|
|
1433
1469
|
}
|
|
1434
1470
|
}
|
|
1435
1471
|
}
|
|
1436
1472
|
},
|
|
1437
1473
|
{
|
|
1438
|
-
"name": "
|
|
1474
|
+
"name": "limit",
|
|
1439
1475
|
"annotation": {
|
|
1440
1476
|
"type": "keyword",
|
|
1441
1477
|
"value": "number"
|
|
@@ -1447,13 +1483,13 @@
|
|
|
1447
1483
|
"types": [
|
|
1448
1484
|
{
|
|
1449
1485
|
"type": "interface",
|
|
1450
|
-
"name": "
|
|
1486
|
+
"name": "ShowCaseType",
|
|
1451
1487
|
"body": [
|
|
1452
1488
|
{
|
|
1453
1489
|
"type": "propertySignature",
|
|
1454
1490
|
"key": {
|
|
1455
1491
|
"type": "identifier",
|
|
1456
|
-
"name": "
|
|
1492
|
+
"name": "conversationId"
|
|
1457
1493
|
},
|
|
1458
1494
|
"annotation": {
|
|
1459
1495
|
"type": "keyword",
|
|
@@ -1477,7 +1513,7 @@
|
|
|
1477
1513
|
"type": "propertySignature",
|
|
1478
1514
|
"key": {
|
|
1479
1515
|
"type": "identifier",
|
|
1480
|
-
"name": "
|
|
1516
|
+
"name": "summary"
|
|
1481
1517
|
},
|
|
1482
1518
|
"annotation": {
|
|
1483
1519
|
"type": "keyword",
|
|
@@ -1489,44 +1525,7 @@
|
|
|
1489
1525
|
"type": "propertySignature",
|
|
1490
1526
|
"key": {
|
|
1491
1527
|
"type": "identifier",
|
|
1492
|
-
"name": "
|
|
1493
|
-
},
|
|
1494
|
-
"annotation": {
|
|
1495
|
-
"type": "reference",
|
|
1496
|
-
"typeName": {
|
|
1497
|
-
"type": "identifier",
|
|
1498
|
-
"name": "GeneralIconProps"
|
|
1499
|
-
}
|
|
1500
|
-
},
|
|
1501
|
-
"optional": true,
|
|
1502
|
-
"computed": false
|
|
1503
|
-
},
|
|
1504
|
-
{
|
|
1505
|
-
"type": "propertySignature",
|
|
1506
|
-
"key": {
|
|
1507
|
-
"type": "identifier",
|
|
1508
|
-
"name": "server"
|
|
1509
|
-
},
|
|
1510
|
-
"annotation": {
|
|
1511
|
-
"type": "reference",
|
|
1512
|
-
"typeName": {
|
|
1513
|
-
"type": "identifier",
|
|
1514
|
-
"name": "McpServer"
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
"computed": false
|
|
1518
|
-
}
|
|
1519
|
-
]
|
|
1520
|
-
},
|
|
1521
|
-
{
|
|
1522
|
-
"type": "interface",
|
|
1523
|
-
"name": "McpServer",
|
|
1524
|
-
"body": [
|
|
1525
|
-
{
|
|
1526
|
-
"type": "propertySignature",
|
|
1527
|
-
"key": {
|
|
1528
|
-
"type": "identifier",
|
|
1529
|
-
"name": "id"
|
|
1528
|
+
"name": "scenario"
|
|
1530
1529
|
},
|
|
1531
1530
|
"annotation": {
|
|
1532
1531
|
"type": "keyword",
|
|
@@ -1538,12 +1537,13 @@
|
|
|
1538
1537
|
"type": "propertySignature",
|
|
1539
1538
|
"key": {
|
|
1540
1539
|
"type": "identifier",
|
|
1541
|
-
"name": "
|
|
1540
|
+
"name": "url"
|
|
1542
1541
|
},
|
|
1543
1542
|
"annotation": {
|
|
1544
1543
|
"type": "keyword",
|
|
1545
1544
|
"value": "string"
|
|
1546
1545
|
},
|
|
1546
|
+
"optional": true,
|
|
1547
1547
|
"computed": false
|
|
1548
1548
|
}
|
|
1549
1549
|
]
|
|
@@ -6824,6 +6824,13 @@
|
|
|
6824
6824
|
"type": "keyword",
|
|
6825
6825
|
"value": "boolean"
|
|
6826
6826
|
}
|
|
6827
|
+
},
|
|
6828
|
+
{
|
|
6829
|
+
"name": "noticeUrlTemplate",
|
|
6830
|
+
"annotation": {
|
|
6831
|
+
"type": "keyword",
|
|
6832
|
+
"value": "string"
|
|
6833
|
+
}
|
|
6827
6834
|
}
|
|
6828
6835
|
],
|
|
6829
6836
|
"events": [
|
|
@@ -13,5 +13,5 @@ interface ChatStreamComponentProps extends ChatStreamProps {
|
|
|
13
13
|
onMarkNoticesRead: () => void;
|
|
14
14
|
onNoticeClick: (item: NoticeItem) => void;
|
|
15
15
|
}
|
|
16
|
-
export declare function ChatStreamComponent({ conversationId, initialRequest, replay, replayDelay, supports, showHumanActions, showFeedback: propShowFeedback, showFeedbackAfterFailed, showFeedbackOnView, showUiSwitch, previewUrlTemplate, showCases, showNoticeIcon, exampleProjects, notices, tryItOutUrl, uploadOptions, onShare, onTerminate, onSubmitFeedback, onSwitchToCanvas, onFeedbackOnView, onDetailChange, onMarkNoticesRead, onNoticeClick, }: ChatStreamComponentProps, ref: React.Ref<ChatStreamRef>): React.JSX.Element;
|
|
16
|
+
export declare function ChatStreamComponent({ conversationId, initialRequest, replay, replayDelay, supports, showHumanActions, showFeedback: propShowFeedback, showFeedbackAfterFailed, showFeedbackOnView, showUiSwitch, previewUrlTemplate, noticeUrlTemplate, showCases, showNoticeIcon, exampleProjects, notices, tryItOutUrl, uploadOptions, onShare, onTerminate, onSubmitFeedback, onSwitchToCanvas, onFeedbackOnView, onDetailChange, onMarkNoticesRead, onNoticeClick, }: ChatStreamComponentProps, ref: React.Ref<ChatStreamRef>): React.JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -15,6 +15,7 @@ export interface ChatStreamProps {
|
|
|
15
15
|
showUiSwitch?: boolean;
|
|
16
16
|
showNoticeIcon?: boolean;
|
|
17
17
|
previewUrlTemplate?: string;
|
|
18
|
+
noticeUrlTemplate?: string;
|
|
18
19
|
showCases?: ShowCaseType[];
|
|
19
20
|
exampleProjects?: ExampleProject[];
|
|
20
21
|
tryItOutUrl?: string;
|
|
@@ -54,6 +55,7 @@ export declare class ChatStream extends ReactNextElement implements ChatStreamPr
|
|
|
54
55
|
accessor uploadOptions: UploadOptions | undefined;
|
|
55
56
|
accessor notices: NoticeItem[] | undefined;
|
|
56
57
|
accessor showNoticeIcon: boolean | undefined;
|
|
58
|
+
accessor noticeUrlTemplate: string | undefined;
|
|
57
59
|
resumed(): void;
|
|
58
60
|
feedbackSubmitDone(): void;
|
|
59
61
|
feedbackSubmitFailed(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChatMessage } from "./interfaces.js";
|
|
2
|
-
import type { ActiveDetail, ActivityWithFlow, ConversationError, ServiceFlowRun, Task } from "../shared/interfaces.js";
|
|
3
|
-
export declare function useConversationStream(conversationAvailable: boolean, tasks: Task[], errors: ConversationError[], flowMap?: Map<string, ServiceFlowRun>, activityMap?: Map<string, ActivityWithFlow>, options?: {
|
|
2
|
+
import type { ActiveDetail, ActivityWithFlow, ConversationError, ConversationState, ServiceFlowRun, Task, TaskState } from "../shared/interfaces.js";
|
|
3
|
+
export declare function useConversationStream(conversationAvailable: boolean, state: ConversationState | TaskState | undefined, tasks: Task[], errors: ConversationError[], flowMap?: Map<string, ServiceFlowRun>, activityMap?: Map<string, ActivityWithFlow>, options?: {
|
|
4
4
|
showHumanActions?: boolean;
|
|
5
5
|
skipActivitySubTasks?: boolean;
|
|
6
6
|
}): {
|
|
@@ -2,7 +2,9 @@ export declare enum K {
|
|
|
2
2
|
UNTITLED = "UNTITLED",
|
|
3
3
|
FILE_PREVIEW_UNPREVIEWABLE_TIP_PREFIX = "FILE_PREVIEW_UNPREVIEWABLE_TIP_PREFIX",
|
|
4
4
|
FILE_PREVIEW_UNPREVIEWABLE_TIP_SUFFIX = "FILE_PREVIEW_UNPREVIEWABLE_TIP_SUFFIX",
|
|
5
|
-
DOWNLOAD = "DOWNLOAD"
|
|
5
|
+
DOWNLOAD = "DOWNLOAD",
|
|
6
|
+
SHOW_ALL_FILES = "SHOW_ALL_FILES",
|
|
7
|
+
COLLAPSE = "COLLAPSE"
|
|
6
8
|
}
|
|
7
9
|
export declare const NS = "bricks/ai-portal/FilePreview";
|
|
8
10
|
export declare const locales: {
|
|
@@ -95,7 +95,7 @@ export interface ToolCall {
|
|
|
95
95
|
title?: string;
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
export type ConversationBaseDetail = Omit<Conversation, "tasks">;
|
|
98
|
+
export type ConversationBaseDetail = Omit<Conversation, "tasks" | "serviceFlows">;
|
|
99
99
|
export interface ConversationPatch extends Omit<Partial<Conversation>, "tasks" | "serviceFlows"> {
|
|
100
100
|
tasks?: TaskPatch[];
|
|
101
101
|
error?: string;
|