@xenosystem/agent-interface-ui 0.1.38 → 0.1.40

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 +29 -2
  2. package/package.json +6 -6
package/dist/agent.css CHANGED
@@ -7595,7 +7595,7 @@ a.xeno-source-card:focus-visible {
7595
7595
  .xa-srcline { display: flex; align-items: center; gap: 8px; height: 22px; cursor: pointer; font-size: 11px; color: var(--xa-t4); }
7596
7596
  .xa-srcline:hover { color: var(--xa-t2); }
7597
7597
  .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); }
7598
+ .xa-srcline .xa-stack .xa-fav { margin-left: -4px; box-shadow: 0 0 0 1px var(--xa-ground); }
7599
7599
  .xa-srcline .xa-stack .xa-fav:first-child { margin-left: 0; }
7600
7600
  .xa-srcline .xa-chev { color: var(--xa-t6); transition: transform 160ms var(--xa-ease); }
7601
7601
  .xa-srcline.xa-open .xa-chev { transform: rotate(90deg); }
@@ -7625,6 +7625,10 @@ a.xeno-source-card:focus-visible {
7625
7625
  .xa-line .xa-chev { flex: none; color: var(--xa-t6); opacity: 0; transition: transform 160ms var(--xa-ease), opacity 160ms linear; }
7626
7626
  .xa-turn:not(.xa-live) .xa-line .xa-chev { opacity: 1; }
7627
7627
  .xa-turn.xa-open .xa-line .xa-chev { transform: rotate(90deg); }
7628
+ /* a bare receipt (clock `always`, no steps): the line rests — nothing under it to open */
7629
+ .xa-turn.xa-bare .xa-line { cursor: default; }
7630
+ .xa-turn.xa-bare .xa-line:hover .xa-read { color: var(--xa-t4); }
7631
+ .xa-turn.xa-bare .xa-line .xa-chev { display: none; }
7628
7632
  /* collapsed steps: while it works the rail stays folded and the clock line carries the current step —
7629
7633
  "Working for 4s | Clicked Message @Lil Bro" — the text fading out on the right when it is long */
7630
7634
  .xa-line .xa-vr { display: none; flex: none; width: 1px; height: 10px; background: rgba(var(--xa-ink), 0.12); }
@@ -7828,7 +7832,7 @@ a.xeno-source-card:focus-visible {
7828
7832
  .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; }
7829
7833
  .xa-detail.xa-sources .xa-it:hover, .xa-detail.xa-sources .xa-it.xa-hi { background: var(--xa-wash); }
7830
7834
  .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); }
7831
- .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); }
7835
+ .xa-detail.xa-sources .xa-it .xa-fav { flex: none; }
7832
7836
  .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; }
7833
7837
  .xa-detail.xa-sources .xa-it .xa-where { margin-left: auto; flex: none; font-size: 10px; color: var(--xa-t6); }
7834
7838
  .xa-detail.xa-sources .xa-it .xa-go { flex: none; width: 16px; color: var(--xa-t6); opacity: 0; transition: opacity 120ms linear; }
@@ -7838,6 +7842,29 @@ a.xeno-source-card:focus-visible {
7838
7842
  .xa-detail.xa-frames .xa-frame { width: auto; height: 84px; max-width: 100%; }
7839
7843
  .xa-detail.xa-nest > .xa-rail { gap: 12px; padding: 2px 0; overflow: visible; }
7840
7844
 
7845
+ /* ── favicons: the site's icon through the surface's proxy, or a letter tile — one shape everywhere ── */
7846
+ .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; }
7847
+ img.xa-fav { padding: 1px; background: #fff; }
7848
+ .xa-fav-letter { font-size: 8px; font-weight: 600; line-height: 1; color: var(--xa-t3); background: rgba(var(--xa-ink), 0.07); }
7849
+
7850
+ /* ── citations: the claim carries its evidence — a chip after the sentence, a card on hover ── */
7851
+ .xa-cite { position: relative; display: inline-block; vertical-align: baseline; margin: 0 2px; line-height: 1; }
7852
+ .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; }
7853
+ .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); }
7854
+ .xa-cite-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
7855
+ .xa-cite-more { flex: none; color: var(--xa-t5); }
7856
+ .xa-cite-go { flex: none; display: none; color: var(--xa-t4); }
7857
+ .xa-cite-chip:hover .xa-cite-go, .xa-cite.xa-open .xa-cite-go { display: inline-flex; }
7858
+ .xa-cite-go svg { width: 9px; height: 9px; }
7859
+ .xa-cite-orphan { color: var(--xa-t5); font-size: 0.85em; }
7860
+ .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); }
7861
+ .xa-cite.xa-open .xa-citecard { display: flex; }
7862
+ .xa-citecard::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } /* the gap stays hoverable */
7863
+ .xa-citecard-row { display: flex; flex-direction: column; gap: 4px; padding: 7px 8px; border-radius: 5px; text-decoration: none; transition: background 120ms linear; }
7864
+ .xa-citecard-row:hover { background: var(--xa-wash-hover); }
7865
+ .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); }
7866
+ .xa-citecard-site { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--xa-t4); }
7867
+
7841
7868
  /* ── cards: A's card, Z's cadence — Cancel left, the way forward right ─── */
7842
7869
  .xa-row .xa-brk { flex: 0 0 100%; height: 0; }
7843
7870
  .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.38",
3
+ "version": "0.1.40",
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-interface-client": "0.1.38",
46
- "@xenosystem/agent-interface-contract": "0.1.38",
47
- "@xenosystem/agent-interface-core": "0.1.38",
48
- "@xenosystem/agent-conversation": "0.1.38",
49
- "@xenosystem/agent-interface-hub-adapter": "0.1.38"
45
+ "@xenosystem/agent-conversation": "0.1.40",
46
+ "@xenosystem/agent-interface-hub-adapter": "0.1.40",
47
+ "@xenosystem/agent-interface-core": "0.1.40",
48
+ "@xenosystem/agent-interface-contract": "0.1.40",
49
+ "@xenosystem/agent-interface-client": "0.1.40"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": "^19.0.0",