@webless/agent 0.10.1 → 0.10.3

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/embed.css CHANGED
@@ -424,9 +424,13 @@ summary.agent-transcript__activity-heading::before {
424
424
  margin: 0;
425
425
  color: var(--as-text-muted);
426
426
  font-size: 12.5px;
427
+ font-weight: 650;
428
+ font-style: normal;
429
+ line-height: 1.4;
430
+ }
431
+ .agent-activity-bubble__status--soft {
427
432
  font-weight: 400;
428
433
  font-style: italic;
429
- line-height: 1.4;
430
434
  }
431
435
  .agent-activity-bubble__pulse {
432
436
  position: relative;
@@ -1052,22 +1056,34 @@ summary.agent-transcript__activity-heading::before {
1052
1056
  display: flex;
1053
1057
  align-items: center;
1054
1058
  justify-content: space-between;
1055
- flex-wrap: wrap;
1056
- gap: 4px 12px;
1057
- padding: 0 8px;
1059
+ flex-wrap: nowrap;
1060
+ gap: 8px 10px;
1061
+ padding: 0 2px;
1058
1062
  color: var(--as-text-muted);
1059
- font-size: 12px;
1063
+ font-size: 11px;
1064
+ line-height: 1.25;
1065
+ }
1066
+ .composer__resume > span {
1067
+ min-width: 0;
1068
+ flex: 1 1 auto;
1069
+ overflow: hidden;
1070
+ text-overflow: ellipsis;
1071
+ white-space: nowrap;
1060
1072
  }
1061
1073
  .composer__resume button {
1062
1074
  border: none;
1063
1075
  border-radius: 4px;
1064
1076
  background: transparent;
1065
1077
  color: var(--as-text);
1066
- padding: 8px 0;
1078
+ flex-shrink: 0;
1079
+ padding: 4px 0;
1067
1080
  font: inherit;
1081
+ font-size: 11px;
1068
1082
  font-weight: 600;
1083
+ line-height: 1.25;
1069
1084
  text-decoration: underline;
1070
1085
  text-underline-offset: 3px;
1086
+ white-space: nowrap;
1071
1087
  cursor: pointer;
1072
1088
  }
1073
1089
  .composer__resume button:disabled {
@@ -2682,6 +2698,9 @@ summary.agent-transcript__activity-heading::before {
2682
2698
  border-top: 1px solid var(--as-hairline);
2683
2699
  background: var(--as-surface);
2684
2700
  }
2701
+ .agent-rail__composer-wrap:has(.composer__resume) {
2702
+ padding-inline: 12px;
2703
+ }
2685
2704
  .agent-rail__overlay {
2686
2705
  position: absolute;
2687
2706
  inset: 0;
@@ -2925,14 +2944,12 @@ summary.agent-transcript__activity-heading::before {
2925
2944
  }
2926
2945
 
2927
2946
  /* src/react/components/AssistEdgeTab/AssistEdgeTab.css */
2928
- @property --as-tab-beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
2929
2947
  .assist-edge-tab {
2930
2948
  --tab-ink: var(--as-brand);
2931
2949
  --tab-fill: var(--as-surface);
2932
2950
  --tab-line: color-mix(in srgb, var(--as-brand) 32%, var(--as-border));
2933
2951
  --tab-along: 50%;
2934
2952
  --tab-inset: 0px;
2935
- --as-tab-beam: 0deg;
2936
2953
  position: fixed;
2937
2954
  top: auto;
2938
2955
  right: auto;
@@ -3097,9 +3114,9 @@ summary.agent-transcript__activity-heading::before {
3097
3114
  justify-content: flex-start;
3098
3115
  gap: 11px;
3099
3116
  min-width: 0;
3100
- min-height: 56px;
3101
- padding: 6px 20px 6px 6px;
3102
- border-radius: 999px;
3117
+ min-height: 0;
3118
+ padding: 12px 20px 12px 12px;
3119
+ border-radius: 48px;
3103
3120
  transform: translateX(-50%) translateY(calc(100% + 18px));
3104
3121
  }
3105
3122
  .assist-edge-tab--bottom.is-visible {
@@ -3163,6 +3180,16 @@ summary.agent-transcript__activity-heading::before {
3163
3180
  .assist-edge-tab--ask.assist-edge-tab--left {
3164
3181
  border-radius: 0 18px 18px 0;
3165
3182
  }
3183
+ .assist-edge-tab--ask.assist-edge-tab--bottom,
3184
+ .assist-edge-tab--ask.assist-edge-tab--mobile,
3185
+ .assist-edge-tab--fill.assist-edge-tab--bottom,
3186
+ .assist-edge-tab--fill.assist-edge-tab--mobile,
3187
+ .assist-edge-tab--outline.assist-edge-tab--bottom,
3188
+ .assist-edge-tab--outline.assist-edge-tab--mobile {
3189
+ --tab-fill: #ffffff;
3190
+ background-color: #ffffff;
3191
+ background-image: none;
3192
+ }
3166
3193
  .assist-edge-tab--fill {
3167
3194
  --tab-fill: var(--as-brand);
3168
3195
  --tab-ink: #fff;
@@ -3177,49 +3204,27 @@ summary.agent-transcript__activity-heading::before {
3177
3204
  .webless-agent-root > .assist-edge-tab.assist-edge-tab--mobile,
3178
3205
  .assist-edge-tab.assist-edge-tab--bottom,
3179
3206
  .assist-edge-tab.assist-edge-tab--mobile {
3180
- isolation: isolate;
3181
3207
  box-sizing: border-box;
3182
3208
  color-scheme: light;
3183
3209
  --tab-fill: #ffffff;
3184
- --tab-ink: #171717;
3210
+ --tab-ink: #1f2937;
3185
3211
  --tab-line: transparent;
3186
- --pill-brand: var(--as-brand, #6f16ff);
3212
+ --pill-brand: var(--as-brand, #6366f1);
3187
3213
  --pill-fill: #ffffff;
3188
- --pill-label: #5f6673;
3189
- --pill-title: #171717;
3190
- --pill-mark: var(--pill-brand);
3191
- --pill-wash-light: color-mix(in srgb, var(--pill-brand) 24%, #fff);
3192
- --pill-wash-cool: color-mix(in oklab, var(--pill-brand) 32%, #d4e4ff);
3193
- --pill-wash-deep: color-mix(in srgb, var(--pill-brand) 38%, #fff);
3194
- --pill-orb-base: color-mix(in srgb, var(--pill-brand) 30%, #fff);
3195
- --pill-beam-soft: color-mix(in srgb, var(--pill-brand) 22%, #fff);
3196
- --pill-beam-mid: color-mix(in srgb, var(--pill-brand) 38%, #fff);
3197
- --pill-beam-bright: color-mix(in srgb, var(--pill-brand) 54%, #fff);
3198
- border: 2px solid transparent;
3199
- background-color: var(--pill-fill);
3200
- background-image:
3201
- linear-gradient(var(--pill-fill), var(--pill-fill)),
3202
- conic-gradient(
3203
- from var(--as-tab-beam),
3204
- var(--pill-beam-soft) 0deg,
3205
- var(--pill-beam-soft) 215deg,
3206
- var(--pill-beam-mid) 252deg,
3207
- var(--pill-beam-bright) 278deg,
3208
- var(--pill-beam-mid) 304deg,
3209
- var(--pill-beam-soft) 360deg);
3210
- background-origin: border-box;
3211
- background-clip: padding-box, border-box;
3214
+ --pill-title: #1f2937;
3215
+ --pill-subtitle: #9ca3af;
3216
+ --pill-glow-strong: color-mix(in srgb, var(--pill-brand) 40%, transparent);
3217
+ --pill-glow-soft: color-mix(in srgb, var(--pill-brand) 10%, transparent);
3218
+ --pill-glow-shadow: color-mix(in srgb, var(--pill-brand) 15%, transparent);
3219
+ --pill-orb-end: color-mix(in srgb, var(--pill-brand) 45%, #3b82f6);
3220
+ gap: 12px;
3221
+ border: 1.5px solid var(--pill-brand);
3222
+ background-color: #ffffff;
3223
+ background-image: none;
3212
3224
  color: var(--pill-title);
3213
- box-shadow: 0 10px 24px -10px rgb(15 23 42 / 10%), 0 2px 6px rgb(15 23 42 / 4%);
3214
- transition:
3215
- transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
3216
- opacity 220ms ease,
3217
- box-shadow 180ms ease;
3218
- animation: assist-edge-tab-beam 9s linear infinite;
3219
- }
3220
- .assist-edge-tab.assist-edge-tab--bottom.is-visible:hover,
3221
- .assist-edge-tab.assist-edge-tab--mobile.is-visible:hover {
3222
- box-shadow: 0 12px 26px -8px rgb(15 23 42 / 16%), 0 3px 8px rgb(15 23 42 / 6%);
3225
+ box-shadow: 0 0 0 0 var(--pill-glow-strong), 0 4px 20px var(--pill-glow-shadow);
3226
+ transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
3227
+ animation: assist-edge-tab-border-flow 2s ease-in-out infinite;
3223
3228
  }
3224
3229
  .assist-edge-tab--bottom .assist-edge-tab__text,
3225
3230
  .assist-edge-tab--mobile .assist-edge-tab__text {
@@ -3231,99 +3236,51 @@ summary.agent-transcript__activity-heading::before {
3231
3236
  .assist-edge-tab--bottom .assist-edge-tab__label,
3232
3237
  .assist-edge-tab--mobile .assist-edge-tab__label {
3233
3238
  font-family: inherit;
3234
- font-size: 14px;
3235
- font-weight: 500;
3236
- letter-spacing: -0.008em;
3237
- line-height: 1.25;
3238
- color: var(--pill-label);
3239
+ font-size: 13px;
3240
+ font-weight: 600;
3241
+ letter-spacing: 0;
3242
+ line-height: 1;
3243
+ color: var(--pill-title);
3239
3244
  }
3240
3245
  .assist-edge-tab--bottom .assist-edge-tab__sublabel,
3241
3246
  .assist-edge-tab--mobile .assist-edge-tab__sublabel {
3242
3247
  max-width: none;
3243
3248
  font-family: inherit;
3244
- font-size: 15px;
3245
- font-weight: 500;
3246
- letter-spacing: -0.014em;
3247
- line-height: 1.25;
3248
- color: var(--pill-title);
3249
+ font-size: 11px;
3250
+ font-weight: 400;
3251
+ letter-spacing: 0;
3252
+ line-height: 1;
3253
+ color: var(--pill-subtitle);
3249
3254
  }
3250
3255
  .assist-edge-tab--bottom:not(:has(.assist-edge-tab__sublabel)) .assist-edge-tab__label,
3251
3256
  .assist-edge-tab--mobile:not(:has(.assist-edge-tab__sublabel)) .assist-edge-tab__label {
3252
- font-size: 15px;
3253
- font-weight: 500;
3254
- letter-spacing: -0.012em;
3257
+ font-size: 13px;
3258
+ font-weight: 600;
3255
3259
  color: var(--pill-title);
3256
3260
  }
3257
3261
  .assist-edge-tab__mark--chip {
3258
- isolation: isolate;
3259
3262
  overflow: hidden;
3260
3263
  width: 36px;
3261
3264
  height: 36px;
3262
3265
  flex-basis: 36px;
3263
3266
  border: none;
3264
3267
  border-radius: 50%;
3265
- box-shadow: none;
3266
3268
  background:
3267
- radial-gradient(
3268
- ellipse 88% 52% at 50% 94%,
3269
- color-mix(in srgb, var(--pill-brand) 22%, transparent) 0%,
3270
- transparent 68%),
3271
- radial-gradient(
3272
- 120% 100% at 22% 12%,
3273
- var(--pill-wash-light) 0%,
3274
- transparent 55%),
3275
- radial-gradient(
3276
- 110% 95% at 88% 88%,
3277
- var(--pill-wash-cool) 0%,
3278
- transparent 58%),
3279
- var(--pill-orb-base);
3280
- color: var(--pill-mark);
3281
- box-shadow: inset 0 1px 2px rgb(255 255 255 / 28%);
3282
- }
3283
- .assist-edge-tab__wash {
3284
- position: absolute;
3285
- border-radius: 50%;
3286
- pointer-events: none;
3287
- z-index: 0;
3288
- }
3289
- .assist-edge-tab__wash--light,
3290
- .assist-edge-tab__wash--cool {
3291
- inset: -32%;
3292
- filter: blur(4px);
3293
- opacity: 0.85;
3294
- -webkit-mask:
3295
- radial-gradient(
3296
- farthest-side,
3297
- transparent 40%,
3298
- #000 58%);
3299
- mask:
3300
- radial-gradient(
3301
- farthest-side,
3302
- transparent 40%,
3303
- #000 58%);
3304
- }
3305
- .assist-edge-tab__wash--light {
3306
- background:
3307
- radial-gradient(
3308
- closest-side at 16% 50%,
3309
- var(--pill-wash-light) 0%,
3310
- transparent 58%);
3311
- animation: assist-edge-tab-spin 7s linear infinite;
3312
- }
3313
- .assist-edge-tab__wash--cool {
3314
- background:
3315
- radial-gradient(
3316
- closest-side at 84% 50%,
3317
- var(--pill-wash-cool) 0%,
3318
- transparent 58%);
3319
- animation: assist-edge-tab-spin 9.5s linear infinite reverse;
3269
+ linear-gradient(
3270
+ 135deg,
3271
+ var(--pill-brand) 0%,
3272
+ var(--pill-orb-end) 100%);
3273
+ color: #ffffff;
3274
+ box-shadow: none;
3320
3275
  }
3321
3276
  .assist-edge-tab__mark--chip > svg,
3322
3277
  .assist-edge-tab__mark--chip > .assist-edge-tab__custom-icon,
3323
3278
  .assist-edge-tab__mark--chip > .assist-edge-tab__logo {
3324
3279
  position: relative;
3325
- z-index: 2;
3326
- filter: drop-shadow(0 0.5px 0 rgb(255 255 255 / 45%));
3280
+ z-index: 1;
3281
+ }
3282
+ .assist-edge-tab__mark--chip > .assist-edge-tab__chat-spark {
3283
+ color: #ffffff;
3327
3284
  }
3328
3285
  .assist-edge-tab svg.assist-edge-tab__chat-spark .assist-edge-tab__spark {
3329
3286
  transform-box: fill-box;
@@ -3334,14 +3291,12 @@ summary.agent-transcript__activity-heading::before {
3334
3291
  animation-duration: 4.2s;
3335
3292
  animation-delay: -1.4s;
3336
3293
  }
3337
- @keyframes assist-edge-tab-beam {
3338
- to {
3339
- --as-tab-beam: 360deg;
3294
+ @keyframes assist-edge-tab-border-flow {
3295
+ 0%, 100% {
3296
+ box-shadow: 0 0 0 0 var(--pill-glow-strong), 0 4px 20px var(--pill-glow-shadow);
3340
3297
  }
3341
- }
3342
- @keyframes assist-edge-tab-spin {
3343
- to {
3344
- transform: rotate(360deg);
3298
+ 50% {
3299
+ box-shadow: 0 0 0 6px var(--pill-glow-soft), 0 4px 20px var(--pill-glow-shadow);
3345
3300
  }
3346
3301
  }
3347
3302
  @keyframes assist-edge-tab-twinkle {
@@ -3390,18 +3345,20 @@ summary.agent-transcript__activity-heading::before {
3390
3345
  min-width: 0;
3391
3346
  max-width: min(240px, calc(100vw - 28px));
3392
3347
  height: auto;
3393
- min-height: 54px;
3394
- padding: 6px 16px 6px 6px;
3348
+ min-height: 0;
3349
+ padding: 12px 16px 12px 12px;
3395
3350
  flex-direction: row;
3396
3351
  justify-content: flex-start;
3397
3352
  gap: 10px;
3398
3353
  border-radius: 999px;
3399
3354
  transform: translateY(calc(100% + 24px));
3400
3355
  }
3401
- .assist-edge-tab--mobile.is-visible,
3402
- .assist-edge-tab--mobile.is-visible:hover {
3356
+ .assist-edge-tab--mobile.is-visible {
3403
3357
  transform: translateY(0);
3404
3358
  }
3359
+ .assist-edge-tab--mobile.is-visible:hover {
3360
+ transform: translateY(-2px);
3361
+ }
3405
3362
  .assist-edge-tab--mobile .assist-edge-tab__mark {
3406
3363
  width: 34px;
3407
3364
  height: 34px;
@@ -3432,7 +3389,6 @@ summary.agent-transcript__activity-heading::before {
3432
3389
  }
3433
3390
  .assist-edge-tab.assist-edge-tab--bottom,
3434
3391
  .assist-edge-tab.assist-edge-tab--mobile,
3435
- .assist-edge-tab .assist-edge-tab__wash,
3436
3392
  .assist-edge-tab .assist-edge-tab__spark {
3437
3393
  animation: none;
3438
3394
  }