mindroot 10.5.0__py3-none-any.whl → 10.14.0__py3-none-any.whl

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.
@@ -0,0 +1,724 @@
1
+ html, body {
2
+ background-color: #ffffff;
3
+ color: #333333;
4
+ padding: 5px 5px;
5
+ font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, Helvetica, "Apple Color Emoji", Arial, "Segoe UI Emoji", "Segoe UI Symbol";
6
+ font-size: 18px;
7
+ display: flex;
8
+ line-height: 1.5;
9
+ flex-direction: column;
10
+ height: 100%;
11
+ padding: 2px;
12
+ margin: 2px;
13
+ }
14
+
15
+ input, * {
16
+ background-color: #fff;
17
+ color: #333333;
18
+ margin: 2px 2px;
19
+ font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, Helvetica, "Apple Color Emoji", Arial, "Segoe UI Emoji", "Segoe UI Symbol";
20
+ }
21
+
22
+ p {
23
+ padding: 2px 5px;
24
+ margin: 2px 2px;
25
+ margin-top: 0px;
26
+ }
27
+
28
+ input::placeholder, textarea::placeholder {
29
+ background-color: #ffffff;
30
+ color: #666666;
31
+ }
32
+
33
+ .send_msg {
34
+ display: inline-block;
35
+ }
36
+
37
+ .page-container {
38
+ display: flex;
39
+ flex: 1;
40
+ overflow: hidden;
41
+ padding: 0;
42
+ }
43
+
44
+ .main {
45
+ display: flex;
46
+ flex-direction: column;
47
+ flex: 1;
48
+ padding: 0;
49
+ overflow-y: hidden;
50
+ }
51
+
52
+ .hover-zoom {
53
+ transition: transform 0.1s ease;
54
+ }
55
+
56
+ .hover-zoom:hover {
57
+
58
+ transform: translateX(100px) scale(6);
59
+ z-index: 1;
60
+ }
61
+
62
+
63
+ .chat-log {
64
+ flex: 1;
65
+ display: flex;
66
+ flex-direction: column;
67
+ overflow-y: auto;
68
+ padding-right: 16px;
69
+ }
70
+
71
+ chat-ai {
72
+ height: 100%;
73
+ overflow: hidden;
74
+ display: flex;
75
+ flex-direction: column;
76
+ flex: 1;
77
+ padding-top:50px;
78
+ }
79
+
80
+ chat-form {
81
+ flex-shrink: 0;
82
+ margin: 0;
83
+ display: flex;
84
+ padding: 0;
85
+ }
86
+
87
+ .chat-entry {
88
+ display: flex;
89
+ width: 100%;
90
+ }
91
+
92
+
93
+ chat-message {
94
+ /* max-width: 69%; */
95
+ width: 100%;
96
+ padding: 4px 8px;
97
+ margin: 2px 0;
98
+ display: block;
99
+ background-color: #fff;
100
+ }
101
+
102
+ .outer-msg {
103
+ display: flex;
104
+ flex-direction: row;
105
+ width: 100%;
106
+ }
107
+
108
+ img.avatar {
109
+ height: 48px;
110
+ display: none;
111
+ margin-right: 10px;
112
+ padding-top: 8px;
113
+ }
114
+
115
+ chat-message[show-avatar] img.avatar {
116
+ display: inline-block;
117
+ margin-top: 16px;
118
+ }
119
+
120
+ chat-message .outer-msg.without-avatar {
121
+ margin-top: -8px; /* Reduce top margin for messages without avatars */
122
+ }
123
+
124
+ chat-message:first-of-type .outer-msg.without-avatar {
125
+ margin-top: 0; /* Reset top margin for the first message */
126
+ }.message {
127
+ padding: 5px 5px;
128
+ margin: 0;
129
+ background-color: #fff;
130
+ }
131
+
132
+ .outer-msg.user {
133
+ flex-direction: column;
134
+ align-items: flex-end;
135
+ }
136
+
137
+ .message:has(.action-summary) {
138
+ width: 100%;
139
+ }
140
+
141
+ .user {
142
+ align-self: flex-end;
143
+ }
144
+
145
+ .msg-user {
146
+ background-color: #e3f2fd;
147
+ border-radius: 30px;
148
+ box-sizing: border-box;
149
+ padding: 4px 14px;
150
+ color: #333333;
151
+ }
152
+
153
+ .ai {
154
+ align-self: flex-start;
155
+ }
156
+
157
+ .msg-ai {
158
+ /* background-color: #080808; */
159
+ border: 1px solid #e0e0e0;
160
+ border-radius: 30px;
161
+ width: 80%;
162
+ background-color: #f5f5f5;
163
+ color: #333333;
164
+ }
165
+
166
+ .msg-ai:first-child {
167
+ display: flex;
168
+ /* align/justfiy to top */
169
+ align-items: flex-start;
170
+ justify-content: flex-start;
171
+ }
172
+
173
+ .spacer {
174
+ height: 0.25em;
175
+ display: block;
176
+ background-color: #fff;
177
+ }
178
+
179
+ textarea, .text_lg {
180
+ background-color: #ffffff !important;
181
+ color: #333333 !important;
182
+ width: 90%;
183
+ min-height: 4em;
184
+ max-height: 500px; /* Maximum height before scrolling */
185
+ overflow-y: auto; /* Allows the textarea to expand as the user types */
186
+ scrollbar-width: none;
187
+ padding: 10px;
188
+ border-radius: 15px;
189
+ flex-shrink: 0;
190
+ height: 4em;
191
+ border: 1px solid #e0e0e0;
192
+ }
193
+
194
+ #inp_message {
195
+ width: 95%;
196
+ }
197
+
198
+ .message-container {
199
+ width: 100%;
200
+ }
201
+
202
+ .text_lg {
203
+ height: 35vh;
204
+ scrollbar-width: thin;
205
+ }
206
+
207
+ input, .text_inp {
208
+ background-color: #ffffff;
209
+ color: #333333;
210
+ border-radius: 15px;
211
+ padding: 10px 20px;
212
+ margin: 10px;
213
+ transition: background-color 0.3s ease;
214
+ border: 1px solid #e0e0e0;
215
+ }
216
+
217
+ /* Modern New Chat Button Styling */
218
+ button, .btn {
219
+ /* Base styling */
220
+ background: linear-gradient(145deg, #4a5eff, #2e41e3);
221
+ color: white;
222
+ padding: 10px 20px;
223
+ border-radius: 8px;
224
+ border: none;
225
+ font-weight: 500;
226
+ cursor: pointer;
227
+ display: flex;
228
+ align-items: center;
229
+ text-decoration: none;
230
+ gap: 8px;
231
+ transition: all 0.2s ease-in-out;
232
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
233
+ }
234
+
235
+ /* Plus icon before text */
236
+ .new-chat-btn::before {
237
+ content: "+";
238
+ font-size: 1.2em;
239
+ font-weight: 400;
240
+ }
241
+
242
+ .new-chat-btn {
243
+ cursor: pointer;
244
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
245
+ text-decoration: none;
246
+ }
247
+
248
+
249
+ /* Hover effect */
250
+ button, .btn:hover, .new-chat-btn:hover {
251
+ transform: translateY(-1px);
252
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
253
+ background: linear-gradient(145deg, #5a6eff, #3e51f3);
254
+ cursor: pointer;
255
+ }
256
+
257
+ /* Active/Click state */
258
+ button, .btn:active {
259
+ transform: translateY(1px);
260
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
261
+ }
262
+
263
+ /* Focus state for accessibility */
264
+ button, .btn:focus {
265
+ outline: none;
266
+ box-shadow: 0 0 0 3px rgba(74, 94, 255, 0.3);
267
+ }
268
+
269
+ /* Custom scrollbar styles */
270
+
271
+ /* Firefox */
272
+ * {
273
+ scrollbar-width: auto
274
+ scrollbar-color: #cccccc #ffffff;
275
+ }
276
+
277
+ /* Chrome, Edge, and Safari */
278
+ *::-webkit-scrollbar {
279
+ width: 8px;
280
+ }
281
+
282
+ *::-webkit-scrollbar-track {
283
+ background: #ffffff;
284
+ }
285
+
286
+ *::-webkit-scrollbar-thumb {
287
+ background-color: #cccccc;
288
+ border-radius: 10px;
289
+ border: 2px solid #ffffff;
290
+ }
291
+
292
+ button:hover {
293
+ background-color: #5a6eff;
294
+ }
295
+
296
+ /* Dropdown styles */
297
+ select, .dropdown {
298
+ background-color: #ffffff;
299
+ color: #333333;
300
+ border: 1px solid #e0e0e0;
301
+ border-radius: 5px;
302
+ padding: 5px 10px;
303
+ margin: 10px;
304
+ transition: background-color 0.3s ease;
305
+ }
306
+
307
+ select:hover, .dropdown:hover {
308
+ background-color: #f5f5f5;
309
+ }
310
+
311
+ select option, .dropdown option {
312
+ background-color: #ffffff;
313
+ color: #333333;
314
+ }
315
+
316
+ /* Custom file input styles */
317
+ .custom-file-input {
318
+ position: relative;
319
+ display: inline-block;
320
+ width: 100%;
321
+ max-width: 200px;
322
+ height: 40px;
323
+ overflow: hidden;
324
+ background-color: #f5f5f5;
325
+ color: #333333;
326
+ border-radius: 15px;
327
+ padding: 10px 20px;
328
+ margin: 10px;
329
+ transition: background-color 0.3s ease;
330
+ border: 1px solid #e0e0e0;
331
+ }
332
+
333
+ .custom-file-input input[type="file"] {
334
+ position: absolute;
335
+ top: 0;
336
+ right: 0;
337
+ margin: 0;
338
+ padding: 0;
339
+ font-size: 20px;
340
+ cursor: pointer;
341
+ opacity: 0;
342
+ filter: alpha(opacity=0);
343
+ }
344
+
345
+ .custom-file-input .file-label {
346
+ display: inline-block;
347
+ width: 100%;
348
+ height: 100%;
349
+ text-align: center;
350
+ line-height: 20px;
351
+ cursor: pointer;
352
+ }
353
+
354
+ .custom-file-input:hover {
355
+ background-color: #e8e8e8;
356
+ }
357
+
358
+ /* Settings Editor Styles */
359
+ .settings-editor {
360
+ display: flex;
361
+ flex-direction: column;
362
+ gap: 1rem;
363
+ width: 100%;
364
+ max-width: 90%;
365
+ margin: auto;
366
+ }
367
+
368
+ .settings-editor label {
369
+ display: flex;
370
+ flex-direction: column;
371
+ font-weight: bold;
372
+ }
373
+
374
+ .settings-editor button {
375
+ width: 50%;
376
+ max-width: 200px;
377
+ }
378
+
379
+ .settings-editor ul {
380
+ list-style-type: none;
381
+ padding: 0;
382
+ }
383
+
384
+ .settings-editor li {
385
+ display: flex;
386
+ justify-content: space-between;
387
+ align-items: center;
388
+ padding: 0.5rem;
389
+ border-bottom: 1px solid #e0e0e0;
390
+ }
391
+
392
+ .settings-editor li button {
393
+ background-color: #ff4d4d;
394
+ color: #ffffff;
395
+ border: none;
396
+ border-radius: 5px;
397
+ padding: 0.5rem 1rem;
398
+ cursor: pointer;
399
+ }
400
+
401
+ .settings-editor li button:hover {
402
+ background-color: #ff1a1a;
403
+ }
404
+
405
+ .param_name { font-weight: bold; }
406
+ .param_value { color: #666666; }
407
+
408
+ summary {
409
+ border-radius: 8px;
410
+ color: #333333;
411
+ }
412
+
413
+ details {
414
+ width: 100%;
415
+ }
416
+
417
+ .fn_result, .code-result {
418
+ white-space: normal !important;
419
+ word-break: break-word !important;
420
+ font-family: monospace !important;
421
+ /* text-wrap: wrap !important; */
422
+ }
423
+
424
+ .fn_name {
425
+ cursor: pointer;
426
+ }
427
+
428
+ .one_line_result {
429
+ overflow-x: hidden;
430
+ white-space: nowrap;
431
+ text-overflow: ellipsis;
432
+ display: inline-block;
433
+ max-width: 100%;
434
+ }
435
+
436
+ /* .action { border: 2px solid teal; border-radius: 5px; } */
437
+
438
+ code {
439
+ max-width: 85%;
440
+ font-family: monospace;
441
+ }
442
+
443
+ form.persona {
444
+ display: flex;
445
+ flex-direction: column;
446
+ gap: 1rem;
447
+ width: 100%;
448
+ max-width: 90%;
449
+ margin: auto;
450
+ }
451
+
452
+ .persona label {
453
+ display: flex;
454
+ flex-direction: column;
455
+ font-weight: bold;
456
+ }
457
+
458
+ .persona button {
459
+ width: 50%;
460
+ max-width: 200px;
461
+ }
462
+
463
+ @keyframes spin {
464
+ 0% { transform: rotate(0deg); }
465
+ 100% { transform: rotate(360deg); }
466
+ }
467
+
468
+ .spinner {
469
+ width: 40px;
470
+ height: 40px;
471
+ border: 4px solid rgba(0, 0, 0, 0.1);
472
+ border-top: 4px solid #333333;
473
+ border-radius: 50%;
474
+ animation: spin 1s linear infinite;
475
+ }
476
+
477
+ .spinner.show { display: inline-block; } .spinner:not(.show) { display: none; }
478
+
479
+ chat-message {
480
+ display: block;
481
+ margin-bottom: 2px; /* Default spacing between messages */
482
+ margin-top: 0px;
483
+ }
484
+
485
+ chat-message .outer-msg.without-avatar {
486
+ margin-top: -8px; /* Reduce top margin for messages without avatars */
487
+ margin-bottom: 0px;
488
+ }
489
+
490
+ chat-message:first-of-type .outer-msg.without-avatar {
491
+ margin-top: 0; /* Reset top margin for the first message */
492
+ }
493
+
494
+ .image_input {
495
+ width: 200px;
496
+ }
497
+
498
+
499
+ /* Add new styles for image preview */
500
+ .image-preview-container {
501
+ display: flex;
502
+ flex-wrap: wrap;
503
+ gap: 8px;
504
+ padding: 8px;
505
+ min-height: 0;
506
+ max-height: 100px;
507
+ overflow-y: auto;
508
+ background-color: #ffffff;
509
+ border: 1px solid #e0e0e0;
510
+ border-radius: 15px;
511
+ margin-bottom: 8px;
512
+ }
513
+
514
+ .preview-thumbnail {
515
+ position: relative;
516
+ height: 60px;
517
+ border-radius: 8px;
518
+ overflow: hidden;
519
+ }
520
+
521
+ .preview-thumbnail img {
522
+ height: 100%;
523
+ width: auto;
524
+ }
525
+
526
+ .remove-image {
527
+ position: absolute;
528
+ top: 2px;
529
+ right: 2px;
530
+ background: rgba(255, 77, 77, 0.8);
531
+ border: none;
532
+ border-radius: 50%;
533
+ width: 20px;
534
+ height: 20px;
535
+ padding: 2px;
536
+ cursor: pointer;
537
+ display: flex;
538
+ align-items: center;
539
+ justify-content: center;
540
+ }
541
+
542
+ .remove-image:hover {
543
+ background: rgba(255, 26, 26, 0.9);
544
+ }
545
+
546
+ .preview-thumbnail:hover .remove-image {
547
+ display: flex;
548
+ }
549
+
550
+ table {
551
+ border-collapse: collapse;
552
+ width: 100%;
553
+ margin: 25px 0;
554
+ font-size: 0.9em;
555
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
556
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
557
+ border-radius: 8px;
558
+ overflow: hidden;
559
+ background: #ffffff;
560
+ }
561
+
562
+ thead tr {
563
+ background-color: #4a90e2; /* Nice blue header */
564
+ color: #ffffff;
565
+ text-align: left;
566
+ font-weight: 600;
567
+ }
568
+
569
+ th, td {
570
+ padding: 12px 15px;
571
+ border-bottom: 1px solid #e0e0e0;
572
+ }
573
+
574
+ tbody tr {
575
+ border-bottom: 1px solid #e0e0e0;
576
+ transition: all 0.2s ease;
577
+ }
578
+
579
+ /* Zebra striping for rows */
580
+ tbody tr:nth-of-type(even) {
581
+ background-color: #f8f9fa;
582
+ }
583
+
584
+ tbody tr:last-of-type {
585
+ border-bottom: 2px solid #4a90e2;
586
+ }
587
+
588
+ /* Hover effect */
589
+ tbody tr:hover {
590
+ background-color: #e3f2fd;
591
+ color: #333333;
592
+ transform: scale(1.002);
593
+ }
594
+
595
+ /* Optional: Add some subtle animation for sorting/filtering */
596
+ tbody tr {
597
+ /* animation: fadeIn 0.5s ease-in; */
598
+ }
599
+
600
+ @keyframes fadeIn {
601
+ 0% {
602
+ opacity: 0;
603
+ transform: translateY(5px);
604
+ }
605
+ 100% {
606
+ opacity: 1;
607
+ transform: translateY(0);
608
+ }
609
+ }
610
+
611
+ /* Optional: Make it responsive */
612
+ @media screen and (max-width: 600px) {
613
+ table {
614
+ font-size: 0.8em;
615
+ }
616
+
617
+ th, td {
618
+ padding: 8px 10px;
619
+ }
620
+ }
621
+
622
+ .bigavatar {
623
+ width: 180px;
624
+ }
625
+
626
+ .minilogo {
627
+ margin-top: -30px;
628
+ width: 32px;
629
+ }
630
+
631
+ /* File attachment styles */
632
+ .file-attachment {
633
+ display: inline-flex;
634
+ align-items: center;
635
+ background: rgba(240, 240, 245, 0.8);
636
+ border-radius: 8px;
637
+ padding: 8px 12px;
638
+ margin: 5px 0;
639
+ max-width: 100%;
640
+ overflow: hidden;
641
+ }
642
+
643
+ .file-attachment a {
644
+ display: flex;
645
+ align-items: center;
646
+ color: #333333;
647
+ text-decoration: none;
648
+ overflow: hidden;
649
+ text-overflow: ellipsis;
650
+ white-space: nowrap;
651
+ }
652
+
653
+ .file-attachment svg {
654
+ margin-right: 8px;
655
+ flex-shrink: 0;
656
+ }
657
+
658
+ .file-attachment:hover {
659
+ background: rgba(230, 230, 240, 0.9);
660
+ }
661
+
662
+ .file-attachment a:hover {
663
+ text-decoration: underline;
664
+ }
665
+
666
+ .left-side {
667
+ overflow-y: auto;
668
+ }
669
+
670
+ /* Mobile overrides */
671
+ @media screen and (max-width: 768px) {
672
+ .left-side {
673
+ background: #ffffff !important;
674
+ box-shadow: 2px 0 5px rgba(0,0,0,0.1) !important;
675
+ }
676
+ }
677
+
678
+ /* Action component overrides */
679
+ action-component .action-summary {
680
+ background: #f5f5f5 !important;
681
+ color: #333333 !important;
682
+ border: 1px solid #e0e0e0 !important;
683
+ }
684
+
685
+ action-component .param-preview {
686
+ color: #666666 !important;
687
+ }
688
+
689
+ action-component .fn_name {
690
+ color: #333333 !important;
691
+ }
692
+
693
+ /* Additional light theme overrides for stubborn elements */
694
+ html {
695
+ background-color: #ffffff !important;
696
+ color: #333333 !important;
697
+ }
698
+
699
+ * {
700
+ background-color: #fff !important;
701
+ color: #333333 !important;
702
+ }
703
+
704
+ /* Ensure specific elements stay light */
705
+ input, textarea, select {
706
+ background-color: #ffffff !important;
707
+ color: #333333 !important;
708
+ }
709
+
710
+ /* Override any remaining dark backgrounds */
711
+ .msg-user, .msg-ai, .custom-file-input, .settings-editor li {
712
+ background-color: #f5f5f5 !important;
713
+ color: #333333 !important;
714
+ }
715
+
716
+ /* Fix scrollbars */
717
+ *::-webkit-scrollbar-track {
718
+ background: #ffffff !important;
719
+ }
720
+
721
+ *::-webkit-scrollbar-thumb {
722
+ background-color: #cccccc !important;
723
+ }
724
+