@hef2024/llmasaservice-ui 0.24.2 → 0.24.4

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
@@ -2723,6 +2723,7 @@ button[data-pending=true]::after {
2723
2723
  .ai-chat-message--assistant {
2724
2724
  align-self: flex-start;
2725
2725
  max-width: 100%;
2726
+ width: 100%;
2726
2727
  }
2727
2728
  .ai-chat-message--assistant .ai-chat-message__content {
2728
2729
  background-color: var(--ai-chat-assistant-bg);
@@ -2731,6 +2732,7 @@ button[data-pending=true]::after {
2731
2732
  word-wrap: break-word;
2732
2733
  overflow-wrap: break-word;
2733
2734
  min-width: 0;
2735
+ width: 100%;
2734
2736
  }
2735
2737
  .ai-chat-message__content p {
2736
2738
  margin: 0 0 0.75em 0;
@@ -2941,6 +2943,11 @@ button[data-pending=true]::after {
2941
2943
  gap: 4px;
2942
2944
  color: var(--ai-chat-loading-dot);
2943
2945
  }
2946
+ .ai-chat-loading--inline {
2947
+ margin-top: 6px;
2948
+ font-size: 11px;
2949
+ opacity: 0.9;
2950
+ }
2944
2951
  .ai-chat-loading__dots {
2945
2952
  display: flex;
2946
2953
  gap: 4px;
@@ -2958,6 +2965,138 @@ button[data-pending=true]::after {
2958
2965
  .ai-chat-loading__dot:nth-child(2) {
2959
2966
  animation-delay: -0.16s;
2960
2967
  }
2968
+ .ai-chat-inline-tool-events {
2969
+ margin: 4px 0;
2970
+ display: flex;
2971
+ flex-direction: column;
2972
+ gap: 4px;
2973
+ }
2974
+ .ai-chat-inline-thinking-events {
2975
+ margin: 8px 0;
2976
+ }
2977
+ .ai-chat-inline-tool-events--tail {
2978
+ margin-top: 8px;
2979
+ }
2980
+ .ai-chat-tool-status-row {
2981
+ --tool-row-accent: #3b82f6;
2982
+ --tool-row-bg: #eff6ff;
2983
+ --tool-row-text: #1d4ed8;
2984
+ --tool-row-border: #93c5fd;
2985
+ display: inline-flex;
2986
+ align-items: center;
2987
+ justify-content: flex-start;
2988
+ align-self: flex-start;
2989
+ gap: 6px;
2990
+ max-width: 100%;
2991
+ padding: 3px 8px;
2992
+ border-radius: 999px;
2993
+ border: none;
2994
+ background: transparent;
2995
+ box-shadow: none;
2996
+ font-size: 11px;
2997
+ line-height: 1.2;
2998
+ color: var(--tool-row-text);
2999
+ opacity: 0.86;
3000
+ }
3001
+ .dark-theme .ai-chat-tool-status-row {
3002
+ opacity: 0.9;
3003
+ }
3004
+ .ai-chat-tool-status-row__main {
3005
+ min-width: 0;
3006
+ display: inline-flex;
3007
+ align-items: center;
3008
+ gap: 6px;
3009
+ color: inherit;
3010
+ }
3011
+ .ai-chat-tool-status-row__label {
3012
+ white-space: nowrap;
3013
+ overflow: hidden;
3014
+ text-overflow: ellipsis;
3015
+ font-weight: 500;
3016
+ }
3017
+ .ai-chat-tool-status-row__call-id {
3018
+ font-family:
3019
+ "SF Mono",
3020
+ Monaco,
3021
+ Consolas,
3022
+ monospace;
3023
+ font-size: 10px;
3024
+ opacity: 0.75;
3025
+ }
3026
+ .ai-chat-tool-status-row__actions {
3027
+ display: inline-flex;
3028
+ gap: 4px;
3029
+ flex-shrink: 0;
3030
+ }
3031
+ .ai-chat-tool-status-row__button {
3032
+ height: 18px;
3033
+ min-width: 0;
3034
+ padding: 0 2px;
3035
+ font-size: 10px;
3036
+ font-weight: 500;
3037
+ letter-spacing: 0.01em;
3038
+ border-radius: 4px;
3039
+ border: none;
3040
+ background: transparent;
3041
+ color: inherit;
3042
+ box-shadow: none;
3043
+ text-decoration: underline;
3044
+ text-decoration-thickness: 1px;
3045
+ text-underline-offset: 2px;
3046
+ }
3047
+ .ai-chat-tool-status-row__button:hover {
3048
+ background: rgba(15, 23, 42, 0.08);
3049
+ }
3050
+ .dark-theme .ai-chat-tool-status-row__button {
3051
+ background: transparent;
3052
+ }
3053
+ .dark-theme .ai-chat-tool-status-row__button:hover {
3054
+ background: rgba(148, 163, 184, 0.16);
3055
+ }
3056
+ .ai-chat-tool-status-row--pending {
3057
+ --tool-row-accent: #f59e0b;
3058
+ --tool-row-bg: rgba(245, 158, 11, 0.08);
3059
+ --tool-row-text: #92400e;
3060
+ --tool-row-border: rgba(245, 158, 11, 0.3);
3061
+ }
3062
+ .dark-theme .ai-chat-tool-status-row--pending {
3063
+ --tool-row-bg: rgba(120, 53, 15, 0.25);
3064
+ --tool-row-text: #fcd34d;
3065
+ --tool-row-border: rgba(245, 158, 11, 0.42);
3066
+ }
3067
+ .ai-chat-tool-status-row--running {
3068
+ --tool-row-accent: #38bdf8;
3069
+ --tool-row-bg: rgba(56, 189, 248, 0.08);
3070
+ --tool-row-text: #0e7490;
3071
+ --tool-row-border: rgba(56, 189, 248, 0.32);
3072
+ }
3073
+ .dark-theme .ai-chat-tool-status-row--running {
3074
+ --tool-row-bg: rgba(8, 145, 178, 0.16);
3075
+ --tool-row-text: #7dd3fc;
3076
+ --tool-row-border: rgba(14, 165, 233, 0.42);
3077
+ }
3078
+ .ai-chat-tool-status-row--completed {
3079
+ --tool-row-accent: #34d399;
3080
+ --tool-row-bg: rgba(16, 185, 129, 0.1);
3081
+ --tool-row-text: #047857;
3082
+ --tool-row-border: rgba(16, 185, 129, 0.34);
3083
+ }
3084
+ .dark-theme .ai-chat-tool-status-row--completed {
3085
+ --tool-row-bg: rgba(6, 95, 70, 0.22);
3086
+ --tool-row-text: #86efac;
3087
+ --tool-row-border: rgba(16, 185, 129, 0.42);
3088
+ }
3089
+ .ai-chat-tool-status-row--error {
3090
+ --tool-row-accent: #f87171;
3091
+ --tool-row-bg: rgba(248, 113, 113, 0.1);
3092
+ --tool-row-text: #b91c1c;
3093
+ --tool-row-border: rgba(248, 113, 113, 0.34);
3094
+ }
3095
+ .dark-theme .ai-chat-tool-status-row--error {
3096
+ --tool-row-bg: rgba(127, 29, 29, 0.24);
3097
+ --tool-row-text: #fda4af;
3098
+ --tool-row-border: rgba(248, 113, 113, 0.4);
3099
+ }
2961
3100
  @keyframes ai-chat-dot-bounce {
2962
3101
  0%, 80%, 100% {
2963
3102
  transform: scale(0.6);
@@ -3751,12 +3890,6 @@ button[data-pending=true]::after {
3751
3890
  color: var(--ai-sidebar-text-muted, #9ca3af);
3752
3891
  flex-shrink: 0;
3753
3892
  }
3754
- .ai-chat-context-popover__section-format {
3755
- font-size: 10px;
3756
- color: var(--ai-sidebar-text-muted, #9ca3af);
3757
- letter-spacing: 0.04em;
3758
- flex-shrink: 0;
3759
- }
3760
3893
  .ai-chat-context-popover__expand-btn {
3761
3894
  display: flex;
3762
3895
  align-items: center;
@@ -3928,25 +4061,6 @@ button[data-pending=true]::after {
3928
4061
  max-height: 400px;
3929
4062
  overflow-y: auto;
3930
4063
  }
3931
- .ai-chat-context-popover__detail-view-toggle {
3932
- display: flex;
3933
- gap: 8px;
3934
- padding: 8px 12px 0;
3935
- }
3936
- .ai-chat-context-popover__detail-view-button {
3937
- border: 1px solid var(--ai-chat-input-border, #d1d5db);
3938
- background: transparent;
3939
- color: var(--ai-sidebar-text-muted, #6b7280);
3940
- border-radius: 999px;
3941
- font-size: 11px;
3942
- line-height: 1;
3943
- padding: 4px 10px;
3944
- cursor: pointer;
3945
- }
3946
- .ai-chat-context-popover__detail-view-button.active {
3947
- color: var(--ai-button-primary-bg, #2563eb);
3948
- border-color: var(--ai-button-primary-bg, #2563eb);
3949
- }
3950
4064
  .dark-theme .ai-chat-context-pill {
3951
4065
  background: var(--ai-chat-suggestion-bg, #374151);
3952
4066
  }
@@ -4352,61 +4466,141 @@ button[data-pending=true]::after {
4352
4466
  .dark-theme .ai-chat-email-error-message {
4353
4467
  color: #fca5a5;
4354
4468
  }
4355
- .ai-chat-approve-tools-panel {
4356
- padding: 16px;
4357
- border-top: 1px solid #e5e7eb;
4358
- border-bottom: 1px solid #e5e7eb;
4359
- background: #fef3c7;
4469
+ .ai-chat-tool-tray {
4470
+ display: flex;
4471
+ flex-direction: column;
4472
+ gap: 8px;
4473
+ padding: 0 12px 10px;
4360
4474
  }
4361
- .dark-theme .ai-chat-approve-tools-panel {
4362
- background: #78350f;
4363
- border-top-color: #92400e;
4364
- border-bottom-color: #92400e;
4475
+ .ai-chat-tool-tray-card {
4476
+ width: 100%;
4477
+ border-radius: 12px;
4478
+ border: 1px solid #dbeafe;
4479
+ background: #f8fbff;
4480
+ box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
4481
+ padding: 10px 12px;
4482
+ animation: ai-chat-tool-tray-pop 180ms ease-out;
4365
4483
  }
4366
- .ai-chat-approve-tools-header {
4367
- font-size: 14px;
4368
- font-weight: 600;
4369
- color: #92400e;
4370
- margin-bottom: 4px;
4484
+ .dark-theme .ai-chat-tool-tray-card {
4485
+ border-color: #1e3a8a;
4486
+ background: rgba(30, 58, 138, 0.2);
4487
+ box-shadow: 0 8px 20px rgba(2, 6, 23, 0.35);
4371
4488
  }
4372
- .dark-theme .ai-chat-approve-tools-header {
4373
- color: #fef3c7;
4489
+ .ai-chat-tool-tray-card__header {
4490
+ display: flex;
4491
+ align-items: center;
4492
+ justify-content: space-between;
4493
+ gap: 8px;
4374
4494
  }
4375
- .ai-chat-approve-tools-description {
4495
+ .ai-chat-tool-tray-card__title {
4496
+ display: inline-flex;
4497
+ align-items: center;
4498
+ gap: 6px;
4499
+ min-width: 0;
4376
4500
  font-size: 13px;
4377
- color: #78350f;
4378
- margin-bottom: 12px;
4501
+ font-weight: 600;
4502
+ color: #0f172a;
4379
4503
  }
4380
- .dark-theme .ai-chat-approve-tools-description {
4381
- color: #fde68a;
4504
+ .dark-theme .ai-chat-tool-tray-card__title {
4505
+ color: #e2e8f0;
4382
4506
  }
4383
- .ai-chat-approve-tool-item {
4384
- margin-bottom: 12px;
4507
+ .ai-chat-tool-tray-card__badge {
4508
+ border-radius: 999px;
4509
+ padding: 2px 8px;
4510
+ font-size: 10px;
4511
+ font-weight: 700;
4512
+ text-transform: uppercase;
4513
+ letter-spacing: 0.04em;
4514
+ background: #dbeafe;
4515
+ color: #1e3a8a;
4385
4516
  }
4386
- .ai-chat-approve-tool-item:last-child {
4387
- margin-bottom: 0;
4517
+ .dark-theme .ai-chat-tool-tray-card__badge {
4518
+ background: rgba(59, 130, 246, 0.24);
4519
+ color: #bfdbfe;
4388
4520
  }
4389
- .ai-chat-approve-tool-name {
4390
- font-size: 13px;
4391
- font-weight: 600;
4392
- color: #92400e;
4393
- margin-bottom: 6px;
4521
+ .ai-chat-tool-tray-card__message {
4522
+ margin-top: 6px;
4523
+ font-size: 12px;
4524
+ line-height: 1.45;
4525
+ color: #334155;
4526
+ word-break: break-word;
4527
+ }
4528
+ .dark-theme .ai-chat-tool-tray-card__message {
4529
+ color: #cbd5e1;
4530
+ }
4531
+ .ai-chat-tool-tray-card__tool-name {
4394
4532
  font-family:
4395
- "Monaco",
4396
- "Courier New",
4533
+ "SF Mono",
4534
+ Monaco,
4535
+ Consolas,
4397
4536
  monospace;
4537
+ font-weight: 600;
4538
+ color: #0f172a;
4398
4539
  }
4399
- .dark-theme .ai-chat-approve-tool-name {
4400
- color: #fef3c7;
4540
+ .dark-theme .ai-chat-tool-tray-card__tool-name {
4541
+ color: #e2e8f0;
4401
4542
  }
4402
- .ai-chat-approve-tools-buttons {
4543
+ .ai-chat-tool-tray-card__actions {
4544
+ margin-top: 8px;
4403
4545
  display: flex;
4404
4546
  gap: 6px;
4405
4547
  flex-wrap: wrap;
4406
4548
  }
4407
- .ai-chat-approve-tools-button {
4549
+ .ai-chat-tool-tray-card__button {
4408
4550
  flex: 1;
4409
- min-width: 80px;
4551
+ min-width: 84px;
4552
+ }
4553
+ .ai-chat-tool-tray-card--approval {
4554
+ border-color: #fcd34d;
4555
+ background: #fffbeb;
4556
+ }
4557
+ .dark-theme .ai-chat-tool-tray-card--approval {
4558
+ border-color: #f59e0b;
4559
+ background: rgba(120, 53, 15, 0.46);
4560
+ }
4561
+ .ai-chat-tool-tray-card--running {
4562
+ border-color: #7dd3fc;
4563
+ background: #f0f9ff;
4564
+ }
4565
+ .dark-theme .ai-chat-tool-tray-card--running {
4566
+ border-color: #0e7490;
4567
+ background: rgba(8, 145, 178, 0.22);
4568
+ }
4569
+ .ai-chat-tool-tray-card--approved,
4570
+ .ai-chat-tool-tray-card--auto {
4571
+ border-color: #86efac;
4572
+ background: #f0fdf4;
4573
+ }
4574
+ .dark-theme .ai-chat-tool-tray-card--approved,
4575
+ .dark-theme .ai-chat-tool-tray-card--auto {
4576
+ border-color: #22c55e;
4577
+ background: rgba(22, 101, 52, 0.3);
4578
+ }
4579
+ .ai-chat-tool-tray-card--completed {
4580
+ border-color: #34d399;
4581
+ background: #ecfdf5;
4582
+ }
4583
+ .dark-theme .ai-chat-tool-tray-card--completed {
4584
+ border-color: #10b981;
4585
+ background: rgba(6, 95, 70, 0.35);
4586
+ }
4587
+ .ai-chat-tool-tray-card--error {
4588
+ border-color: #fca5a5;
4589
+ background: #fef2f2;
4590
+ }
4591
+ .dark-theme .ai-chat-tool-tray-card--error {
4592
+ border-color: #ef4444;
4593
+ background: rgba(127, 29, 29, 0.4);
4594
+ }
4595
+ @keyframes ai-chat-tool-tray-pop {
4596
+ from {
4597
+ opacity: 0;
4598
+ transform: translateY(16px);
4599
+ }
4600
+ to {
4601
+ opacity: 1;
4602
+ transform: translateY(0);
4603
+ }
4410
4604
  }
4411
4605
  .ai-chat-email-input-message {
4412
4606
  color: #991b1b;