@webless/agent 0.10.4 → 0.12.0

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
@@ -1652,6 +1652,30 @@ html.webless-agent-page-shift {
1652
1652
  monospace;
1653
1653
  font-size: 0.92em;
1654
1654
  }
1655
+ .message-bubble--human {
1656
+ color: var(--as-text);
1657
+ padding-block: 0.5rem;
1658
+ }
1659
+ .message-bubble--human .message-bubble__text {
1660
+ white-space: pre-wrap;
1661
+ overflow-wrap: anywhere;
1662
+ }
1663
+ .message-bubble__representative {
1664
+ display: block;
1665
+ margin-bottom: 0.375rem;
1666
+ font-size: 0.8125rem;
1667
+ }
1668
+ .message-bubble__representative span {
1669
+ font-weight: 400;
1670
+ margin-left: 0.375rem;
1671
+ color: var(--as-text-muted);
1672
+ }
1673
+ .message-bubble__speaker {
1674
+ display: block;
1675
+ margin-bottom: 0.25rem;
1676
+ font-size: 0.75rem;
1677
+ opacity: 0.75;
1678
+ }
1655
1679
 
1656
1680
  /* src/react/components/MessageActions/MessageActions.css */
1657
1681
  .agent-message-actions {
@@ -2175,6 +2199,93 @@ html.webless-agent-page-shift {
2175
2199
  font-weight: 650;
2176
2200
  }
2177
2201
 
2202
+ /* src/react/components/LocationConsent/LocationConsent.css */
2203
+ .location-consent {
2204
+ display: flex;
2205
+ align-items: center;
2206
+ justify-content: space-between;
2207
+ flex-wrap: wrap;
2208
+ gap: 12px;
2209
+ padding: 14px 16px;
2210
+ margin-bottom: 10px;
2211
+ border-radius: var(--as-radius-md);
2212
+ background: var(--as-surface-muted);
2213
+ color: var(--as-text);
2214
+ }
2215
+ .location-consent__copy {
2216
+ display: grid;
2217
+ gap: 3px;
2218
+ flex: 1;
2219
+ min-width: 150px;
2220
+ font-size: 12px;
2221
+ }
2222
+ .location-consent__copy strong {
2223
+ font-size: 13px;
2224
+ font-weight: 650;
2225
+ }
2226
+ .location-consent__copy span {
2227
+ color: var(--as-text-muted);
2228
+ }
2229
+ .location-consent__actions {
2230
+ display: flex;
2231
+ align-items: center;
2232
+ gap: 12px;
2233
+ }
2234
+ .location-consent__toggle {
2235
+ appearance: none;
2236
+ width: 42px;
2237
+ height: 26px;
2238
+ padding: 3px;
2239
+ border: 0;
2240
+ border-radius: 30px;
2241
+ background: var(--as-text-subtle);
2242
+ cursor: pointer;
2243
+ }
2244
+ .location-consent__toggle span {
2245
+ display: block;
2246
+ width: 20px;
2247
+ height: 20px;
2248
+ border-radius: 50%;
2249
+ background: var(--as-surface);
2250
+ transition: transform 120ms ease;
2251
+ }
2252
+ .location-consent__toggle[aria-checked=true] {
2253
+ background: var(--as-brand);
2254
+ }
2255
+ .location-consent__toggle[aria-checked=true] span {
2256
+ transform: translateX(16px);
2257
+ }
2258
+ .location-consent__decline {
2259
+ appearance: none;
2260
+ font: inherit;
2261
+ font-size: 12px;
2262
+ color: var(--as-text);
2263
+ background: transparent;
2264
+ border: 1px solid var(--as-border);
2265
+ border-radius: 24px;
2266
+ padding: 8px 12px;
2267
+ cursor: pointer;
2268
+ }
2269
+ .location-consent button:focus-visible {
2270
+ outline: 2px solid var(--as-brand);
2271
+ outline-offset: 3px;
2272
+ }
2273
+ .location-consent button:disabled {
2274
+ cursor: default;
2275
+ opacity: 0.5;
2276
+ }
2277
+ .location-consent__error {
2278
+ flex-basis: 100%;
2279
+ margin: 0;
2280
+ font-size: 12px;
2281
+ color: var(--as-danger);
2282
+ }
2283
+ @media (prefers-reduced-motion: reduce) {
2284
+ .location-consent__toggle span {
2285
+ transition: none;
2286
+ }
2287
+ }
2288
+
2178
2289
  /* src/react/components/ToolResultCard/ToolResultCard.css */
2179
2290
  .tool-result-card {
2180
2291
  display: grid;
@@ -2861,6 +2972,46 @@ html.webless-agent-page-shift {
2861
2972
  transition: none;
2862
2973
  }
2863
2974
  }
2975
+ .agent-rail__handoff {
2976
+ padding: 0.625rem 1rem;
2977
+ border-top: 1px solid var(--as-border);
2978
+ display: flex;
2979
+ gap: 0.5rem;
2980
+ align-items: center;
2981
+ justify-content: space-between;
2982
+ flex-wrap: wrap;
2983
+ font-size: 0.8125rem;
2984
+ color: var(--as-text-muted);
2985
+ }
2986
+ .agent-rail__handoff p {
2987
+ margin: 0;
2988
+ }
2989
+ .agent-rail__handoff button {
2990
+ border: 0;
2991
+ border-radius: 0.375rem;
2992
+ background: transparent;
2993
+ color: var(--as-text);
2994
+ cursor: pointer;
2995
+ font: inherit;
2996
+ font-weight: 600;
2997
+ padding: 0.5rem;
2998
+ min-height: 2.5rem;
2999
+ }
3000
+ .agent-rail__handoff button:hover {
3001
+ background: var(--as-surface-muted);
3002
+ }
3003
+ .agent-rail__handoff button:focus-visible {
3004
+ outline: 2px solid var(--as-brand);
3005
+ outline-offset: 2px;
3006
+ }
3007
+ .agent-rail__handoff button:disabled {
3008
+ opacity: 0.5;
3009
+ cursor: default;
3010
+ }
3011
+ .agent-rail__handoff [role=alert] {
3012
+ width: 100%;
3013
+ color: var(--as-danger);
3014
+ }
2864
3015
 
2865
3016
  /* src/react/components/AssistEdgeTab/AssistEdgeTab.css */
2866
3017
  .assist-edge-tab {