@xenosystem/agent-interface-ui 0.1.39 → 0.1.41

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 (2) hide show
  1. package/dist/agent.css +31 -3
  2. package/package.json +6 -6
package/dist/agent.css CHANGED
@@ -7592,10 +7592,15 @@ a.xeno-source-card:focus-visible {
7592
7592
  .xa-code pre { margin: 0; padding: 8px 9px; background: var(--xa-code); font-size: 11px; line-height: 16px; color: var(--xa-t3); white-space: pre; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(var(--xa-ink), 0.12) transparent; }
7593
7593
  .xa-code pre code { padding: 0; background: none; font-size: inherit; color: inherit; }
7594
7594
  /* the sources stay with the answer once the rail has folded: a line the citations point at */
7595
- .xa-srcline { display: flex; align-items: center; gap: 8px; height: 22px; cursor: pointer; font-size: 11px; color: var(--xa-t4); }
7595
+ /* the receipt row: the clock line, then settled, with sources a divider and the sources control,
7596
+ each its own toggle; the line keeps its own width so the divider sits right after the chevron */
7597
+ .xa-linerow { display: flex; align-items: center; gap: 10px; min-height: 22px; }
7598
+ .xa-linerow > .xa-line { flex: none; }
7599
+ .xa-linerow > .xa-vr-src { display: block; flex: none; width: 1px; height: 10px; background: rgba(var(--xa-ink), 0.12); animation: xa-rise 280ms var(--xa-ease) both; animation-delay: 160ms; }
7600
+ .xa-srcline { display: flex; align-items: center; gap: 8px; height: 22px; cursor: pointer; font-size: 11px; color: var(--xa-t4); animation: xa-rise 280ms var(--xa-ease) both; animation-delay: 160ms; }
7596
7601
  .xa-srcline:hover { color: var(--xa-t2); }
7597
7602
  .xa-srcline .xa-stack { display: flex; }
7598
- .xa-srcline .xa-stack .xa-fav { width: 14px; height: 14px; margin-left: -4px; border-radius: 2px; border: 1px solid var(--xa-line-tip); background: linear-gradient(135deg, #2a2a2f, #1c1c1f); box-shadow: 0 0 0 1px var(--xa-ground); }
7603
+ .xa-srcline .xa-stack .xa-fav { margin-left: -4px; box-shadow: 0 0 0 1px var(--xa-ground); }
7599
7604
  .xa-srcline .xa-stack .xa-fav:first-child { margin-left: 0; }
7600
7605
  .xa-srcline .xa-chev { color: var(--xa-t6); transition: transform 160ms var(--xa-ease); }
7601
7606
  .xa-srcline.xa-open .xa-chev { transform: rotate(90deg); }
@@ -7832,7 +7837,7 @@ a.xeno-source-card:focus-visible {
7832
7837
  .xa-detail.xa-sources .xa-it { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: 11px; color: var(--xa-t4); border-radius: 3px; transition: background 120ms linear; }
7833
7838
  .xa-detail.xa-sources .xa-it:hover, .xa-detail.xa-sources .xa-it.xa-hi { background: var(--xa-wash); }
7834
7839
  .xa-detail.xa-sources .xa-it .xa-n { flex: none; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; border-radius: 2px; background: rgba(var(--xa-ink), 0.07); border: 1px solid var(--xa-line-soft); font-size: 9px; font-weight: 500; color: var(--xa-t3); }
7835
- .xa-detail.xa-sources .xa-it .xa-fav { flex: none; width: 14px; height: 14px; border-radius: 2px; border: 1px solid var(--xa-line-tip); background: linear-gradient(135deg, #2a2a2f, #1c1c1f); }
7840
+ .xa-detail.xa-sources .xa-it .xa-fav { flex: none; }
7836
7841
  .xa-detail.xa-sources .xa-it .xa-k { color: var(--xa-t3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; justify-content: flex-start; }
7837
7842
  .xa-detail.xa-sources .xa-it .xa-where { margin-left: auto; flex: none; font-size: 10px; color: var(--xa-t6); }
7838
7843
  .xa-detail.xa-sources .xa-it .xa-go { flex: none; width: 16px; color: var(--xa-t6); opacity: 0; transition: opacity 120ms linear; }
@@ -7842,6 +7847,29 @@ a.xeno-source-card:focus-visible {
7842
7847
  .xa-detail.xa-frames .xa-frame { width: auto; height: 84px; max-width: 100%; }
7843
7848
  .xa-detail.xa-nest > .xa-rail { gap: 12px; padding: 2px 0; overflow: visible; }
7844
7849
 
7850
+ /* ── favicons: the site's icon through the surface's proxy, or a letter tile — one shape everywhere ── */
7851
+ .xa-fav { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 2px; border: 1px solid var(--xa-line-tip); background: var(--xa-plate); object-fit: contain; overflow: hidden; vertical-align: middle; }
7852
+ img.xa-fav { padding: 1px; background: #fff; }
7853
+ .xa-fav-letter { font-size: 8px; font-weight: 600; line-height: 1; color: var(--xa-t3); background: rgba(var(--xa-ink), 0.07); }
7854
+
7855
+ /* ── citations: the claim carries its evidence — a chip after the sentence, a card on hover ── */
7856
+ .xa-cite { position: relative; display: inline-block; vertical-align: baseline; margin: 0 2px; line-height: 1; }
7857
+ .xa-cite-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 176px; height: 17px; padding: 0 6px; border-radius: 4px; border: 1px solid var(--xa-line-soft); background: rgba(var(--xa-ink), 0.06); font-size: 10.5px; font-weight: 500; color: var(--xa-t4); text-decoration: none; white-space: nowrap; vertical-align: -3px; transition: background 120ms linear, color 120ms linear, border-color 120ms linear; }
7858
+ .xa-cite-chip:hover, .xa-cite.xa-open .xa-cite-chip { color: var(--xa-t2); border-color: var(--xa-line-tip); background: rgba(var(--xa-ink), 0.1); }
7859
+ .xa-cite-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
7860
+ .xa-cite-more { flex: none; color: var(--xa-t5); }
7861
+ .xa-cite-go { flex: none; display: none; color: var(--xa-t4); }
7862
+ .xa-cite-chip:hover .xa-cite-go, .xa-cite.xa-open .xa-cite-go { display: inline-flex; }
7863
+ .xa-cite-go svg { width: 9px; height: 9px; }
7864
+ .xa-cite-orphan { color: var(--xa-t5); font-size: 0.85em; }
7865
+ .xa-citecard { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30; display: none; flex-direction: column; width: 320px; max-width: min(320px, 80vw); padding: 6px; border-radius: 8px; border: 1px solid var(--xa-line-tip); background: var(--xa-menu); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
7866
+ .xa-cite.xa-open .xa-citecard { display: flex; }
7867
+ .xa-citecard::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } /* the gap stays hoverable */
7868
+ .xa-citecard-row { display: flex; flex-direction: column; gap: 4px; padding: 7px 8px; border-radius: 5px; text-decoration: none; transition: background 120ms linear; }
7869
+ .xa-citecard-row:hover { background: var(--xa-wash-hover); }
7870
+ .xa-citecard-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--xa-t1); }
7871
+ .xa-citecard-site { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--xa-t4); }
7872
+
7845
7873
  /* ── cards: A's card, Z's cadence — Cancel left, the way forward right ─── */
7846
7874
  .xa-row .xa-brk { flex: 0 0 100%; height: 0; }
7847
7875
  .xa-row .xa-brk + .xa-cardslot { margin-top: -9px; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenosystem/agent-interface-ui",
3
- "version": "0.1.39",
3
+ "version": "0.1.41",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,11 +42,11 @@
42
42
  "react-markdown": "^10.1.0",
43
43
  "remark-gfm": "^4.0.1",
44
44
  "zustand": "^5.0.2",
45
- "@xenosystem/agent-conversation": "0.1.39",
46
- "@xenosystem/agent-interface-contract": "0.1.39",
47
- "@xenosystem/agent-interface-hub-adapter": "0.1.39",
48
- "@xenosystem/agent-interface-core": "0.1.39",
49
- "@xenosystem/agent-interface-client": "0.1.39"
45
+ "@xenosystem/agent-conversation": "0.1.41",
46
+ "@xenosystem/agent-interface-contract": "0.1.41",
47
+ "@xenosystem/agent-interface-client": "0.1.41",
48
+ "@xenosystem/agent-interface-hub-adapter": "0.1.41",
49
+ "@xenosystem/agent-interface-core": "0.1.41"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": "^19.0.0",