@webless/agent 0.9.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.
Files changed (39) hide show
  1. package/README.md +6 -0
  2. package/dist/{chunk-QMTI5646.js → chunk-3E632FNE.js} +332 -203
  3. package/dist/chunk-3E632FNE.js.map +1 -0
  4. package/dist/{chunk-5BCSXCLT.js → chunk-TCO62TRN.js} +40 -2
  5. package/dist/chunk-TCO62TRN.js.map +1 -0
  6. package/dist/embed.cjs +754 -625
  7. package/dist/embed.cjs.map +1 -1
  8. package/dist/embed.css +60 -10
  9. package/dist/embed.css.map +1 -1
  10. package/dist/embed.d.cts +3 -9
  11. package/dist/embed.d.ts +3 -9
  12. package/dist/embed.js +1 -1
  13. package/dist/index.cjs +752 -680
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +2 -2
  16. package/dist/index.d.ts +2 -2
  17. package/dist/index.js +43 -4
  18. package/dist/index.js.map +1 -1
  19. package/dist/{manifest-DgjT8-tW.d.cts → panel-controller-D_XIQa1U.d.cts} +9 -2
  20. package/dist/{manifest-DgjT8-tW.d.ts → panel-controller-D_XIQa1U.d.ts} +9 -2
  21. package/dist/presentation.cjs +79 -67
  22. package/dist/presentation.cjs.map +1 -1
  23. package/dist/presentation.d.cts +1 -1
  24. package/dist/presentation.d.ts +1 -1
  25. package/dist/presentation.js +7 -3
  26. package/dist/presentation.js.map +1 -1
  27. package/dist/react.cjs +756 -625
  28. package/dist/react.cjs.map +1 -1
  29. package/dist/react.css +60 -10
  30. package/dist/react.css.map +1 -1
  31. package/dist/react.d.cts +3 -3
  32. package/dist/react.d.ts +3 -3
  33. package/dist/react.js +3 -1
  34. package/dist/react.js.map +1 -1
  35. package/dist/{types-ohWeTG9i.d.cts → types-sLEIYDqm.d.cts} +1 -1
  36. package/dist/{types-ohWeTG9i.d.ts → types-sLEIYDqm.d.ts} +1 -1
  37. package/package.json +1 -1
  38. package/dist/chunk-5BCSXCLT.js.map +0 -1
  39. package/dist/chunk-QMTI5646.js.map +0 -1
package/dist/embed.css CHANGED
@@ -1129,20 +1129,22 @@ summary.agent-transcript__activity-heading::before {
1129
1129
  width: 100%;
1130
1130
  min-width: 0;
1131
1131
  gap: 16px;
1132
- margin-top: 24px;
1132
+ margin-top: 12px;
1133
1133
  }
1134
1134
  .search-references__heading {
1135
- display: flex;
1136
- align-items: center;
1137
- gap: 6px;
1138
- margin: 0 0 8px;
1135
+ width: fit-content;
1136
+ min-height: 32px;
1137
+ box-sizing: border-box;
1138
+ padding: 6px 0;
1139
+ margin: 0;
1139
1140
  color: var(--as-text);
1140
1141
  font-size: 12px;
1141
- font-weight: 700;
1142
+ font-weight: 600;
1142
1143
  line-height: 1.5;
1144
+ cursor: pointer;
1143
1145
  }
1144
- .search-references__heading span {
1145
- display: inline-flex;
1146
+ .search-references__disclosure[open] > summary {
1147
+ margin-bottom: 8px;
1146
1148
  }
1147
1149
  .search-references__list {
1148
1150
  display: grid;
@@ -1216,14 +1218,15 @@ summary.agent-transcript__activity-heading::before {
1216
1218
  background: var(--as-brand-soft);
1217
1219
  color: var(--as-brand);
1218
1220
  }
1219
- .search-references a:focus-visible {
1221
+ .search-references a:focus-visible,
1222
+ .search-references summary:focus-visible {
1220
1223
  outline: 2px solid var(--as-brand);
1221
1224
  outline-offset: 2px;
1222
1225
  }
1223
1226
  .message-bubble__text:has(.search-references) {
1224
1227
  width: 100%;
1225
1228
  }
1226
- .search-references > section,
1229
+ .search-references > details,
1227
1230
  .search-references__list > li {
1228
1231
  min-width: 0;
1229
1232
  }
@@ -2310,6 +2313,50 @@ summary.agent-transcript__activity-heading::before {
2310
2313
  .entity-result-card {
2311
2314
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
2312
2315
  }
2316
+ .entity-result-card.entity-result-card--compact,
2317
+ .entity-result-card.entity-result-card--disclosure {
2318
+ padding: 4px 0;
2319
+ border: 0;
2320
+ background: transparent;
2321
+ box-shadow: none;
2322
+ color: var(--as-text-muted);
2323
+ }
2324
+ .entity-result-card--compact .tool-result-card__heading strong,
2325
+ .entity-result-card--disclosure .tool-result-card__heading strong {
2326
+ font-size: 12px;
2327
+ font-weight: 500;
2328
+ }
2329
+ .entity-result-card--disclosure > summary {
2330
+ display: flex;
2331
+ align-items: center;
2332
+ gap: 10px;
2333
+ width: fit-content;
2334
+ cursor: pointer;
2335
+ list-style: none;
2336
+ }
2337
+ .entity-result-card--disclosure > summary::-webkit-details-marker {
2338
+ display: none;
2339
+ }
2340
+ .entity-result-card--disclosure > summary::after {
2341
+ content: "";
2342
+ width: 5px;
2343
+ height: 5px;
2344
+ border-right: 1px solid currentColor;
2345
+ border-bottom: 1px solid currentColor;
2346
+ transform: rotate(45deg);
2347
+ }
2348
+ .entity-result-card--disclosure[open] > summary::after {
2349
+ transform: rotate(225deg);
2350
+ }
2351
+ .entity-result-card--disclosure > summary:focus-visible {
2352
+ outline: 2px solid var(--as-brand);
2353
+ outline-offset: 4px;
2354
+ border-radius: 2px;
2355
+ }
2356
+ .entity-result-card--disclosure > dl {
2357
+ margin-top: 12px;
2358
+ padding-left: 16px;
2359
+ }
2313
2360
  @media (prefers-reduced-motion: reduce) {
2314
2361
  .entity-result-card {
2315
2362
  transition: none;
@@ -2536,6 +2583,9 @@ summary.agent-transcript__activity-heading::before {
2536
2583
  align-items: stretch;
2537
2584
  gap: 10px;
2538
2585
  }
2586
+ .agent-rail__turn-block:empty {
2587
+ display: none;
2588
+ }
2539
2589
  .agent-rail__welcome {
2540
2590
  display: flex;
2541
2591
  flex-direction: column;