@webless/agent 0.7.4 → 0.8.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/README.md +20 -0
- package/dist/{chunk-GS65OJFL.js → chunk-JZPXXG76.js} +686 -467
- package/dist/chunk-JZPXXG76.js.map +1 -0
- package/dist/embed.cjs +731 -515
- package/dist/embed.cjs.map +1 -1
- package/dist/embed.css +161 -0
- package/dist/embed.css.map +1 -1
- package/dist/embed.d.cts +2 -2
- package/dist/embed.d.ts +2 -2
- package/dist/embed.js +1 -1
- package/dist/{manifest-sR_C4rh_.d.cts → manifest-DgjT8-tW.d.cts} +23 -3
- package/dist/{manifest-sR_C4rh_.d.ts → manifest-DgjT8-tW.d.ts} +23 -3
- package/dist/react.cjs +787 -511
- package/dist/react.cjs.map +1 -1
- package/dist/react.css +161 -0
- package/dist/react.css.map +1 -1
- package/dist/react.d.cts +15 -3
- package/dist/react.d.ts +15 -3
- package/dist/react.js +64 -2
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-GS65OJFL.js.map +0 -1
package/dist/embed.css
CHANGED
|
@@ -307,6 +307,62 @@ 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__meta time {
|
|
348
|
+
font-variant-numeric: tabular-nums;
|
|
349
|
+
}
|
|
350
|
+
.agent-transcript .message-bubble {
|
|
351
|
+
max-width: 100%;
|
|
352
|
+
}
|
|
353
|
+
.agent-transcript .message-bubble--visitor {
|
|
354
|
+
align-self: stretch;
|
|
355
|
+
}
|
|
356
|
+
.agent-transcript .message-bubble__markdown {
|
|
357
|
+
overflow-wrap: anywhere;
|
|
358
|
+
}
|
|
359
|
+
.agent-transcript .message-bubble__markdown pre,
|
|
360
|
+
.agent-transcript .message-bubble__markdown table {
|
|
361
|
+
display: block;
|
|
362
|
+
max-width: 100%;
|
|
363
|
+
overflow-x: auto;
|
|
364
|
+
}
|
|
365
|
+
|
|
310
366
|
/* src/react/styles/all.css */
|
|
311
367
|
|
|
312
368
|
/* src/react/components/AgentActivityBubble/AgentActivityBubble.css */
|
|
@@ -1025,6 +1081,111 @@ html.webless-agent-page-shift {
|
|
|
1025
1081
|
text-align: left;
|
|
1026
1082
|
}
|
|
1027
1083
|
|
|
1084
|
+
/* src/react/components/SearchReferences/SearchReferences.css */
|
|
1085
|
+
.search-references {
|
|
1086
|
+
display: grid;
|
|
1087
|
+
width: 100%;
|
|
1088
|
+
min-width: 0;
|
|
1089
|
+
gap: 16px;
|
|
1090
|
+
margin-top: 24px;
|
|
1091
|
+
}
|
|
1092
|
+
.search-references__heading {
|
|
1093
|
+
display: flex;
|
|
1094
|
+
align-items: center;
|
|
1095
|
+
gap: 6px;
|
|
1096
|
+
margin: 0 0 8px;
|
|
1097
|
+
color: var(--as-text);
|
|
1098
|
+
font-size: 12px;
|
|
1099
|
+
font-weight: 700;
|
|
1100
|
+
line-height: 1.5;
|
|
1101
|
+
}
|
|
1102
|
+
.search-references__heading span {
|
|
1103
|
+
display: inline-flex;
|
|
1104
|
+
}
|
|
1105
|
+
.search-references__list {
|
|
1106
|
+
display: grid;
|
|
1107
|
+
gap: 6px;
|
|
1108
|
+
margin: 0;
|
|
1109
|
+
padding: 0;
|
|
1110
|
+
list-style: none;
|
|
1111
|
+
}
|
|
1112
|
+
.search-references__source {
|
|
1113
|
+
display: flex;
|
|
1114
|
+
min-width: 0;
|
|
1115
|
+
min-height: 52px;
|
|
1116
|
+
box-sizing: border-box;
|
|
1117
|
+
align-items: center;
|
|
1118
|
+
gap: 10px;
|
|
1119
|
+
padding: 8px 10px;
|
|
1120
|
+
border-radius: var(--as-radius-sm, 8px);
|
|
1121
|
+
background: var(--as-surface-muted);
|
|
1122
|
+
color: var(--as-text);
|
|
1123
|
+
text-decoration: none;
|
|
1124
|
+
}
|
|
1125
|
+
.search-references__icon {
|
|
1126
|
+
display: inline-flex;
|
|
1127
|
+
flex: 0 0 18px;
|
|
1128
|
+
color: var(--as-text-muted);
|
|
1129
|
+
}
|
|
1130
|
+
.search-references__copy {
|
|
1131
|
+
display: grid;
|
|
1132
|
+
min-width: 0;
|
|
1133
|
+
gap: 2px;
|
|
1134
|
+
}
|
|
1135
|
+
.search-references__title,
|
|
1136
|
+
.search-references__domain {
|
|
1137
|
+
overflow: hidden;
|
|
1138
|
+
text-overflow: ellipsis;
|
|
1139
|
+
white-space: nowrap;
|
|
1140
|
+
line-height: 1.4;
|
|
1141
|
+
}
|
|
1142
|
+
.search-references__title {
|
|
1143
|
+
font-size: 13px;
|
|
1144
|
+
font-weight: 500;
|
|
1145
|
+
}
|
|
1146
|
+
.search-references__domain {
|
|
1147
|
+
color: var(--as-text-muted);
|
|
1148
|
+
font-size: 11px;
|
|
1149
|
+
}
|
|
1150
|
+
.search-references__actions {
|
|
1151
|
+
display: flex;
|
|
1152
|
+
flex-wrap: wrap;
|
|
1153
|
+
gap: 8px;
|
|
1154
|
+
}
|
|
1155
|
+
.search-references__cta {
|
|
1156
|
+
display: inline-flex;
|
|
1157
|
+
max-width: 100%;
|
|
1158
|
+
min-height: 44px;
|
|
1159
|
+
box-sizing: border-box;
|
|
1160
|
+
align-items: center;
|
|
1161
|
+
justify-content: center;
|
|
1162
|
+
padding: 10px 20px;
|
|
1163
|
+
border: 1px solid var(--as-brand);
|
|
1164
|
+
border-radius: 999px;
|
|
1165
|
+
color: var(--as-text);
|
|
1166
|
+
font-size: 13px;
|
|
1167
|
+
font-weight: 650;
|
|
1168
|
+
line-height: 1.5;
|
|
1169
|
+
overflow-wrap: anywhere;
|
|
1170
|
+
text-decoration: none;
|
|
1171
|
+
}
|
|
1172
|
+
.search-references__source[href]:hover,
|
|
1173
|
+
.search-references__cta:hover {
|
|
1174
|
+
background: var(--as-brand-soft);
|
|
1175
|
+
color: var(--as-brand);
|
|
1176
|
+
}
|
|
1177
|
+
.search-references a:focus-visible {
|
|
1178
|
+
outline: 2px solid var(--as-brand);
|
|
1179
|
+
outline-offset: 2px;
|
|
1180
|
+
}
|
|
1181
|
+
.message-bubble__text:has(.search-references) {
|
|
1182
|
+
width: 100%;
|
|
1183
|
+
}
|
|
1184
|
+
.search-references > section,
|
|
1185
|
+
.search-references__list > li {
|
|
1186
|
+
min-width: 0;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1028
1189
|
/* src/react/components/BookingCard/BookingCard.css */
|
|
1029
1190
|
.booking-card {
|
|
1030
1191
|
width: 100%;
|