@next-bricks/ai-portal 0.25.0 → 0.25.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 (31) hide show
  1. package/dist/bricks.json +14 -14
  2. package/dist/chunks/{3732.dd0d8f3b.js → 3732.26be1e16.js} +2 -2
  3. package/dist/chunks/3732.26be1e16.js.map +1 -0
  4. package/dist/chunks/5054.b5664d8e.js +2 -0
  5. package/dist/chunks/5054.b5664d8e.js.map +1 -0
  6. package/dist/chunks/6175.85d46564.js +3 -0
  7. package/dist/chunks/6175.85d46564.js.map +1 -0
  8. package/dist/chunks/chat-stream.ee882aeb.js +2 -0
  9. package/dist/chunks/chat-stream.ee882aeb.js.map +1 -0
  10. package/dist/chunks/cruise-canvas.e201cbc8.js +2 -0
  11. package/dist/chunks/cruise-canvas.e201cbc8.js.map +1 -0
  12. package/dist/chunks/{main.98391585.js → main.2a65e7bb.js} +2 -2
  13. package/dist/chunks/{main.98391585.js.map → main.2a65e7bb.js.map} +1 -1
  14. package/dist/examples.json +10 -10
  15. package/dist/{index.075c2933.js → index.9c3a15cf.js} +2 -2
  16. package/dist/{index.075c2933.js.map → index.9c3a15cf.js.map} +1 -1
  17. package/dist/manifest.json +86 -78
  18. package/dist/types.json +78 -64
  19. package/dist-types/chat-stream/index.d.ts +1 -0
  20. package/dist-types/cruise-canvas/index.d.ts +1 -0
  21. package/package.json +2 -2
  22. package/dist/chunks/3732.dd0d8f3b.js.map +0 -1
  23. package/dist/chunks/5054.2ef309c0.js +0 -2
  24. package/dist/chunks/5054.2ef309c0.js.map +0 -1
  25. package/dist/chunks/6175.4447b33f.js +0 -3
  26. package/dist/chunks/6175.4447b33f.js.map +0 -1
  27. package/dist/chunks/chat-stream.d19f4fe5.js +0 -2
  28. package/dist/chunks/chat-stream.d19f4fe5.js.map +0 -1
  29. package/dist/chunks/cruise-canvas.820b0bd7.js +0 -2
  30. package/dist/chunks/cruise-canvas.820b0bd7.js.map +0 -1
  31. /package/dist/chunks/{6175.4447b33f.js.LICENSE.txt → 6175.85d46564.js.LICENSE.txt} +0 -0
