@zero-library/chat-copilot 1.0.13 → 1.0.15

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/index.css CHANGED
@@ -61,6 +61,9 @@
61
61
  background-color: rgba(0, 0, 0, 0.1);
62
62
  transition-delay: 0s;
63
63
  }
64
+ .styles_module_chatSender.ant-sender .ant-sender-footer {
65
+ padding: 6px;
66
+ }
64
67
  .styles_module_chatSender.ant-sender:focus-within {
65
68
  box-shadow: none;
66
69
  }
@@ -261,6 +264,24 @@
261
264
  transition: all 0.3s;
262
265
  cursor: pointer;
263
266
  }
267
+ .styles_module_resourceBtn .styles_module_divider {
268
+ margin: 0;
269
+ background-color: #eee;
270
+ height: 10px;
271
+ transform: translateY(1px);
272
+ }
273
+ .styles_module_resourceBtn .styles_module_count {
274
+ font-size: 10px;
275
+ font-weight: 500;
276
+ background-color: var(--ant-color-primary);
277
+ width: 14px;
278
+ height: 14px;
279
+ display: flex;
280
+ align-items: center;
281
+ justify-content: center;
282
+ border-radius: 50%;
283
+ color: #fff;
284
+ }
264
285
  .styles_module_resourceBtnActive {
265
286
  background-color: var(--ant-color-primary);
266
287
  color: #fff;
@@ -272,17 +293,14 @@
272
293
  margin: 0 auto;
273
294
  }
274
295
  .styles_module_logoArea {
275
- margin-bottom: 1.5rem;
276
- display: flex;
277
- flex-direction: column;
278
296
  align-items: center;
279
297
  justify-content: center;
280
298
  text-align: center;
281
- margin-top: 40px;
299
+ margin-top: 5rem;
282
300
  }
283
301
  .styles_module_logoArea .styles_module_logoContainer {
284
302
  position: relative;
285
- margin-bottom: 1.5rem;
303
+ margin-bottom: 2rem;
286
304
  cursor: pointer;
287
305
  }
288
306
  .styles_module_logoArea .styles_module_logoContainer .styles_module_staticHalo {
@@ -302,9 +320,7 @@
302
320
  transform: scale(1) translateY(0);
303
321
  }
304
322
  .styles_module_logoArea .styles_module_logoContainer .styles_module_logoHoverWrapper .styles_module_logoImage {
305
- width: 6rem;
306
- height: 6rem;
307
- object-fit: contain;
323
+ font-size: 80px;
308
324
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
309
325
  transition: all 500ms;
310
326
  }
@@ -358,6 +374,182 @@
358
374
  .styles_module_senderReferenceHeaderContent {
359
375
  padding: 0 !important;
360
376
  }
377
+ .styles_module_customModal .ant-modal-close:focus,
378
+ .customModal .ant-modal-close:focus-visible {
379
+ outline: none !important;
380
+ box-shadow: none !important;
381
+ }
382
+ .styles_module_customModal .ant-modal-container {
383
+ padding: 0;
384
+ }
385
+ .styles_module_customModal .ant-modal-body {
386
+ padding: 0;
387
+ height: 75vh;
388
+ border-radius: 20px;
389
+ min-height: 600px;
390
+ overflow: hidden;
391
+ }
392
+ .styles_module_customModal .ant-modal-footer {
393
+ margin-top: 0;
394
+ }
395
+ .styles_module_layout {
396
+ height: 100%;
397
+ width: 100%;
398
+ background: #f5f5f5;
399
+ display: flex;
400
+ }
401
+ .styles_module_layout .styles_module_sider {
402
+ background-color: #fff !important;
403
+ border-right: 1px solid #f0f0f0;
404
+ height: 100%;
405
+ }
406
+ .styles_module_layout .styles_module_sider .ant-layout-sider-children {
407
+ display: flex;
408
+ flex-direction: column;
409
+ height: 100%;
410
+ }
411
+ .styles_module_layout .styles_module_sider .styles_module_categoryName {
412
+ margin-left: 8px;
413
+ font-size: 14px;
414
+ color: #333;
415
+ }
416
+ .styles_module_layout .styles_module_sider .styles_module_siderContent {
417
+ flex: 1;
418
+ overflow-y: auto;
419
+ padding: 0 12px;
420
+ }
421
+ .styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_categoryItem {
422
+ align-items: center;
423
+ padding: 8px 12px;
424
+ border-radius: 8px;
425
+ cursor: pointer;
426
+ transition: all 0.2s;
427
+ }
428
+ .styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_categoryItem:hover {
429
+ background-color: #f5f5f5;
430
+ }
431
+ .styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_categoryActive {
432
+ background-color: #e6f4ff;
433
+ }
434
+ .styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_categoryActive:hover {
435
+ background-color: #e6f4ff;
436
+ }
437
+ .styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_categoryActive .styles_module_categoryName {
438
+ color: #1677ff;
439
+ font-weight: 500;
440
+ }
441
+ .styles_module_layout .styles_module_sider .styles_module_siderContent .styles_module_roundCheckbox .ant-checkbox-inner {
442
+ border-radius: 50%;
443
+ }
444
+ .styles_module_content {
445
+ display: flex;
446
+ flex-direction: column;
447
+ background-color: #fff;
448
+ height: 100%;
449
+ padding: 20px;
450
+ padding-top: 0;
451
+ gap: 16px;
452
+ }
453
+ .styles_module_content .styles_module_searchInput {
454
+ width: 300px;
455
+ }
456
+ .styles_module_content .styles_module_selectedCount {
457
+ font-size: 12px;
458
+ }
459
+ .styles_module_content .styles_module_tagsArea {
460
+ width: 100%;
461
+ max-height: 60px;
462
+ overflow: hidden;
463
+ display: flex;
464
+ }
465
+ .styles_module_content .styles_module_tagsArea .styles_module_tagContainer {
466
+ width: calc(100% - 40px);
467
+ }
468
+ .styles_module_content .styles_module_tagsArea .styles_module_tagContainer .styles_module_tag {
469
+ font-size: 13px;
470
+ border-radius: 4px;
471
+ display: flex;
472
+ align-items: center;
473
+ margin: 0;
474
+ }
475
+ .styles_module_content .styles_module_tagsArea .styles_module_expandBtnWrapper {
476
+ display: flex;
477
+ align-items: flex-end;
478
+ padding-bottom: 8px;
479
+ }
480
+ .styles_module_content .styles_module_tagsArea .styles_module_expandBtn {
481
+ background-color: #f5f5f5;
482
+ font-size: 13px;
483
+ border: none;
484
+ }
485
+ .styles_module_content .styles_module_tagsArea .styles_module_expandBtn:hover {
486
+ border: none !important;
487
+ background-color: #f5f5f5 !important;
488
+ }
489
+ .styles_module_content .styles_module_tagsExpanded {
490
+ max-height: none;
491
+ overflow: visible;
492
+ }
493
+ .styles_module_content .styles_module_listArea {
494
+ flex: 1;
495
+ overflow-y: auto;
496
+ background-color: #fafafa;
497
+ border-radius: 12px;
498
+ padding: 16px;
499
+ }
500
+ .styles_module_content .styles_module_listArea .styles_module_listInner {
501
+ padding-bottom: 16px;
502
+ }
503
+ .styles_module_content .styles_module_listArea .styles_module_listItem {
504
+ width: 100%;
505
+ background-color: #fff;
506
+ border-radius: 8px;
507
+ padding: 10px;
508
+ display: flex;
509
+ cursor: pointer;
510
+ transition: all 0.2s;
511
+ position: relative;
512
+ }
513
+ .styles_module_content .styles_module_listArea .styles_module_listItem:hover {
514
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
515
+ background-color: #e6f4ff;
516
+ }
517
+ .styles_module_content .styles_module_listArea .styles_module_listItemSelected {
518
+ background-color: #eee;
519
+ }
520
+ .styles_module_content .styles_module_listArea .styles_module_itemIconWrapper {
521
+ width: 40px;
522
+ height: 40px;
523
+ border-radius: 8px;
524
+ background-color: #e6f4ff;
525
+ color: #1677ff;
526
+ display: flex;
527
+ align-items: center;
528
+ justify-content: center;
529
+ font-size: 20px;
530
+ margin-right: 12px;
531
+ flex-shrink: 0;
532
+ }
533
+ .styles_module_content .styles_module_listArea .styles_module_itemInfo {
534
+ flex: 1;
535
+ min-width: 0;
536
+ gap: 2px;
537
+ }
538
+ .styles_module_content .styles_module_listArea .styles_module_itemInfo .styles_module_itemDesc {
539
+ font-size: 12px;
540
+ color: #999;
541
+ }
542
+ .styles_module_footer {
543
+ border-top: 1px solid #f0f0f0;
544
+ padding: 10px 20px;
545
+ justify-content: flex-end;
546
+ align-items: center;
547
+ }
548
+ .styles_module_titleContainer {
549
+ padding: 16px 32px 0 20px;
550
+ border-bottom: 1px solid #f0f0f0;
551
+ align-items: center;
552
+ }
361
553
 
