@xenosystem/agent-conversation 0.1.71 → 0.1.72

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/package.json +7 -6
  2. package/src/transcript.css +30 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenosystem/agent-conversation",
3
- "version": "0.1.71",
3
+ "version": "0.1.72",
4
4
  "license": "UNLICENSED",
5
5
  "description": "The XENO Agent conversation surface: the transcript, the composer, and the logic behind them.",
6
6
  "type": "module",
@@ -42,14 +42,15 @@
42
42
  "react-markdown": "^10.1.0",
43
43
  "remark-gfm": "^4.0.1",
44
44
  "zustand": "^5.0.2",
45
- "@xenosystem/agent-interface-contract": "0.1.71",
46
- "@xenosystem/agent-interface-client": "0.1.71",
47
- "@xenosystem/agent-interface-hub-adapter": "0.1.71",
48
- "@xenosystem/agent-interface-core": "0.1.71"
45
+ "@xenosystem/agent-interface-client": "0.1.72",
46
+ "@xenosystem/agent-interface-contract": "0.1.72",
47
+ "@xenosystem/agent-interface-hub-adapter": "0.1.72",
48
+ "@xenosystem/agent-interface-core": "0.1.72"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "react": "^19.0.0",
52
52
  "react-dom": "^19.0.0"
53
53
  },
54
- "scripts": {}
54
+ "scripts": {},
55
+ "gitHead": "88d6adeead1ddd1a09885dfdd05d0d281ceca2de"
55
56
  }
@@ -335,23 +335,43 @@
335
335
  settled turn cannot be asking (asking is live), so these only ever apply to a receipt. */
336
336
  .xa-collapsed .xa-turn.xa-done .xa-line.xa-docked .xa-vr { display: block; }
337
337
  .xa-collapsed .xa-turn.xa-done .xa-line.xa-docked .xa-cur { display: flex; }
338
- /* thought-only ticker is a short word (Thinking / Thought). The line's mask fades the last
339
- 44px of .xa-cur — on a hugging column that is the WHOLE word, so it vanished (2026-09-20).
340
- Words are in-flow so the auto column sizes to them; the slot is optional (gone when settled). */
338
+ /* thought-only: the words are IN FLOW so the auto column sizes to them — a short `Thinking` or
339
+ `Thought for 3s` gets exactly its width and hugs the bar; the slot is optional (gone when settled).
340
+
341
+ 🔴 In flow is not the same as unbounded. This rule used to say `min-width: min-content` and
342
+ `overflow: visible`, which was right for the short word it was written for (2026-09-20) and wrong
343
+ for the sentence the same slot carries while a thought STREAMS — `Thinking · Let me reconsider…`
344
+ is the current line of the thought, not a word. A long line therefore ran past the clock line's
345
+ right edge instead of stopping at it (measured 2026-09-25: words to x 1048 on a line ending at
346
+ 744, with a horizontal scrollbar). `min-width: 0` lets the auto track shrink to the space there
347
+ is; the column still sizes to the words whenever they fit, and the mask below fades them only
348
+ when they are actually cut off. */
341
349
  .xa-collapsed .xa-turn.xa-thought-only .xa-line .xa-cur {
342
350
  flex: none;
343
- min-width: min-content;
344
- overflow: visible;
345
- mask-image: none;
346
- -webkit-mask-image: none;
351
+ min-width: 0;
352
+ overflow: hidden;
347
353
  }
348
354
  .xa-collapsed .xa-turn.xa-thought-only .xa-line .xa-cur .xa-tx {
349
- flex: none;
350
- min-width: min-content;
351
- overflow: visible;
355
+ flex: 0 1 auto;
356
+ min-width: 0;
357
+ overflow: hidden;
352
358
  height: auto;
353
359
  }
354
360
  .xa-collapsed .xa-turn.xa-thought-only .xa-line .xa-cur .xa-t { position: static; }
361
+ /* 🔴 The phrase that is LEAVING must not take a place in the flow. With both in flow, every new
362
+ phrase of a streaming thought was laid out BESIDE the old one — `Thinking` at 156px, the new
363
+ `Thinking · This is…` at 199px — for the 300 ms the old one takes to leave, and then jumped left
364
+ into its real place; `Thinking` -> `Thought for 2s` did the same, 71px out (measured 2026-09-25).
365
+ The leaving phrase overlays the arriving one at the left edge and blurs out, as it does on every
366
+ other clock line, and is clipped to the words' box so it can neither widen the column nor mark
367
+ the arriving words as cut off (the Ticker measures `.xa-tx` to decide the fade). */
368
+ .xa-collapsed .xa-turn.xa-thought-only .xa-line .xa-cur .xa-t.xa-out {
369
+ position: absolute;
370
+ left: 0;
371
+ right: 0;
372
+ top: 0;
373
+ overflow: hidden;
374
+ }
355
375
  /* thought-only: one grid live AND settled. Leftover width sits in shots, not in Thought,
356
376
  so `Worked for 2s | Thought ›` hugs the bar and the hang (cur+chev+shots) never
357
377
  changes tracks when xa-live comes off. */