@webless/agent 0.8.0 → 0.9.1

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/react.css CHANGED
@@ -1031,20 +1031,22 @@ html.webless-agent-page-shift {
1031
1031
  width: 100%;
1032
1032
  min-width: 0;
1033
1033
  gap: 16px;
1034
- margin-top: 24px;
1034
+ margin-top: 12px;
1035
1035
  }
1036
1036
  .search-references__heading {
1037
- display: flex;
1038
- align-items: center;
1039
- gap: 6px;
1040
- margin: 0 0 8px;
1037
+ width: fit-content;
1038
+ min-height: 32px;
1039
+ box-sizing: border-box;
1040
+ padding: 6px 0;
1041
+ margin: 0;
1041
1042
  color: var(--as-text);
1042
1043
  font-size: 12px;
1043
- font-weight: 700;
1044
+ font-weight: 600;
1044
1045
  line-height: 1.5;
1046
+ cursor: pointer;
1045
1047
  }
1046
- .search-references__heading span {
1047
- display: inline-flex;
1048
+ .search-references__disclosure[open] > summary {
1049
+ margin-bottom: 8px;
1048
1050
  }
1049
1051
  .search-references__list {
1050
1052
  display: grid;
@@ -1118,14 +1120,15 @@ html.webless-agent-page-shift {
1118
1120
  background: var(--as-brand-soft);
1119
1121
  color: var(--as-brand);
1120
1122
  }
1121
- .search-references a:focus-visible {
1123
+ .search-references a:focus-visible,
1124
+ .search-references summary:focus-visible {
1122
1125
  outline: 2px solid var(--as-brand);
1123
1126
  outline-offset: 2px;
1124
1127
  }
1125
1128
  .message-bubble__text:has(.search-references) {
1126
1129
  width: 100%;
1127
1130
  }
1128
- .search-references > section,
1131
+ .search-references > details,
1129
1132
  .search-references__list > li {
1130
1133
  min-width: 0;
1131
1134
  }
@@ -2212,6 +2215,50 @@ html.webless-agent-page-shift {
2212
2215
  .entity-result-card {
2213
2216
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
2214
2217
  }
2218
+ .entity-result-card.entity-result-card--compact,
2219
+ .entity-result-card.entity-result-card--disclosure {
2220
+ padding: 4px 0;
2221
+ border: 0;
2222
+ background: transparent;
2223
+ box-shadow: none;
2224
+ color: var(--as-text-muted);
2225
+ }
2226
+ .entity-result-card--compact .tool-result-card__heading strong,
2227
+ .entity-result-card--disclosure .tool-result-card__heading strong {
2228
+ font-size: 12px;
2229
+ font-weight: 500;
2230
+ }
2231
+ .entity-result-card--disclosure > summary {
2232
+ display: flex;
2233
+ align-items: center;
2234
+ gap: 10px;
2235
+ width: fit-content;
2236
+ cursor: pointer;
2237
+ list-style: none;
2238
+ }
2239
+ .entity-result-card--disclosure > summary::-webkit-details-marker {
2240
+ display: none;
2241
+ }
2242
+ .entity-result-card--disclosure > summary::after {
2243
+ content: "";
2244
+ width: 5px;
2245
+ height: 5px;
2246
+ border-right: 1px solid currentColor;
2247
+ border-bottom: 1px solid currentColor;
2248
+ transform: rotate(45deg);
2249
+ }
2250
+ .entity-result-card--disclosure[open] > summary::after {
2251
+ transform: rotate(225deg);
2252
+ }
2253
+ .entity-result-card--disclosure > summary:focus-visible {
2254
+ outline: 2px solid var(--as-brand);
2255
+ outline-offset: 4px;
2256
+ border-radius: 2px;
2257
+ }
2258
+ .entity-result-card--disclosure > dl {
2259
+ margin-top: 12px;
2260
+ padding-left: 16px;
2261
+ }
2215
2262
  @media (prefers-reduced-motion: reduce) {
2216
2263
  .entity-result-card {
2217
2264
  transition: none;
@@ -2438,6 +2485,9 @@ html.webless-agent-page-shift {
2438
2485
  align-items: stretch;
2439
2486
  gap: 10px;
2440
2487
  }
2488
+ .agent-rail__turn-block:empty {
2489
+ display: none;
2490
+ }
2441
2491
  .agent-rail__welcome {
2442
2492
  display: flex;
2443
2493
  flex-direction: column;
@@ -3077,6 +3127,9 @@ html.webless-agent-page-shift {
3077
3127
  font-size: 12px;
3078
3128
  line-height: 1.5;
3079
3129
  }
3130
+ .agent-transcript__message--visitor .agent-transcript__meta {
3131
+ justify-content: flex-end;
3132
+ }
3080
3133
  .agent-transcript__meta time {
3081
3134
  font-variant-numeric: tabular-nums;
3082
3135
  }
@@ -3095,4 +3148,43 @@ html.webless-agent-page-shift {
3095
3148
  max-width: 100%;
3096
3149
  overflow-x: auto;
3097
3150
  }
3151
+ .agent-transcript__activity {
3152
+ min-width: 0;
3153
+ color: var(--as-text-muted);
3154
+ font-size: 12px;
3155
+ line-height: 1.5;
3156
+ border-left: 2px solid var(--as-border);
3157
+ padding-left: 12px;
3158
+ }
3159
+ .agent-transcript__activity-heading {
3160
+ display: flex;
3161
+ align-items: baseline;
3162
+ flex-wrap: wrap;
3163
+ gap: 4px 12px;
3164
+ overflow-wrap: anywhere;
3165
+ }
3166
+ summary.agent-transcript__activity-heading {
3167
+ cursor: pointer;
3168
+ }
3169
+ summary.agent-transcript__activity-heading::before {
3170
+ content: "\203a";
3171
+ }
3172
+ .agent-transcript__activity details[open] > summary::before {
3173
+ content: "\2304";
3174
+ }
3175
+ .agent-transcript__activity-heading time {
3176
+ margin-left: auto;
3177
+ font-variant-numeric: tabular-nums;
3178
+ }
3179
+ .agent-transcript__activity-status {
3180
+ font-weight: 500;
3181
+ }
3182
+ .agent-transcript__activity[data-status=failed],
3183
+ .agent-transcript__activity[data-status=rejected] {
3184
+ border-color: var(--as-error, #b91c1c);
3185
+ }
3186
+ .agent-transcript__activity-result {
3187
+ margin-top: 12px;
3188
+ color: var(--as-text);
3189
+ }
3098
3190
  /*# sourceMappingURL=react.css.map */