362
554
  /* src/components/CustomComponents/XMarkdown/styles.module.less */
363
555
  .styles_module_appCard {
@@ -554,17 +746,6 @@
554
746
  height: 100%;
555
747
  width: 100%;
556
748
  }
557
- .index_module_spinWrapper {
558
- height: 100%;
559
- }
560
- .index_module_spinWrapper .ant-spin-container {
561
- height: 100%;
562
- }
563
- .index_module_fullScroll {
564
- overflow: auto;
565
- flex: 1;
566
- height: 100%;
567
- }
568
749
  .index_module_animatedSplitter .ant-splitter-panel {
569
750
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
570
751
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/styles.module.less","../src/ui/common/styles.module.less","../src/components/CustomComponents/XMarkdown/styles.module.less","../src/components/XMarkdown/styles.module.less","../src/components/CustomComponents/tool-renders/index.module.less","../src/ui/layouts/components/styles.module.less","../src/ui/layouts/index.module.less"],"sourcesContent":["@keyframes loading-line {\n from {\n background-position: 200% 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-content {\n padding: 0 !important;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-progress .ant-progress-text {\n display: none;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-progress .ant-progress-circle {\n animation: spin 2s linear infinite;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content {\n gap: 4px;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content .ant-attachment-list-card-desc {\n width: 15px;\n height: 15px;\n border: 2px solid transparent;\n border-color: #1890ff;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n box-sizing: border-box;\n position: relative;\n clip-path: inset(0 0 30% 0);\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content .ant-attachment-list-card-desc .ant-attachment-list-card-ellipsis-prefix {\n display: none;\n}\n.chatSender:global.ant-sender .ant-sender-input {\n scrollbar-width: thin;\n scrollbar-color: transparent transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0);\n border-radius: 4px;\n transition: background-color 0.3s ease 0.3s;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar-track {\n background: transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input:hover {\n scrollbar-color: rgba(0, 0, 0, 0.1) transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input:hover::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.1);\n transition-delay: 0s;\n}\n.chatSender:global.ant-sender:focus-within {\n box-shadow: none;\n}\n.runStartedNode {\n padding: 2px 12px;\n border-radius: 4px;\n background: linear-gradient(90deg, transparent 25%, #e6f4ff 50%, transparent 75%);\n background-size: 200% 100%;\n animation: shimmer-bg 2s infinite linear;\n display: flex;\n width: 100px;\n min-height: 28px;\n box-sizing: border-box;\n overflow: hidden;\n}\n.runStartedNode :global .anticon-loading {\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.runStartedNode :global .anticon-loading svg {\n width: 14px;\n height: 14px;\n}\n@keyframes shimmer-bg {\n 0% {\n background-position: 200% 0;\n }\n 100% {\n background-position: -200% 0;\n }\n}\n.chatQuoteMsg {\n margin-top: 0;\n padding-top: 0 !important;\n}\n.chatQuoteMsg:global.ant-bubble > .ant-bubble-body > .ant-bubble-content {\n min-height: auto;\n background-color: var(--ant-color-fill-tertiary) !important;\n color: var(--ant-color-text-tertiary);\n}\n.chatQuoteMsg .quoteTooltip {\n max-width: 100%;\n border: 1px solid #000;\n}\n.chatQuoteMsg .quoteTooltip .quoteTooltipContainer {\n max-height: 200px;\n overflow-y: auto;\n background-color: #fff;\n color: #000;\n}\n",".chatHeader {\n padding: 8px 16px;\n border-bottom: 1px solid #eee;\n}\n.chatHeader .chatTitle {\n font-size: 16px;\n font-weight: bold;\n}\n.chatHeader .popover {\n max-height: 500px;\n width: 300px;\n display: flex;\n flex-direction: column;\n padding: 0;\n}\n.chatHeader .popover :global .ant-popover-content {\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n.conversationListPanel {\n width: 300px;\n max-width: 100%;\n border-right: 1px dashed #eee;\n}\n.conversationListPanel .createConversationButton {\n height: 38px;\n background-color: var(--ant-color-primary-bg);\n border-radius: var(--ant-border-radius-lg);\n color: var(--ant-color-primary);\n font-weight: bold;\n}\n.conversationListPanel .conversations {\n padding: 0 16px;\n height: 100%;\n overflow: auto;\n}\n.conversationListPanel .conversations :global .ant-conversations-group-title {\n padding: 0;\n}\n.conversationListPanel .conversations :global .ant-conversations-group-title .ant-typography {\n color: #878aab;\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item {\n padding-left: 16px;\n touch-action: manipulation !important;\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item .ant-conversations-label {\n color: rgba(0, 0, 0, 0.88);\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item.ant-conversations-item-active .ant-conversations-label {\n color: var(--ant-color-primary);\n}\n.chatWelcomeWrap {\n height: 100%;\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 24px);\n margin: 0 auto;\n}\n.chatWelcomeWrap :global .ant-prompts .ant-prompts-list {\n overflow: auto;\n}\n.chatWelcomeWrap .chatWelcome :global .ant-welcome-icon > img {\n border-radius: 10px;\n max-width: initial;\n}\n.promptItem {\n width: 100%;\n max-width: 100%;\n}\n.promptItem :global .ant-prompts-item {\n max-width: 100%;\n white-space: normal;\n height: auto;\n}\n.bubbleList {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble-list-scroll-box .ant-bubble-list-scroll-content {\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 12px);\n margin: 0 auto;\n padding-right: 0;\n padding-left: 10px;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble-list-scroll-box .ant-bubble-list-scroll-content > .ant-bubble > .ant-bubble-body {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble {\n padding-top: 8px;\n padding-bottom: 0;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble:hover .message-actions {\n opacity: 1;\n pointer-events: auto;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start {\n padding-inline-end: 0%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start .ant-bubble-body {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start .ant-bubble-content {\n background-color: transparent;\n padding: 0;\n padding-bottom: 0;\n min-height: 0;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content {\n background-color: var(--ant-color-primary-bg, #e6f4ff);\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content-borderless {\n background-color: transparent;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content-borderless .ant-file-card-list-content {\n padding: 0;\n}\n.messageActions {\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.2s ease;\n}\n.resourceBtn {\n align-items: center;\n gap: 6px;\n padding: 4px 8px;\n font-size: 13px;\n font-weight: 500;\n color: #475569;\n /* text-slate-600 */\n background-color: #f1f5f9;\n /* bg-slate-100/60 */\n border: 1px solid #e2e8f0;\n /* border-slate-200/50 */\n border-radius: 12px;\n /* rounded-xl */\n transition: all 0.3s;\n cursor: pointer;\n}\n.resourceBtnActive {\n background-color: var(--ant-color-primary);\n color: #fff;\n}\n.userInputCollapse {\n width: calc(100% - 24px);\n max-width: 1000px;\n min-width: 320px;\n margin: 0 auto;\n}\n.logoArea {\n margin-bottom: 1.5rem;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n margin-top: 40px;\n}\n.logoArea .logoContainer {\n position: relative;\n margin-bottom: 1.5rem;\n cursor: pointer;\n}\n.logoArea .logoContainer .staticHalo {\n position: absolute;\n inset: 0;\n background-color: var(--ant-color-primary);\n filter: blur(24px);\n opacity: 0.2;\n transition: opacity 700ms;\n border-radius: 9999px;\n}\n.logoArea .logoContainer .logoHoverWrapper {\n position: relative;\n z-index: 10;\n padding: 0.5rem;\n transition: all 500ms ease-out;\n transform: scale(1) translateY(0);\n}\n.logoArea .logoContainer .logoHoverWrapper .logoImage {\n width: 6rem;\n height: 6rem;\n object-fit: contain;\n filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));\n transition: all 500ms;\n}\n.logoArea .logoContainer:hover .staticHalo {\n opacity: 0.5;\n}\n.logoArea .logoContainer:hover .logoHoverWrapper {\n transform: scale(1.1) translateY(-0.5rem);\n}\n.logoArea .logoContainer:hover .logoImage {\n filter: drop-shadow(0 10px 20px rgba(18, 124, 183, 0.4));\n}\n.logoArea .greetingTitle {\n margin-bottom: 0.75rem;\n font-size: 2.25rem;\n line-height: 2.5rem;\n font-weight: 700;\n letter-spacing: -0.025em;\n color: #1e293b;\n}\n@media (width >= 768px) {\n .logoArea .greetingTitle {\n font-size: 3rem;\n line-height: 1;\n }\n}\n.logoArea .greetingTitle .gradientText {\n color: transparent;\n background-clip: text;\n background-image: linear-gradient(to right, var(--ant-color-primary), #3b82f6);\n}\n.logoArea .greetingSubtitle {\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 500;\n color: #64748b;\n}\n@media (width >= 768px) {\n .logoArea .greetingSubtitle {\n font-size: 1.25rem;\n line-height: 1.75rem;\n }\n}\n.senderReferenceHeaderTitle:global > .ant-sender-header-title {\n overflow: hidden;\n}\n.senderReferenceHeaderContent {\n padding: 0 !important;\n}\n",".appCard {\n width: 180px;\n border-radius: 10px;\n border: 1px solid #d7d7d7;\n background-color: #fafafa;\n font-size: 16px;\n cursor: pointer;\n margin: 8px;\n padding: 12px 8px;\n}\n.appCard > div {\n max-width: 100%;\n}\n.appCard > img {\n height: 30px;\n}\n.fileView {\n width: 200px;\n padding: 4px 8px;\n cursor: pointer;\n background-color: #f5f3f3;\n border-radius: 6px;\n}\n.fileEdit {\n margin: 12px 0;\n border-radius: 6px;\n border: 1px solid #f2f2f2;\n}\n.fileEdit .fileEditHeader {\n padding: 2px 8px;\n background-color: #f2f2f2;\n}\n.fileEdit .fileEditContent {\n padding: 8px;\n background-color: #fafafa;\n}\n.mdEdit {\n margin: 10px 0;\n background-color: rgba(242, 242, 242, 0.2);\n border: 1px solid #f2f2f2;\n padding: 10px;\n border-radius: 4px;\n}\n.chart {\n padding: 10px;\n max-width: 100%;\n min-width: 350px;\n overflow-x: scroll;\n display: inline-block;\n border-radius: 12px;\n border: 1px solid #e5e9f0;\n background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);\n margin: 12px 0;\n}\n.chart .chartSkeleton {\n width: 100% !important;\n}\n.chart .chartSkeleton .chartSkeletonIcon {\n font-size: 40px;\n color: #bfbfbf;\n}\n",".xMarkdownStyle :global {\n /* stylelint-disable-next-line selector-class-pattern */\n}\n.xMarkdownStyle :global .ant-codeHighlighter-code code,\n.xMarkdownStyle :global .ant-codeHighlighter-code pre,\n.xMarkdownStyle :global .ant-codeHighlighter-code [class*='language-'] {\n background-color: transparent !important;\n}\n",".iconContainer {\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--ant-border-radius-sm);\n overflow: hidden;\n flex-shrink: 0;\n gap: 20;\n}\n.toolName {\n font-size: 12px;\n color: var(--ant-color-text-secondary);\n flex: 1;\n line-height: 22px;\n}\n.duration {\n font-size: 12px;\n color: var(--ant-color-text-tertiary);\n flex-shrink: 0;\n}\n.statusIcon {\n font-size: 12px;\n display: flex;\n align-items: center;\n margin-left: 20px;\n}\n.sectionLabel {\n font-size: 12px;\n color: var(--ant-color-text-tertiary);\n margin-bottom: 4px;\n display: block;\n}\n.markdownContainer {\n max-width: 100%;\n overflow-x: auto;\n font-size: 12px;\n opacity: 0.85;\n}\n.sectionBlock {\n display: block;\n}\n.todoList {\n background-color: var(--ant-color-fill-alter);\n border-radius: var(--ant-border-radius);\n border: 1px solid var(--ant-color-border-secondary);\n margin-top: 4px;\n}\n.todoItem {\n padding: 8px 12px;\n border-bottom: 1px solid var(--ant-color-border-secondary);\n display: flex;\n align-items: flex-start;\n gap: 8px;\n}\n.todoItem:last-child {\n border-bottom: none;\n}\n.statusIconWrapper {\n margin-top: 2px;\n}\n.todoContent {\n flex: 1;\n min-width: 0;\n}\n.todoText {\n font-size: 13px;\n color: var(--ant-color-text);\n}\n.todoText.completed {\n color: var(--ant-color-text-tertiary);\n text-decoration: line-through;\n}\n.emptyText {\n font-size: 12px;\n}\n",".bodyWidth {\n width: 100%;\n height: 100%;\n}\n.inputContainer {\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 24px);\n}\n.disclaimerNotice {\n font-size: 12px;\n text-align: center;\n color: #bfbfbf;\n}\n.previewHeader {\n padding: 8px;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);\n align-items: center;\n}\n.previewHeader .previewHeaderTitle {\n font-size: 16px;\n font-weight: bold;\n}\n.previewHeader .actionIcon {\n font-size: 16px;\n cursor: pointer;\n color: var(--ant-color-text-tertiary);\n transition: transform 0.3s ease;\n}\n.previewHeader .actionIcon:hover {\n color: var(--ant-color-text);\n}\n",".chatLayout {\n background-color: transparent;\n height: 100%;\n width: 100%;\n}\n.spinWrapper {\n height: 100%;\n}\n.spinWrapper :global .ant-spin-container {\n height: 100%;\n}\n.fullScroll {\n overflow: auto;\n flex: 1;\n height: 100%;\n}\n.animatedSplitter :global(.ant-splitter-panel) {\n transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;\n}\n.animatedSplitter :global(.ant-splitter-bar) {\n transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;\n}\n.hideSplitterBar :global(.ant-splitter-bar) {\n display: none !important;\n}\n"],"mappings":";AAAA,WAAWA;AACT;AACE,yBAAqB,KAAK;AAC5B;AACA;AACE,yBAAqB,EAAE;AACzB;AACF;AACA,WAAWC;AACT;AACE,eAAW,O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AA,MAAiC,QAAQ;AACrD,UAAQ,KAAK;AACf;AACA,CAXCA,oBAWM,CAACC;AACN,SAAO;AACT;AACA,CAdCD,oBAcM,CAHCC,4BAGc,CAACC;AACrB,aAAW;AACX,SAAO;AACT;;;AC5DA,CAACC;AAED;AACA,CAHCA,6BAGuB,CAAC,yBAAyB;AAClD,CAAC,eAAuB,CADC,yBACyB;AAClD,CADC,eACuB,CAFC,yBAEyB,CAAC;AACjD,oBAAkB;AACpB;;;ACPA,CAACC;AACC,SAAO;AACP,UAAQ;AACR,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,iBAAe,IAAI;AACnB,YAAU;AACV,eAAa;AACb,OAAK;AACP;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACX,QAAM;AACN,eAAa;AACf;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACX,eAAa;AACf;AACA,CAACC;AACC,aAAW;AACX,WAAS;AACT,eAAa;AACb,eAAa;AACf;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACX,iBAAe;AACf,WAAS;AACX;AACA,CAACC;AACC,aAAW;AACX,cAAY;AACZ,aAAW;AACX,WAAS;AACX;AACA,CAACC;AACC,WAAS;AACX;AACA,CAACC;AACC,oBAAkB,IAAI;AACtB,iBAAe,IAAI;AACnB,UAAQ,IAAI,MAAM,IAAI;AACtB,cAAY;AACd;AACA,CAACC;AACC,WAAS,IAAI;AACb,iBAAe,IAAI,MAAM,IAAI;AAC7B,WAAS;AACT,eAAa;AACb,OAAK;AACP;AACA,CAPCA,qBAOQ;AACP,iBAAe;AACjB;AACA,CAACC;AACC,cAAY;AACd;AACA,CAACC;AACC,QAAM;AACN,aAAW;AACb;AACA,CAACC;AACC,aAAW;AACX,SAAO,IAAI;AACb;AACA,CAJCA,qBAIQ,CAACC;AACR,SAAO,IAAI;AACX,mBAAiB;AACnB;AACA,CAACC;AACC,aAAW;AACb;;;AC5EA,CAACC;AACC,SAAO;AACP,UAAQ;AACV;AACA,CAACC;AACC,aAAW;AACX,aAAW;AACX,SAAO,KAAK,KAAK,EAAE;AACrB;AACA,CAACC;AACC,aAAW;AACX,cAAY;AACZ,SAAO;AACT;AACA,CAACC;AACC,WAAS;AACT,cAAY,EAAE,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACpC,eAAa;AACf;AACA,CALCA,4BAKc,CAACC;AACd,aAAW;AACX,eAAa;AACf;AACA,CATCD,4BASc,CAACE;AACd,aAAW;AACX,UAAQ;AACR,SAAO,IAAI;AACX,cAAY,UAAU,KAAK;AAC7B;AACA,CAfCF,4BAec,CANCE,wBAMU;AACxB,SAAO,IAAI;AACb;;;AC/BA,CAACC;AACC,oBAAkB;AAClB,UAAQ;AACR,SAAO;AACT;AACA,CAACC;AACC,UAAQ;AACV;AACA,CAHCA,yBAGoB,CAAC;AACpB,UAAQ;AACV;AACA,CAACC;AACC,YAAU;AACV,QAAM;AACN,UAAQ;AACV;AACA,CAACC,8BAAyB,CAAC;AACzB,cAAY,IAAI,KAAK,aAAa,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE;AAC/C;AACA,CAHCA,8BAGyB,CAAC;AACzB,cAAY,IAAI,KAAK,aAAa,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE;AAC/C;AACA,CAACC,6BAAwB,CAHE;AAIzB,WAAS;AACX;","names":["loading-line","spin","chatAttachments","chatSender","runStartedNode","shimmer-bg","chatQuoteMsg","quoteTooltip","quoteTooltipContainer","chatHeader","chatTitle","popover","conversationListPanel","createConversationButton","conversations","chatWelcomeWrap","chatWelcome","promptItem","bubbleList","messageActions","resourceBtn","resourceBtnActive","userInputCollapse","logoArea","logoContainer","staticHalo","logoHoverWrapper","logoImage","greetingTitle","gradientText","greetingSubtitle","senderReferenceHeaderTitle","senderReferenceHeaderContent","appCard","fileView","fileEdit","fileEditHeader","fileEditContent","mdEdit","chart","chartSkeleton","chartSkeletonIcon","xMarkdownStyle","iconContainer","toolName","duration","statusIcon","sectionLabel","markdownContainer","sectionBlock","todoList","todoItem","statusIconWrapper","todoContent","todoText","completed","emptyText","bodyWidth","inputContainer","disclaimerNotice","previewHeader","previewHeaderTitle","actionIcon","chatLayout","spinWrapper","fullScroll","animatedSplitter","hideSplitterBar"]}
1
+ {"version":3,"sources":["../src/components/styles.module.less","../src/ui/common/styles.module.less","../src/components/CustomComponents/XMarkdown/styles.module.less","../src/components/XMarkdown/styles.module.less","../src/components/CustomComponents/tool-renders/index.module.less","../src/ui/layouts/components/styles.module.less","../src/ui/layouts/index.module.less"],"sourcesContent":["@keyframes loading-line {\n from {\n background-position: 200% 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-content {\n padding: 0 !important;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-progress .ant-progress-text {\n display: none;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-progress .ant-progress-circle {\n animation: spin 2s linear infinite;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content {\n gap: 4px;\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content .ant-attachment-list-card-desc {\n width: 15px;\n height: 15px;\n border: 2px solid transparent;\n border-color: #1890ff;\n border-radius: 50%;\n animation: spin 1s linear infinite;\n box-sizing: border-box;\n position: relative;\n clip-path: inset(0 0 30% 0);\n}\n.chatAttachments:global > .ant-attachment-list .ant-attachment-list-card-status-uploading .ant-attachment-list-card-content .ant-attachment-list-card-desc .ant-attachment-list-card-ellipsis-prefix {\n display: none;\n}\n.chatSender:global.ant-sender .ant-sender-input {\n scrollbar-width: thin;\n scrollbar-color: transparent transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0);\n border-radius: 4px;\n transition: background-color 0.3s ease 0.3s;\n}\n.chatSender:global.ant-sender .ant-sender-input::-webkit-scrollbar-track {\n background: transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input:hover {\n scrollbar-color: rgba(0, 0, 0, 0.1) transparent;\n}\n.chatSender:global.ant-sender .ant-sender-input:hover::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.1);\n transition-delay: 0s;\n}\n.chatSender:global.ant-sender .ant-sender-footer {\n padding: 6px;\n}\n.chatSender:global.ant-sender:focus-within {\n box-shadow: none;\n}\n.runStartedNode {\n padding: 2px 12px;\n border-radius: 4px;\n background: linear-gradient(90deg, transparent 25%, #e6f4ff 50%, transparent 75%);\n background-size: 200% 100%;\n animation: shimmer-bg 2s infinite linear;\n display: flex;\n width: 100px;\n min-height: 28px;\n box-sizing: border-box;\n overflow: hidden;\n}\n.runStartedNode :global .anticon-loading {\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.runStartedNode :global .anticon-loading svg {\n width: 14px;\n height: 14px;\n}\n@keyframes shimmer-bg {\n 0% {\n background-position: 200% 0;\n }\n 100% {\n background-position: -200% 0;\n }\n}\n.chatQuoteMsg {\n margin-top: 0;\n padding-top: 0 !important;\n}\n.chatQuoteMsg:global.ant-bubble > .ant-bubble-body > .ant-bubble-content {\n min-height: auto;\n background-color: var(--ant-color-fill-tertiary) !important;\n color: var(--ant-color-text-tertiary);\n}\n.chatQuoteMsg .quoteTooltip {\n max-width: 100%;\n border: 1px solid #000;\n}\n.chatQuoteMsg .quoteTooltip .quoteTooltipContainer {\n max-height: 200px;\n overflow-y: auto;\n background-color: #fff;\n color: #000;\n}\n",".chatHeader {\n padding: 8px 16px;\n border-bottom: 1px solid #eee;\n}\n.chatHeader .chatTitle {\n font-size: 16px;\n font-weight: bold;\n}\n.chatHeader .popover {\n max-height: 500px;\n width: 300px;\n display: flex;\n flex-direction: column;\n padding: 0;\n}\n.chatHeader .popover :global .ant-popover-content {\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n.conversationListPanel {\n width: 300px;\n max-width: 100%;\n border-right: 1px dashed #eee;\n}\n.conversationListPanel .createConversationButton {\n height: 38px;\n background-color: var(--ant-color-primary-bg);\n border-radius: var(--ant-border-radius-lg);\n color: var(--ant-color-primary);\n font-weight: bold;\n}\n.conversationListPanel .conversations {\n padding: 0 16px;\n height: 100%;\n overflow: auto;\n}\n.conversationListPanel .conversations :global .ant-conversations-group-title {\n padding: 0;\n}\n.conversationListPanel .conversations :global .ant-conversations-group-title .ant-typography {\n color: #878aab;\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item {\n padding-left: 16px;\n touch-action: manipulation !important;\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item .ant-conversations-label {\n color: rgba(0, 0, 0, 0.88);\n}\n.conversationListPanel .conversations :global .ant-conversations-list .ant-conversations-item.ant-conversations-item-active .ant-conversations-label {\n color: var(--ant-color-primary);\n}\n.chatWelcomeWrap {\n height: 100%;\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 24px);\n margin: 0 auto;\n}\n.chatWelcomeWrap :global .ant-prompts .ant-prompts-list {\n overflow: auto;\n}\n.chatWelcomeWrap .chatWelcome :global .ant-welcome-icon > img {\n border-radius: 10px;\n max-width: initial;\n}\n.promptItem {\n width: 100%;\n max-width: 100%;\n}\n.promptItem :global .ant-prompts-item {\n max-width: 100%;\n white-space: normal;\n height: auto;\n}\n.bubbleList {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble-list-scroll-box .ant-bubble-list-scroll-content {\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 12px);\n margin: 0 auto;\n padding-right: 0;\n padding-left: 10px;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble-list-scroll-box .ant-bubble-list-scroll-content > .ant-bubble > .ant-bubble-body {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble {\n padding-top: 8px;\n padding-bottom: 0;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble:hover .message-actions {\n opacity: 1;\n pointer-events: auto;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start {\n padding-inline-end: 0%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start .ant-bubble-body {\n width: 100%;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-start .ant-bubble-content {\n background-color: transparent;\n padding: 0;\n padding-bottom: 0;\n min-height: 0;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content {\n background-color: var(--ant-color-primary-bg, #e6f4ff);\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content-borderless {\n background-color: transparent;\n}\n.bubbleList:global.ant-bubble-list .ant-bubble.ant-bubble-end .ant-bubble-content-borderless .ant-file-card-list-content {\n padding: 0;\n}\n.messageActions {\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.2s ease;\n}\n.resourceBtn {\n align-items: center;\n gap: 6px;\n padding: 4px 8px;\n font-size: 13px;\n font-weight: 500;\n color: #475569;\n background-color: #f1f5f9;\n border: 1px solid #e2e8f0;\n border-radius: 12px;\n transition: all 0.3s;\n cursor: pointer;\n}\n.resourceBtn .divider {\n margin: 0;\n background-color: #eee;\n height: 10px;\n transform: translateY(1px);\n}\n.resourceBtn .count {\n font-size: 10px;\n font-weight: 500;\n background-color: var(--ant-color-primary);\n /* text-teal-500 */\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n color: #fff;\n}\n.resourceBtnActive {\n background-color: var(--ant-color-primary);\n color: #fff;\n}\n.userInputCollapse {\n width: calc(100% - 24px);\n max-width: 1000px;\n min-width: 320px;\n margin: 0 auto;\n}\n.logoArea {\n align-items: center;\n justify-content: center;\n text-align: center;\n margin-top: 5rem;\n}\n.logoArea .logoContainer {\n position: relative;\n margin-bottom: 2rem;\n cursor: pointer;\n}\n.logoArea .logoContainer .staticHalo {\n position: absolute;\n inset: 0;\n background-color: var(--ant-color-primary);\n filter: blur(24px);\n opacity: 0.2;\n transition: opacity 700ms;\n border-radius: 9999px;\n}\n.logoArea .logoContainer .logoHoverWrapper {\n position: relative;\n z-index: 10;\n padding: 0.5rem;\n transition: all 500ms ease-out;\n transform: scale(1) translateY(0);\n}\n.logoArea .logoContainer .logoHoverWrapper .logoImage {\n font-size: 80px;\n filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));\n transition: all 500ms;\n}\n.logoArea .logoContainer:hover .staticHalo {\n opacity: 0.5;\n}\n.logoArea .logoContainer:hover .logoHoverWrapper {\n transform: scale(1.1) translateY(-0.5rem);\n}\n.logoArea .logoContainer:hover .logoImage {\n filter: drop-shadow(0 10px 20px rgba(18, 124, 183, 0.4));\n}\n.logoArea .greetingTitle {\n margin-bottom: 0.75rem;\n font-size: 2.25rem;\n line-height: 2.5rem;\n font-weight: 700;\n letter-spacing: -0.025em;\n color: #1e293b;\n}\n@media (width >= 768px) {\n .logoArea .greetingTitle {\n font-size: 3rem;\n line-height: 1;\n }\n}\n.logoArea .greetingTitle .gradientText {\n color: transparent;\n background-clip: text;\n background-image: linear-gradient(to right, var(--ant-color-primary), #3b82f6);\n}\n.logoArea .greetingSubtitle {\n font-size: 1.125rem;\n line-height: 1.75rem;\n font-weight: 500;\n color: #64748b;\n}\n@media (width >= 768px) {\n .logoArea .greetingSubtitle {\n font-size: 1.25rem;\n line-height: 1.75rem;\n }\n}\n.senderReferenceHeaderTitle:global > .ant-sender-header-title {\n overflow: hidden;\n}\n.senderReferenceHeaderContent {\n padding: 0 !important;\n}\n.customModal :global .ant-modal-close:focus,\n.customModal :global .ant-modal-close:focus-visible {\n outline: none !important;\n box-shadow: none !important;\n}\n.customModal :global(.ant-modal-container) {\n padding: 0;\n}\n.customModal :global(.ant-modal-body) {\n padding: 0;\n height: 75vh;\n border-radius: 20px;\n min-height: 600px;\n overflow: hidden;\n}\n.customModal :global(.ant-modal-footer) {\n margin-top: 0;\n}\n.layout {\n height: 100%;\n width: 100%;\n background: #f5f5f5;\n display: flex;\n}\n.layout .sider {\n background-color: #fff !important;\n border-right: 1px solid #f0f0f0;\n height: 100%;\n}\n.layout .sider :global .ant-layout-sider-children {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.layout .sider .categoryName {\n margin-left: 8px;\n font-size: 14px;\n color: #333;\n}\n.layout .sider .siderContent {\n flex: 1;\n overflow-y: auto;\n padding: 0 12px;\n}\n.layout .sider .siderContent .categoryItem {\n align-items: center;\n padding: 8px 12px;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.2s;\n}\n.layout .sider .siderContent .categoryItem:hover {\n background-color: #f5f5f5;\n}\n.layout .sider .siderContent .categoryActive {\n background-color: #e6f4ff;\n}\n.layout .sider .siderContent .categoryActive:hover {\n background-color: #e6f4ff;\n}\n.layout .sider .siderContent .categoryActive .categoryName {\n color: #1677ff;\n font-weight: 500;\n}\n.layout .sider .siderContent .roundCheckbox :global .ant-checkbox-inner {\n border-radius: 50%;\n}\n.content {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n height: 100%;\n padding: 20px;\n padding-top: 0;\n gap: 16px;\n}\n.content .searchInput {\n width: 300px;\n}\n.content .selectedCount {\n font-size: 12px;\n}\n.content .tagsArea {\n width: 100%;\n max-height: 60px;\n overflow: hidden;\n display: flex;\n}\n.content .tagsArea .tagContainer {\n width: calc(100% - 40px);\n}\n.content .tagsArea .tagContainer .tag {\n font-size: 13px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n margin: 0;\n}\n.content .tagsArea .expandBtnWrapper {\n display: flex;\n align-items: flex-end;\n padding-bottom: 8px;\n}\n.content .tagsArea .expandBtn {\n background-color: #f5f5f5;\n font-size: 13px;\n border: none;\n}\n.content .tagsArea .expandBtn:hover {\n border: none !important;\n background-color: #f5f5f5 !important;\n}\n.content .tagsExpanded {\n max-height: none;\n overflow: visible;\n}\n.content .listArea {\n flex: 1;\n overflow-y: auto;\n background-color: #fafafa;\n border-radius: 12px;\n padding: 16px;\n}\n.content .listArea .listInner {\n padding-bottom: 16px;\n}\n.content .listArea .listItem {\n width: 100%;\n background-color: #fff;\n border-radius: 8px;\n padding: 10px;\n display: flex;\n cursor: pointer;\n transition: all 0.2s;\n position: relative;\n}\n.content .listArea .listItem:hover {\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);\n background-color: #e6f4ff;\n}\n.content .listArea .listItemSelected {\n background-color: #eee;\n}\n.content .listArea .itemIconWrapper {\n width: 40px;\n height: 40px;\n border-radius: 8px;\n background-color: #e6f4ff;\n color: #1677ff;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 20px;\n margin-right: 12px;\n flex-shrink: 0;\n}\n.content .listArea .itemInfo {\n flex: 1;\n min-width: 0;\n gap: 2px;\n}\n.content .listArea .itemInfo .itemDesc {\n font-size: 12px;\n color: #999;\n}\n.footer {\n border-top: 1px solid #f0f0f0;\n padding: 10px 20px;\n justify-content: flex-end;\n align-items: center;\n}\n.titleContainer {\n padding: 16px 32px 0 20px;\n border-bottom: 1px solid #f0f0f0;\n align-items: center;\n}\n",".appCard {\n width: 180px;\n border-radius: 10px;\n border: 1px solid #d7d7d7;\n background-color: #fafafa;\n font-size: 16px;\n cursor: pointer;\n margin: 8px;\n padding: 12px 8px;\n}\n.appCard > div {\n max-width: 100%;\n}\n.appCard > img {\n height: 30px;\n}\n.fileView {\n width: 200px;\n padding: 4px 8px;\n cursor: pointer;\n background-color: #f5f3f3;\n border-radius: 6px;\n}\n.fileEdit {\n margin: 12px 0;\n border-radius: 6px;\n border: 1px solid #f2f2f2;\n}\n.fileEdit .fileEditHeader {\n padding: 2px 8px;\n background-color: #f2f2f2;\n}\n.fileEdit .fileEditContent {\n padding: 8px;\n background-color: #fafafa;\n}\n.mdEdit {\n margin: 10px 0;\n background-color: rgba(242, 242, 242, 0.2);\n border: 1px solid #f2f2f2;\n padding: 10px;\n border-radius: 4px;\n}\n.chart {\n padding: 10px;\n max-width: 100%;\n min-width: 350px;\n overflow-x: scroll;\n display: inline-block;\n border-radius: 12px;\n border: 1px solid #e5e9f0;\n background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);\n margin: 12px 0;\n}\n.chart .chartSkeleton {\n width: 100% !important;\n}\n.chart .chartSkeleton .chartSkeletonIcon {\n font-size: 40px;\n color: #bfbfbf;\n}\n",".xMarkdownStyle :global {\n /* stylelint-disable-next-line selector-class-pattern */\n}\n.xMarkdownStyle :global .ant-codeHighlighter-code code,\n.xMarkdownStyle :global .ant-codeHighlighter-code pre,\n.xMarkdownStyle :global .ant-codeHighlighter-code [class*='language-'] {\n background-color: transparent !important;\n}\n",".iconContainer {\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--ant-border-radius-sm);\n overflow: hidden;\n flex-shrink: 0;\n gap: 20;\n}\n.toolName {\n font-size: 12px;\n color: var(--ant-color-text-secondary);\n flex: 1;\n line-height: 22px;\n}\n.duration {\n font-size: 12px;\n color: var(--ant-color-text-tertiary);\n flex-shrink: 0;\n}\n.statusIcon {\n font-size: 12px;\n display: flex;\n align-items: center;\n margin-left: 20px;\n}\n.sectionLabel {\n font-size: 12px;\n color: var(--ant-color-text-tertiary);\n margin-bottom: 4px;\n display: block;\n}\n.markdownContainer {\n max-width: 100%;\n overflow-x: auto;\n font-size: 12px;\n opacity: 0.85;\n}\n.sectionBlock {\n display: block;\n}\n.todoList {\n background-color: var(--ant-color-fill-alter);\n border-radius: var(--ant-border-radius);\n border: 1px solid var(--ant-color-border-secondary);\n margin-top: 4px;\n}\n.todoItem {\n padding: 8px 12px;\n border-bottom: 1px solid var(--ant-color-border-secondary);\n display: flex;\n align-items: flex-start;\n gap: 8px;\n}\n.todoItem:last-child {\n border-bottom: none;\n}\n.statusIconWrapper {\n margin-top: 2px;\n}\n.todoContent {\n flex: 1;\n min-width: 0;\n}\n.todoText {\n font-size: 13px;\n color: var(--ant-color-text);\n}\n.todoText.completed {\n color: var(--ant-color-text-tertiary);\n text-decoration: line-through;\n}\n.emptyText {\n font-size: 12px;\n}\n",".bodyWidth {\n width: 100%;\n height: 100%;\n}\n.inputContainer {\n max-width: 1000px;\n min-width: 320px;\n width: calc(100% - 24px);\n}\n.disclaimerNotice {\n font-size: 12px;\n text-align: center;\n color: #bfbfbf;\n}\n.previewHeader {\n padding: 8px;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);\n align-items: center;\n}\n.previewHeader .previewHeaderTitle {\n font-size: 16px;\n font-weight: bold;\n}\n.previewHeader .actionIcon {\n font-size: 16px;\n cursor: pointer;\n color: var(--ant-color-text-tertiary);\n transition: transform 0.3s ease;\n}\n.previewHeader .actionIcon:hover {\n color: var(--ant-color-text);\n}\n",".chatLayout {\n background-color: transparent;\n height: 100%;\n width: 100%;\n}\n.animatedSplitter :global(.ant-splitter-panel) {\n transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;\n}\n.animatedSplitter :global(.ant-splitter-bar) {\n transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;\n}\n.hideSplitterBar :global(.ant-splitter-bar) {\n display: none !important;\n}\n"],"mappings":";AAAA,WAAWA;AACT;AACE,yBAAqB,KAAK;AAC5B;AACA;AACE,yBAAqB,EAAE;AACzB;AACF;AACA,WAAWC;AACT;AACE,eAAW,OAAO;AACpB;AACF;AACA,CAACC,8BAAuB,EAAE,CAAC,oBAAoB,CAAC;AAC9C,WAAS;AACX;AACA,CAHCA,8BAGuB,EAAE,CAHC,oBAGoB,CAAC,0CAA0C,CAAC,aAAa,CAAC;AACvG,WAAS;AACX;AACA,CANCA,8BAMuB,EAAE,CANC,oBAMoB,CAHC,0CAG0C,CAHC,aAGa,CAAC;AACvG,aAAW,KAAK,GAAG,OAAO;AAC5B;AACA,CATCA,8BASuB,EAAE,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,CAHE;AAIzB,WAAS;AACX;","names":["loading-line","spin","chatAttachments","chatSender","runStartedNode","shimmer-bg","chatQuoteMsg","quoteTooltip","quoteTooltipContainer","chatHeader","chatTitle","popover","conversationListPanel","createConversationButton","conversations","chatWelcomeWrap","chatWelcome","promptItem","bubbleList","messageActions","resourceBtn","divider","count","resourceBtnActive","userInputCollapse","logoArea","logoContainer","staticHalo","logoHoverWrapper","logoImage","greetingTitle","gradientText","greetingSubtitle","senderReferenceHeaderTitle","senderReferenceHeaderContent","customModal","layout","sider","categoryName","siderContent","categoryItem","categoryActive","roundCheckbox","content","searchInput","selectedCount","tagsArea","tagContainer","tag","expandBtnWrapper","expandBtn","tagsExpanded","listArea","listInner","listItem","listItemSelected","itemIconWrapper","itemInfo","itemDesc","footer","titleContainer","appCard","fileView","fileEdit","fileEditHeader","fileEditContent","mdEdit","chart","chartSkeleton","chartSkeletonIcon","xMarkdownStyle","iconContainer","toolName","duration","statusIcon","sectionLabel","markdownContainer","sectionBlock","todoList","todoItem","statusIconWrapper","todoContent","todoText","completed","emptyText","bodyWidth","inputContainer","disclaimerNotice","previewHeader","previewHeaderTitle","actionIcon","chatLayout","animatedSplitter","hideSplitterBar"]}
package/dist/index.d.mts CHANGED
@@ -11,7 +11,14 @@ declare enum AgentTypeEnum {
11
11
  AUTONOMOUS = 2
12
12
  }
13
13
  declare enum LibraryTypeEnum {
14
- DEFAULT = 0
14
+ KNOWLEDGE = 1,
15
+ PROJECT = 2
16
+ }
17
+ declare enum TagTypeEnum {
18
+ AGENT = 1,
19
+ KNOWLEDGE = 2,
20
+ SKILL = 3,
21
+ PROJECT = 4
15
22
  }
16
23
 
17
24
  interface ModelConfig {
@@ -28,14 +35,12 @@ interface FileUploadConfig {
28
35
  interface AgentSpec {
29
36
  model: ModelConfig;
30
37
  knowledge: {
31
- mode: number;
32
38
  items: {
33
39
  id: string;
34
40
  name: string;
35
41
  }[];
36
42
  };
37
43
  skills: {
38
- mode: number;
39
44
  items: {
40
45
  id: string;
41
46
  }[];
@@ -163,6 +168,11 @@ declare const createChatService: (request: ReturnType<typeof createRequest>, con
163
168
  chatUpload: (agentId: string, data: FormData, conversationId: string, signal?: AbortSignal) => Promise<R<InputFile[]>>;
164
169
  getPreviewUrl: (agentId: string, conversationId: string, path: string) => string;
165
170
  docQuery: (params: string) => Promise<R<DocType>>;
171
+ listSkills: (params?: ListSkillReq) => Promise<R<Skill[]>>;
172
+ listLibrarys: (params?: ListLibraryReq) => Promise<R<Library[]>>;
173
+ listTags: (params: {
174
+ tagType: TagTypeEnum;
175
+ }) => Promise<R<WorkspaceTag[]>>;
166
176
  };
167
177
 
168
178
  type RequestInstance = ReturnType<typeof createChatService>;
@@ -1314,11 +1324,14 @@ interface ChatLayoutHeader {
1314
1324
  /** 是否显示关闭按钮 */
1315
1325
  closeBtn?: boolean;
1316
1326
  /** 新建会话按钮渲染控制 */
1317
- newConversationBtn?: RenderControl<void, void>;
1327
+ newConversationBtn?: RenderControl<void, CustomButtonProps>;
1318
1328
  /** 是否显示智能体性格选择 */
1319
1329
  agentCharacter?: boolean;
1320
1330
  /** 是否显示会话列表按钮 */
1321
- conversationListBtn?: boolean;
1331
+ conversationListBtn?: RenderControl<void, ButtonProps>;
1332
+ }
1333
+ interface CustomButtonProps extends Omit<ButtonProps, 'icon'> {
1334
+ icon?: () => ReactNode;
1322
1335
  }
1323
1336
  /**
1324
1337
  * 聊天布局输入框配置接口
@@ -1352,6 +1365,10 @@ interface ChatLayoutSender {
1352
1365
  knowledgeBtn?: RenderControl<void, void>;
1353
1366
  /** 发送按钮属性配置函数 */
1354
1367
  sendBtnProps?: () => ButtonProps;
1368
+ /** 模型下拉选择配置控制 */
1369
+ modelSelect?: RenderControl<void, void>;
1370
+ /** 深度思考按钮渲染控制 */
1371
+ reasonBtn?: RenderControl<void, void>;
1355
1372
  }
1356
1373
  /**
1357
1374
  * 消息列表欢迎信息配置
@@ -1499,6 +1516,47 @@ interface DocType {
1499
1516
  /** 文档字数 */
1500
1517
  wordCount?: number;
1501
1518
  }
1519
+ interface ListSkillReq extends PageReq {
1520
+ name?: string;
1521
+ tagIds?: string[];
1522
+ }
1523
+ interface ListLibraryReq extends PageReq {
1524
+ libraryType?: number;
1525
+ tagIds?: string[];
1526
+ name?: string;
1527
+ }
1528
+ interface Skill {
1529
+ id: string;
1530
+ parentId: number;
1531
+ name: string;
1532
+ aliasName?: string;
1533
+ description: string;
1534
+ content: string;
1535
+ tokenSize: number;
1536
+ hitCount: number;
1537
+ state: number;
1538
+ tagIds?: string[];
1539
+ fileHash: string;
1540
+ type: number;
1541
+ hashUpdate?: boolean;
1542
+ createdAt: string;
1543
+ updatedAt: string;
1544
+ isOwner?: boolean;
1545
+ }
1546
+ interface Library {
1547
+ id: string;
1548
+ name: string;
1549
+ description: string;
1550
+ libraryType: number;
1551
+ icon: string;
1552
+ tagIds?: string[];
1553
+ createdAt: string;
1554
+ }
1555
+ interface WorkspaceTag {
1556
+ id: string;
1557
+ name?: string;
1558
+ tagType?: TagTypeEnum;
1559
+ }
1502
1560
 
1503
1561
  /**
1504
1562
  * 附件组件属性接口
@@ -1541,4 +1599,4 @@ interface MessageRenderProps {
1541
1599
 
1542
1600
  declare const _default: react.ForwardRefExoticComponent<ChatProps & react.RefAttributes<ChatHandle>>;
1543
1601
 
1544
- export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationStrategy, type FileUploadConfig, type InputFile, type MessageRenderProps, type ReferencesType, type RequestInstance, type SenderProps };
1602
+ export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationStrategy, type CustomButtonProps, type FileUploadConfig, type FileUrlType, type InputFile, type MessageRenderProps, type ReferencesType, type RequestInstance, type SenderProps };
package/dist/index.d.ts CHANGED
@@ -11,7 +11,14 @@ declare enum AgentTypeEnum {
11
11
  AUTONOMOUS = 2
12
12
  }
13
13
  declare enum LibraryTypeEnum {
14
- DEFAULT = 0
14
+ KNOWLEDGE = 1,
15
+ PROJECT = 2
16
+ }
17
+ declare enum TagTypeEnum {
18
+ AGENT = 1,
19
+ KNOWLEDGE = 2,
20
+ SKILL = 3,
21
+ PROJECT = 4
15
22
  }
16
23
 
17
24
  interface ModelConfig {
@@ -28,14 +35,12 @@ interface FileUploadConfig {
28
35
  interface AgentSpec {
29
36
  model: ModelConfig;
30
37
  knowledge: {
31
- mode: number;
32
38
  items: {
33
39
  id: string;
34
40
  name: string;
35
41
  }[];
36
42
  };
37
43
  skills: {
38
- mode: number;
39
44
  items: {
40
45
  id: string;
41
46
  }[];
@@ -163,6 +168,11 @@ declare const createChatService: (request: ReturnType<typeof createRequest>, con
163
168
  chatUpload: (agentId: string, data: FormData, conversationId: string, signal?: AbortSignal) => Promise<R<InputFile[]>>;
164
169
  getPreviewUrl: (agentId: string, conversationId: string, path: string) => string;
165
170
  docQuery: (params: string) => Promise<R<DocType>>;
171
+ listSkills: (params?: ListSkillReq) => Promise<R<Skill[]>>;
172
+ listLibrarys: (params?: ListLibraryReq) => Promise<R<Library[]>>;
173
+ listTags: (params: {
174
+ tagType: TagTypeEnum;
175
+ }) => Promise<R<WorkspaceTag[]>>;
166
176
  };
167
177
 
168
178
  type RequestInstance = ReturnType<typeof createChatService>;
@@ -1314,11 +1324,14 @@ interface ChatLayoutHeader {
1314
1324
  /** 是否显示关闭按钮 */
1315
1325
  closeBtn?: boolean;
1316
1326
  /** 新建会话按钮渲染控制 */
1317
- newConversationBtn?: RenderControl<void, void>;
1327
+ newConversationBtn?: RenderControl<void, CustomButtonProps>;
1318
1328
  /** 是否显示智能体性格选择 */
1319
1329
  agentCharacter?: boolean;
1320
1330
  /** 是否显示会话列表按钮 */
1321
- conversationListBtn?: boolean;
1331
+ conversationListBtn?: RenderControl<void, ButtonProps>;
1332
+ }
1333
+ interface CustomButtonProps extends Omit<ButtonProps, 'icon'> {
1334
+ icon?: () => ReactNode;
1322
1335
  }
1323
1336
  /**
1324
1337
  * 聊天布局输入框配置接口
@@ -1352,6 +1365,10 @@ interface ChatLayoutSender {
1352
1365
  knowledgeBtn?: RenderControl<void, void>;
1353
1366
  /** 发送按钮属性配置函数 */
1354
1367
  sendBtnProps?: () => ButtonProps;
1368
+ /** 模型下拉选择配置控制 */
1369
+ modelSelect?: RenderControl<void, void>;
1370
+ /** 深度思考按钮渲染控制 */
1371
+ reasonBtn?: RenderControl<void, void>;
1355
1372
  }
1356
1373
  /**
1357
1374
  * 消息列表欢迎信息配置
@@ -1499,6 +1516,47 @@ interface DocType {
1499
1516
  /** 文档字数 */
1500
1517
  wordCount?: number;
1501
1518
  }
1519
+ interface ListSkillReq extends PageReq {
1520
+ name?: string;
1521
+ tagIds?: string[];
1522
+ }
1523
+ interface ListLibraryReq extends PageReq {
1524
+ libraryType?: number;
1525
+ tagIds?: string[];
1526
+ name?: string;
1527
+ }
1528
+ interface Skill {
1529
+ id: string;
1530
+ parentId: number;
1531
+ name: string;
1532
+ aliasName?: string;
1533
+ description: string;
1534
+ content: string;
1535
+ tokenSize: number;
1536
+ hitCount: number;
1537
+ state: number;
1538
+ tagIds?: string[];
1539
+ fileHash: string;
1540
+ type: number;
1541
+ hashUpdate?: boolean;
1542
+ createdAt: string;
1543
+ updatedAt: string;
1544
+ isOwner?: boolean;
1545
+ }
1546
+ interface Library {
1547
+ id: string;
1548
+ name: string;
1549
+ description: string;
1550
+ libraryType: number;
1551
+ icon: string;
1552
+ tagIds?: string[];
1553
+ createdAt: string;
1554
+ }
1555
+ interface WorkspaceTag {
1556
+ id: string;
1557
+ name?: string;
1558
+ tagType?: TagTypeEnum;
1559
+ }
1502
1560
 
1503
1561
  /**
1504
1562
  * 附件组件属性接口
@@ -1541,4 +1599,4 @@ interface MessageRenderProps {
1541
1599
 
1542
1600
  declare const _default: react.ForwardRefExoticComponent<ChatProps & react.RefAttributes<ChatHandle>>;
1543
1601
 
1544
- export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationStrategy, type FileUploadConfig, type InputFile, type MessageRenderProps, type ReferencesType, type RequestInstance, type SenderProps };
1602
+ export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationStrategy, type CustomButtonProps, type FileUploadConfig, type FileUrlType, type InputFile, type MessageRenderProps, type ReferencesType, type RequestInstance, type SenderProps };