@webless/agent 0.7.5 → 0.9.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/embed.css CHANGED
@@ -307,6 +307,104 @@ html.webless-agent-page-shift {
307
307
  outline-offset: 2px;
308
308
  }
309
309
 
310
+ /* src/react/components/AgentTranscript/AgentTranscript.css */
311
+ .webless-agent-root.agent-transcript {
312
+ position: static;
313
+ inset: auto;
314
+ pointer-events: auto;
315
+ z-index: auto;
316
+ display: flex;
317
+ flex-direction: column;
318
+ gap: 24px;
319
+ width: 100%;
320
+ min-width: 0;
321
+ margin: 0;
322
+ padding: 0;
323
+ list-style: none;
324
+ color: var(--as-text);
325
+ font-family: var(--as-font-body);
326
+ }
327
+ .agent-transcript__message {
328
+ display: flex;
329
+ flex-direction: column;
330
+ gap: 6px;
331
+ min-width: 0;
332
+ max-width: 100%;
333
+ }
334
+ .agent-transcript__message--visitor {
335
+ align-self: flex-end;
336
+ width: 88%;
337
+ }
338
+ .agent-transcript__meta {
339
+ display: flex;
340
+ flex-wrap: wrap;
341
+ justify-content: space-between;
342
+ gap: 4px 12px;
343
+ color: var(--as-text-muted);
344
+ font-size: 12px;
345
+ line-height: 1.5;
346
+ }
347
+ .agent-transcript__message--visitor .agent-transcript__meta {
348
+ justify-content: flex-end;
349
+ }
350
+ .agent-transcript__meta time {
351
+ font-variant-numeric: tabular-nums;
352
+ }
353
+ .agent-transcript .message-bubble {
354
+ max-width: 100%;
355
+ }
356
+ .agent-transcript .message-bubble--visitor {
357
+ align-self: stretch;
358
+ }
359
+ .agent-transcript .message-bubble__markdown {
360
+ overflow-wrap: anywhere;
361
+ }
362
+ .agent-transcript .message-bubble__markdown pre,
363
+ .agent-transcript .message-bubble__markdown table {
364
+ display: block;
365
+ max-width: 100%;
366
+ overflow-x: auto;
367
+ }
368
+ .agent-transcript__activity {
369
+ min-width: 0;
370
+ color: var(--as-text-muted);
371
+ font-size: 12px;
372
+ line-height: 1.5;
373
+ border-left: 2px solid var(--as-border);
374
+ padding-left: 12px;
375
+ }
376
+ .agent-transcript__activity-heading {
377
+ display: flex;
378
+ align-items: baseline;
379
+ flex-wrap: wrap;
380
+ gap: 4px 12px;
381
+ overflow-wrap: anywhere;
382
+ }
383
+ summary.agent-transcript__activity-heading {
384
+ cursor: pointer;
385
+ }
386
+ summary.agent-transcript__activity-heading::before {
387
+ content: "\203a";
388
+ }
389
+ .agent-transcript__activity details[open] > summary::before {
390
+ content: "\2304";
391
+ }
392
+ .agent-transcript__activity-heading time {
393
+ margin-left: auto;
394
+ font-variant-numeric: tabular-nums;
395
+ }
396
+ .agent-transcript__activity-status {
397
+ font-weight: 500;
398
+ }
399
+ .agent-transcript__activity[data-status=failed],
400
+ .agent-transcript__activity[data-status=rejected] {
401
+ border-color: var(--as-error, #b91c1c);
402
+ }
403
+ .agent-transcript__activity-result {
404
+ margin-top: 12px;
405
+ color: var(--as-text);
406
+ }
407
+
310
408
  /* src/react/styles/all.css */
311
409
 
312
410
  /* src/react/components/AgentActivityBubble/AgentActivityBubble.css */