@xenosystem/agent-conversation 0.1.196 → 0.1.197

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.
@@ -0,0 +1,94 @@
1
+ /**
2
+ * A reply is shown at a steady pace and in whole words, whatever pieces the network delivers it in (owner, 2026-11-14:
3
+ * "we are displaying word by word or letter by letter which is kind of bad to the eye ... if the full word is done it
4
+ * should appear the full word in its place, not letter by letter").
5
+ *
6
+ * The stream fills a target; what is shown runs behind it and catches up a share of the distance each frame, so a
7
+ * large burst and a trickle both read as one even flow. A word is never shown in part: the shown length stops at a
8
+ * word's end, and a last word still arriving waits until the next space or the end of the stream. Newly shown words
9
+ * fade in (`revealTail.ts`); nothing already on screen is drawn again.
10
+ */
11
+ import { useEffect, useRef, useState } from 'react';
12
+ /** The share of the remaining text shown each frame, and the least shown in one. */
13
+ const DRAIN = 0.14;
14
+ const LEAST = 2;
15
+ /** How long a word counts as new, for the fade: a little longer than the fade itself (180 ms). */
16
+ export const FRESH_MS = 260;
17
+ const isSpace = (char) => char === ' ' || char === '\n' || char === '\t' || char === '\r';
18
+ /**
19
+ * How much of `target` to show next, given `shown` now. `done` is the stream having ended, which is the only time a
20
+ * last word with no space after it may be shown.
21
+ */
22
+ export function nextShownLength(target, shown, done) {
23
+ const length = target.length;
24
+ if (shown >= length)
25
+ return length;
26
+ const wanted = Math.min(length, shown + Math.max(LEAST, Math.ceil((length - shown) * DRAIN)));
27
+ if (wanted >= length && done)
28
+ return length;
29
+ // back to the end of the last whole word at or before `wanted`
30
+ let at = wanted;
31
+ while (at > shown && !isSpace(target[at - 1]))
32
+ at -= 1;
33
+ if (at > shown)
34
+ return at;
35
+ // `wanted` is inside the first word after `shown`: show that whole word once it has ended
36
+ let end = wanted;
37
+ while (end < length && !isSpace(target[end]))
38
+ end += 1;
39
+ if (end < length)
40
+ return end + 1;
41
+ return done ? length : shown;
42
+ }
43
+ /**
44
+ * `text` as it should be drawn now. A reply that is not streaming when first seen (history, a reload) is shown whole
45
+ * and at once; so is one already under way when the chat is opened, from where it stands.
46
+ */
47
+ export function useSmoothedReply(text, streaming) {
48
+ const [shown, setShown] = useState(text.length);
49
+ const state = useRef({ text, streaming, shown: text.length, marks: [], frame: 0 });
50
+ const [, redraw] = useState(0);
51
+ // Text that is no longer a continuation of what is shown (a regenerated or edited reply) starts again from itself.
52
+ const previous = state.current.text;
53
+ if (text !== previous && !text.startsWith(previous.slice(0, state.current.shown))) {
54
+ state.current.shown = streaming ? 0 : text.length;
55
+ state.current.marks = [];
56
+ }
57
+ state.current.text = text;
58
+ state.current.streaming = streaming;
59
+ if (state.current.shown > text.length)
60
+ state.current.shown = text.length;
61
+ useEffect(() => {
62
+ const current = state.current;
63
+ if (current.frame || current.shown >= current.text.length) {
64
+ if (!current.frame && shown !== current.shown)
65
+ setShown(current.shown);
66
+ return;
67
+ }
68
+ const tick = () => {
69
+ const now = performance.now();
70
+ const next = nextShownLength(current.text, current.shown, !current.streaming);
71
+ if (next !== current.shown) {
72
+ current.marks.push({ at: now, length: current.shown });
73
+ current.shown = next;
74
+ setShown(next);
75
+ }
76
+ while (current.marks.length > 0 && now - current.marks[0].at > FRESH_MS)
77
+ current.marks.shift();
78
+ if (current.shown < current.text.length) {
79
+ current.frame = requestAnimationFrame(tick);
80
+ return;
81
+ }
82
+ current.frame = 0;
83
+ // one more draw when the last words stop being new, so their spans go back to plain text
84
+ if (current.marks.length > 0)
85
+ window.setTimeout(() => { current.marks = []; redraw((value) => value + 1); }, FRESH_MS);
86
+ };
87
+ current.frame = requestAnimationFrame(tick);
88
+ });
89
+ useEffect(() => () => { cancelAnimationFrame(state.current.frame); state.current.frame = 0; }, []);
90
+ const drawn = Math.min(state.current.shown, text.length);
91
+ const oldest = state.current.marks[0];
92
+ return { text: drawn >= text.length ? text : text.slice(0, drawn), fresh: oldest ? Math.max(0, drawn - oldest.length) : 0, settled: !streaming && drawn >= text.length };
93
+ }
94
+ //# sourceMappingURL=smoothStream.js.map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say which PC this surface controls. A desktop window on another PC carries the name in its address; a surface with
3
3
  * addresses of its own (the remote page in a browser) names it here, and takes it back with null when it leaves that PC.
4
4
  */
5
- export declare function setRemoteHostName(name: string | null): void;
5
+ export declare function setRemoteHostName(name: string | null, what?: string): void;
6
+ /** What kind of place that is, in a few words, when the surface said ("Your cloud machine"). */
7
+ export declare const remoteHostKind: () => string | null;
6
8
  /** The PC this window controls, when it controls one. An approval must say where a command runs, and that is not always here. */