@@ -3,6 +3,44 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
+ {
7
+ "name": "ai-portal.chat-box",
8
+ "properties": [
9
+ {
10
+ "name": "disabled",
11
+ "type": "boolean"
12
+ },
13
+ {
14
+ "name": "placeholder",
15
+ "type": "string"
16
+ },
17
+ {
18
+ "name": "autoFocus",
19
+ "type": "boolean"
20
+ },
21
+ {
22
+ "name": "suggestions",
23
+ "attribute": false,
24
+ "type": "Suggestion[]"
25
+ },
26
+ {
27
+ "name": "suggestionsLabel",
28
+ "type": "string"
29
+ }
30
+ ],
31
+ "events": [
32
+ {
33
+ "name": "message.submit",
34
+ "detail": {
35
+ "type": "string"
36
+ }
37
+ }
38
+ ],
39
+ "slots": [],
40
+ "methods": [],
41
+ "parts": [],
42
+ "description": "构件 `ai-portal.chat-box`"
43
+ },
6
44
  {
7
45
  "name": "ai-portal.cruise-canvas",
8
46
  "properties": [
@@ -47,6 +85,10 @@
47
85
  {
48
86
  "name": "showUiSwitch",
49
87
  "type": "boolean"
88
+ },
89
+ {
90
+ "name": "hideMermaid",
91
+ "type": "boolean"
50
92
  }
51
93
  ],
52
94
  "events": [
@@ -105,53 +147,6 @@
105
147
  "parts": [],
106
148
  "description": "构件 `ai-portal.cruise-canvas`"
107
149
  },
108
- {
109
- "name": "ai-portal.chat-box",
110
- "properties": [
111
- {
112
- "name": "disabled",
113
- "type": "boolean"
114
- },
115
- {
116
- "name": "placeholder",
117
- "type": "string"
118
- },
119
- {
120
- "name": "autoFocus",
121
- "type": "boolean"
122
- },
123
- {
124
- "name": "suggestions",
125
- "attribute": false,
126
- "type": "Suggestion[]"
127
- },
128
- {
129
- "name": "suggestionsLabel",
130
- "type": "string"
131
- }
132
- ],
133
- "events": [
134
- {
135
- "name": "message.submit",
136
- "detail": {
137
- "type": "string"
138
- }
139
- }
140
- ],
141
- "slots": [],
142
- "methods": [],
143
- "parts": [],
144
- "description": "构件 `ai-portal.chat-box`"
145
- },
146
- {
147
- "name": "ai-portal.home-container",
148
- "properties": [],
149
- "events": [],
150
- "slots": [],
151
- "methods": [],
152
- "parts": [],
153
- "description": "构件 `ai-portal.home-container`"
154
- },
155
150
  {
156
151
  "name": "ai-portal.chat-history",
157
152
  "properties": [
@@ -250,6 +245,15 @@
250
245
  "parts": [],
251
246
  "description": "构件 `ai-portal.stat-with-mini-chart`"
252
247
  },
248
+ {
249
+ "name": "ai-portal.home-container",
250
+ "properties": [],
251
+ "events": [],
252
+ "slots": [],
253
+ "methods": [],
254
+ "parts": [],
255
+ "description": "构件 `ai-portal.home-container`"
256
+ },
253
257
  {
254
258
  "name": "ai-portal.elevo-logo",
255
259
  "properties": [],
@@ -259,6 +263,33 @@
259
263
  "parts": [],
260
264
  "description": "Elevo Logo"
261
265
  },
266
+ {
267
+ "name": "ai-portal.icon-button",
268
+ "properties": [
269
+ {
270
+ "name": "icon",
271
+ "attribute": false,
272
+ "type": "GeneralIconProps"
273
+ },
274
+ {
275
+ "name": "tooltip",
276
+ "type": "string"
277
+ },
278
+ {
279
+ "name": "disabled",
280
+ "type": "boolean"
281
+ },
282
+ {
283
+ "name": "variant",
284
+ "type": "IconButtonVariant"
285
+ }
286
+ ],
287
+ "events": [],
288
+ "slots": [],
289
+ "methods": [],
290
+ "parts": [],
291
+ "description": "构件 `ai-portal.icon-button`"
292
+ },
262
293
  {
263
294
  "name": "ai-portal.elevo-sidebar",
264
295
  "properties": [
@@ -334,31 +365,19 @@
334
365
  "description": "构件 `ai-portal.elevo-sidebar`"
335
366
  },
336
367
  {
337
- "name": "ai-portal.icon-button",
368
+ "name": "ai-portal.mcp-tools",
338
369
  "properties": [
339
370
  {
340
- "name": "icon",
371
+ "name": "list",
341
372
  "attribute": false,
342
- "type": "GeneralIconProps"
343
- },
344
- {
345
- "name": "tooltip",
346
- "type": "string"
347
- },
348
- {
349
- "name": "disabled",
350
- "type": "boolean"
351
- },
352
- {
353
- "name": "variant",
354
- "type": "IconButtonVariant"
373
+ "type": "McpTool[]"
355
374
  }
356
375
  ],
357
376
  "events": [],
358
377
  "slots": [],
359
378
  "methods": [],
360
379
  "parts": [],
361
- "description": "构件 `ai-portal.icon-button`"
380
+ "description": "构件 `ai-portal.mcp-tools`"
362
381
  },
363
382
  {
364
383
  "name": "ai-portal.show-cases",
@@ -379,21 +398,6 @@
379
398
  "parts": [],
380
399
  "description": "构件 `ai-portal.show-cases`"
381
400
  },
382
- {
383
- "name": "ai-portal.mcp-tools",
384
- "properties": [
385
- {
386
- "name": "list",
387
- "attribute": false,
388
- "type": "McpTool[]"
389
- }
390
- ],
391
- "events": [],
392
- "slots": [],
393
- "methods": [],
394
- "parts": [],
395
- "description": "构件 `ai-portal.mcp-tools`"
396
- },
397
401
  {
398
402
  "name": "ai-portal.chat-stream",
399
403
  "properties": [
@@ -424,6 +428,10 @@
424
428
  {
425
429
  "name": "showUiSwitch",
426
430
  "type": "boolean"
431
+ },
432
+ {
433
+ "name": "hideMermaid",
434
+ "type": "boolean"
427
435
  }
428
436
  ],
429
437
  "events": [
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.stat-with-mini-chart": {
8
3
  "properties": [
9
4
  {
@@ -108,6 +103,11 @@
108
103
  "events": [],
109
104
  "methods": []
110
105
  },
106
+ "ai-portal.home-container": {
107
+ "properties": [],
108
+ "events": [],
109
+ "methods": []
110
+ },
111
111
  "ai-portal.elevo-logo": {
112
112
  "properties": [],
113
113
  "events": [],
@@ -447,7 +447,7 @@
447
447
  }
448
448
  ]
449
449
  },
450
- "ai-portal.show-cases": {
450
+ "ai-portal.mcp-tools": {
451
451
  "properties": [
452
452
  {
453
453
  "name": "list",
@@ -457,17 +457,10 @@
457
457
  "type": "reference",
458
458
  "typeName": {
459
459
  "type": "identifier",
460
- "name": "ShowCase"
460
+ "name": "McpTool"
461
461
  }
462
462
  }
463
463
  }
464
- },
465
- {
466
- "name": "taskUrlTemplate",
467
- "annotation": {
468
- "type": "keyword",
469
- "value": "string"
470
- }
471
464
  }
472
465
  ],
473
466
  "events": [],
@@ -475,13 +468,13 @@
475
468
  "types": [
476
469
  {
477
470
  "type": "interface",
478
- "name": "ShowCase",
471
+ "name": "McpTool",
479
472
  "body": [
480
473
  {
481
474
  "type": "propertySignature",
482
475
  "key": {
483
476
  "type": "identifier",
484
- "name": "taskId"
477
+ "name": "name"
485
478
  },
486
479
  "annotation": {
487
480
  "type": "keyword",
@@ -505,7 +498,7 @@
505
498
  "type": "propertySignature",
506
499
  "key": {
507
500
  "type": "identifier",
508
- "name": "summary"
501
+ "name": "description"
509
502
  },
510
503
  "annotation": {
511
504
  "type": "keyword",
@@ -517,7 +510,44 @@
517
510
  "type": "propertySignature",
518
511
  "key": {
519
512
  "type": "identifier",
520
- "name": "scenario"
513
+ "name": "icon"
514
+ },
515
+ "annotation": {
516
+ "type": "reference",
517
+ "typeName": {
518
+ "type": "identifier",
519
+ "name": "GeneralIconProps"
520
+ }
521
+ },
522
+ "optional": true,
523
+ "computed": false
524
+ },
525
+ {
526
+ "type": "propertySignature",
527
+ "key": {
528
+ "type": "identifier",
529
+ "name": "server"
530
+ },
531
+ "annotation": {
532
+ "type": "reference",
533
+ "typeName": {
534
+ "type": "identifier",
535
+ "name": "McpServer"
536
+ }
537
+ },
538
+ "computed": false
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "type": "interface",
544
+ "name": "McpServer",
545
+ "body": [
546
+ {
547
+ "type": "propertySignature",
548
+ "key": {
549
+ "type": "identifier",
550
+ "name": "id"
521
551
  },
522
552
  "annotation": {
523
553
  "type": "keyword",
@@ -529,20 +559,19 @@
529
559
  "type": "propertySignature",
530
560
  "key": {
531
561
  "type": "identifier",
532
- "name": "thumbUrl"
562
+ "name": "name"
533
563
  },
534
564
  "annotation": {
535
565
  "type": "keyword",
536
566
  "value": "string"
537
567
  },
538
- "optional": true,
539
568
  "computed": false
540
569
  }
541
570
  ]
542
571
  }
543
572
  ]
544
573
  },
545
- "ai-portal.mcp-tools": {
574
+ "ai-portal.show-cases": {
546
575
  "properties": [
547
576
  {
548
577
  "name": "list",
@@ -552,10 +581,17 @@
552
581
  "type": "reference",
553
582
  "typeName": {
554
583
  "type": "identifier",
555
- "name": "McpTool"
584
+ "name": "ShowCase"
556
585
  }
557
586
  }
558
587
  }
588
+ },
589
+ {
590
+ "name": "taskUrlTemplate",
591
+ "annotation": {
592
+ "type": "keyword",
593
+ "value": "string"
594
+ }
559
595
  }
560
596
  ],
561
597
  "events": [],
@@ -563,13 +599,13 @@
563
599
  "types": [
564
600
  {
565
601
  "type": "interface",
566
- "name": "McpTool",
602
+ "name": "ShowCase",
567
603
  "body": [
568
604
  {
569
605
  "type": "propertySignature",
570
606
  "key": {
571
607
  "type": "identifier",
572
- "name": "name"
608
+ "name": "taskId"
573
609
  },
574
610
  "annotation": {
575
611
  "type": "keyword",
@@ -593,7 +629,7 @@
593
629
  "type": "propertySignature",
594
630
  "key": {
595
631
  "type": "identifier",
596
- "name": "description"
632
+ "name": "summary"
597
633
  },
598
634
  "annotation": {
599
635
  "type": "keyword",
@@ -605,44 +641,7 @@
605
641
  "type": "propertySignature",
606
642
  "key": {
607
643
  "type": "identifier",
608
- "name": "icon"
609
- },
610
- "annotation": {
611
- "type": "reference",
612
- "typeName": {
613
- "type": "identifier",
614
- "name": "GeneralIconProps"
615
- }
616
- },
617
- "optional": true,
618
- "computed": false
619
- },
620
- {
621
- "type": "propertySignature",
622
- "key": {
623
- "type": "identifier",
624
- "name": "server"
625
- },
626
- "annotation": {
627
- "type": "reference",
628
- "typeName": {
629
- "type": "identifier",
630
- "name": "McpServer"
631
- }
632
- },
633
- "computed": false
634
- }
635
- ]
636
- },
637
- {
638
- "type": "interface",
639
- "name": "McpServer",
640
- "body": [
641
- {
642
- "type": "propertySignature",
643
- "key": {
644
- "type": "identifier",
645
- "name": "id"
644
+ "name": "scenario"
646
645
  },
647
646
  "annotation": {
648
647
  "type": "keyword",
@@ -654,12 +653,13 @@
654
653
  "type": "propertySignature",
655
654
  "key": {
656
655
  "type": "identifier",
657
- "name": "name"
656
+ "name": "thumbUrl"
658
657
  },
659
658
  "annotation": {
660
659
  "type": "keyword",
661
660
  "value": "string"
662
661
  },
662
+ "optional": true,
663
663
  "computed": false
664
664
  }
665
665
  ]
@@ -1158,6 +1158,13 @@
1158
1158
  "type": "keyword",
1159
1159
  "value": "boolean"
1160
1160
  }
1161
+ },
1162
+ {
1163
+ "name": "hideMermaid",
1164
+ "annotation": {
1165
+ "type": "keyword",
1166
+ "value": "boolean"
1167
+ }
1161
1168
  }
1162
1169
  ],
1163
1170
  "events": [
@@ -1376,6 +1383,13 @@
1376
1383
  "type": "keyword",
1377
1384
  "value": "boolean"
1378
1385
  }
1386
+ },
1387
+ {
1388
+ "name": "hideMermaid",
1389
+ "annotation": {
1390
+ "type": "keyword",
1391
+ "value": "boolean"
1392
+ }
1379
1393
  }
1380
1394
  ],
1381
1395
  "events": [
@@ -26,6 +26,7 @@ export declare class ChatStream extends ReactNextElement implements ChatStreamPr
26
26
  accessor supports: Record<string, boolean> | undefined;
27
27
  accessor showFeedback: boolean | undefined;
28
28
  accessor showUiSwitch: boolean | undefined;
29
+ accessor hideMermaid: boolean | undefined;
29
30
  resumed(): void;
30
31
  feedbackSubmitDone(): void;
31
32
  feedbackSubmitFailed(): void;
@@ -33,6 +33,7 @@ export declare class CruiseCanvas extends ReactNextElement implements CruiseCanv
33
33
  accessor showHiddenJobs: boolean | undefined;
34
34
  accessor showFeedback: boolean | undefined;
35
35
  accessor showUiSwitch: boolean | undefined;
36
+ accessor hideMermaid: boolean | undefined;
36
37
  resumed(): void;
37
38
  feedbackSubmitDone(): void;
38
39
  feedbackSubmitFailed(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/ai-portal",
3
- "version": "0.25.0",
3
+ "version": "0.25.2",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,5 +45,5 @@
45
45
  "@next-bricks/mini-chart": "*",
46
46
  "@next-bricks/presentational": "*"
47
47
  },
48
- "gitHead": "33d3efdfbd371e57c9ba8e20948d16d318746d96"
48
+ "gitHead": "78bf239a3984eafaa2138f70868936cf3118f857"
49
49
  }