7
9
  export declare function remoteHostName(search?: string): string | null;
8
10
  export declare const machineName: (search?: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"remoteHostName.d.ts","sourceRoot":"","sources":["../src/remoteHostName.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAE3D;AAED,iIAAiI;AACjI,wBAAgB,cAAc,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG7D;AAED,eAAO,MAAM,WAAW,GAAI,SAAS,MAAM,KAAG,MAAkD,CAAA;AAEhG,eAAO,MAAM,SAAS,GAAI,SAAS,MAAM,KAAG,MAG3C,CAAA"}
1
+ {"version":3,"file":"remoteHostName.d.ts","sourceRoot":"","sources":["../src/remoteHostName.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAG1E;AAED,gGAAgG;AAChG,eAAO,MAAM,cAAc,QAAO,MAAM,GAAG,IAAe,CAAA;AAE1D,iIAAiI;AACjI,wBAAgB,cAAc,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG7D;AAED,eAAO,MAAM,WAAW,GAAI,SAAS,MAAM,KAAG,MAAkD,CAAA;AAEhG,eAAO,MAAM,SAAS,GAAI,SAAS,MAAM,KAAG,MAG3C,CAAA"}
@@ -1,11 +1,15 @@
1
1
  let named = null;
2
+ let namedAs = null;
2
3
  /**
3
4
  * Say which PC this surface controls. A desktop window on another PC carries the name in its address; a surface with
4
5
  * addresses of its own (the remote page in a browser) names it here, and takes it back with null when it leaves that PC.
5
6
  */
6
- export function setRemoteHostName(name) {
7
+ export function setRemoteHostName(name, what) {
7
8
  named = name && name.trim() ? name.trim() : null;
9
+ namedAs = named && what && what.trim() ? what.trim() : null;
8
10
  }
11
+ /** What kind of place that is, in a few words, when the surface said ("Your cloud machine"). */
12
+ export const remoteHostKind = () => namedAs;
9
13
  /** The PC this window controls, when it controls one. An approval must say where a command runs, and that is not always here. */
10
14
  export function remoteHostName(search) {
11
15
  if (search === undefined && named)
@@ -1 +1 @@
1
- {"version":3,"file":"remoteHostName.js","sourceRoot":"","sources":["../src/remoteHostName.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAkB,IAAI,CAAA;AAE/B;;;GAGG;AACH,MAAM,UAAU,iBAAiB,CAAC,IAAmB;IACnD,KAAK,GAAG,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AAClD,CAAC;AAED,iIAAiI;AACjI,MAAM,UAAU,cAAc,CAAC,MAAe;IAC5C,IAAI,MAAM,KAAK,SAAS,IAAI,KAAK;QAAE,OAAO,KAAK,CAAA;IAC/C,OAAO,IAAI,eAAe,CAAC,MAAM,IAAI,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;AAC3H,CAAC;AAED,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,MAAe,EAAU,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,cAAc,CAAA;AAEhG,MAAM,CAAC,MAAM,SAAS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S,GAAG,CAAC,MAAe,EAAU,EAAE;IACnD,MAAM,IAAI,GAAG,cAAc,CAAC,MAAM,CAAC,CAAA;IACnC,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAA;AAChD,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenosystem/agent-conversation",
3
- "version": "0.1.196",
3
+ "version": "0.1.197",
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,10 +42,10 @@
42
42
  "react-markdown": "^10.1.0",
43
43
  "remark-gfm": "^4.0.1",
44
44
  "zustand": "^5.0.2",
45
- "@xenosystem/agent-interface-core": "0.1.196",
46
- "@xenosystem/agent-interface-contract": "0.1.196",
47
- "@xenosystem/agent-interface-hub-adapter": "0.1.196",
48
- "@xenosystem/agent-interface-client": "0.1.196"
45
+ "@xenosystem/agent-interface-core": "0.1.197",
46
+ "@xenosystem/agent-interface-client": "0.1.197",
47
+ "@xenosystem/agent-interface-contract": "0.1.197",
48
+ "@xenosystem/agent-interface-hub-adapter": "0.1.197"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "react": "^19.0.0",
@@ -153,6 +153,10 @@
153
153
  .xa-label { font-size: 10px; line-height: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--xa-label); }
154
154
 
155
155
  /* ── motion: the composer's pair, at the transcript's scale ─────────────── */
156
+ /* A word of a reply that was just shown: it fades in once. Words already on screen are plain text and never redrawn. */
157
+ @keyframes xa-reveal { from { opacity: 0; } to { opacity: 1; } }
158
+ .xa-body .xa-w { animation: xa-reveal 180ms ease-out both; }
159
+ @media (prefers-reduced-motion: reduce) { .xa-body .xa-w { animation: none; } }
156
160
  @keyframes xa-breathe { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
157
161
  @keyframes xa-rise { 0% { transform: translateY(10px); opacity: 0; filter: blur(3px); } 45% { transform: translateY(4px); opacity: 0; filter: blur(3px); } 100% { transform: none; opacity: 1; filter: blur(0); } }
158
162
  @keyframes xa-sink { 0% { transform: none; opacity: 1; filter: blur(0); } 55% { transform: translateY(4px); opacity: 0; filter: blur(3px); } 100% { transform: translateY(10px); opacity: 0; filter: blur(3px); } }