@xenosystem/agent-conversation 0.1.196 → 0.1.198

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 (34) hide show
  1. package/dist/components/agent/AgentView.d.ts.map +1 -1
  2. package/dist/components/agent/AgentView.js +10 -5
  3. package/dist/components/agent/AgentView.js.map +1 -1
  4. package/dist/components/agent/composer/Composer.d.ts +32 -0
  5. package/dist/components/agent/composer/Composer.d.ts.map +1 -1
  6. package/dist/components/agent/composer/Composer.js +177 -0
  7. package/dist/components/agent/composer/Composer.js.map +1 -1
  8. package/dist/components/agent/transcript/Transcript.d.ts +2 -0
  9. package/dist/components/agent/transcript/Transcript.d.ts.map +1 -1
  10. package/dist/components/agent/transcript/Transcript.js +10 -1
  11. package/dist/components/agent/transcript/Transcript.js.map +1 -1
  12. package/dist/components/agent/transcript/revealTail.d.ts +31 -0
  13. package/dist/components/agent/transcript/revealTail.d.ts.map +1 -0
  14. package/dist/components/agent/transcript/revealTail.js +45 -0
  15. package/dist/components/agent/transcript/revealTail.js.map +1 -0
  16. package/dist/components/agent/transcript/smoothStream.d.ts +21 -0
  17. package/dist/components/agent/transcript/smoothStream.d.ts.map +1 -0
  18. package/dist/components/agent/transcript/smoothStream.js +94 -0
  19. package/dist/components/agent/transcript/smoothStream.js.map +1 -0
  20. package/dist/composerPlace.d.ts +65 -0
  21. package/dist/composerPlace.d.ts.map +1 -0
  22. package/dist/composerPlace.js +42 -0
  23. package/dist/composerPlace.js.map +1 -0
  24. package/dist/composerRepo.d.ts +56 -0
  25. package/dist/composerRepo.d.ts.map +1 -0
  26. package/dist/composerRepo.js +64 -0
  27. package/dist/composerRepo.js.map +1 -0
  28. package/dist/remoteHostName.d.ts +14 -1
  29. package/dist/remoteHostName.d.ts.map +1 -1
  30. package/dist/remoteHostName.js +34 -2
  31. package/dist/remoteHostName.js.map +1 -1
  32. package/package.json +7 -6
  33. package/src/composer.css +67 -1
  34. package/src/transcript.css +4 -0
@@ -0,0 +1,65 @@
1
+ /**
2
+ * A place's live state, as the surface measured it: `on` (a PC online, the cloud machine running), `idle` (the cloud
3
+ * machine asleep or starting: it comes up when a message is sent), `off` (a PC offline). Drawn as a 6 px square.
4
+ */
5
+ export type PlaceTone = 'on' | 'idle' | 'off';
6
+ /**
7
+ * One place (owner, 2026-11-18: "it looks too much like Claude, we need ours"). Drawn in XENO's plate construction:
8
+ * a square tile with the place's icon, its name, and under it the place's REAL state ("Running", "Asleep · starts when
9
+ * you send", "Offline") — what Claude's list does not say.
10
+ */
11
+ export interface PlaceChoice {
12
+ id: string;
13
+ label: string;
14
+ glyph?: 'cloud' | 'monitor';
15
+ /** The state line under the name ("Online", "Asleep · starts when you send", "Desktop only"). */
16
+ meta?: string;
17
+ tone?: PlaceTone;
18
+ /** A small button-like label at the row's end, for a row that leads elsewhere ("Get app", "Connect"). */
19
+ action?: string;
20
+ /** The longer explanation, shown on hover. */
21
+ hint?: string;
22
+ current?: boolean;
23
+ disabled?: boolean;
24
+ /**
25
+ * Picking this moves the session to another place (rather than opening a download or a list). While a chat is in
26
+ * progress such a pick asks first: the chat stays where it runs, the new place starts a new session.
27
+ */
28
+ moves?: boolean;
29
+ onPick: () => void;
30
+ }
31
+ export interface PlaceGroup {
32
+ /** The group's heading ("Cloud", "Your PCs"); none for the first rows. */
33
+ title?: string;
34
+ choices: PlaceChoice[];
35
+ }
36
+ export interface PlacePicker {
37
+ /** What the chip says: the place this session runs in now. */
38
+ label: string;
39
+ glyph: 'cloud' | 'monitor';
40
+ /** The current place's state, for the list's top plate. */
41
+ meta?: string;
42
+ tone?: PlaceTone;
43
+ /** A chat with messages is on screen: moving elsewhere asks first. */
44
+ busy?: boolean;
45
+ groups: PlaceGroup[];
46
+ /** The last row, a way to add a place ("Connect a PC"). */
47
+ add?: {
48
+ label: string;
49
+ onPick: () => void;
50
+ };
51
+ }
52
+ /** Say where sessions can run, or null to show no chip. */
53
+ export declare function setComposerPlace(picker: PlacePicker | null): void;
54
+ export declare function useComposerPlace(): PlacePicker | null;
55
+ /**
56
+ * Whether picking `choice` must ask first: it moves the session to another place while a chat with messages is on
57
+ * screen. The chat cannot follow (it runs where it started), so the person is told it stays and the other place opens
58
+ * a new session. A download or a list never asks.
59
+ */
60
+ export declare function asksBeforeMoving(choice: Pick<PlaceChoice, 'moves' | 'current'>, picker: Pick<PlacePicker, 'busy'>): boolean;
61
+ /** Open the place list (the chip's), from anywhere on the page. */
62
+ export declare function requestPlaceMenu(): void;
63
+ /** The chip listens for requests to open its list. */
64
+ export declare function onPlaceMenuRequest(listener: () => void): () => void;
65
+ //# sourceMappingURL=composerPlace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composerPlace.d.ts","sourceRoot":"","sources":["../src/composerPlace.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,KAAK,CAAA;AAE7C;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC3B,iGAAiG;IACjG,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,yGAAyG;IACzG,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,8CAA8C;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,OAAO,GAAG,SAAS,CAAA;IAC1B,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,sEAAsE;IACtE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,UAAU,EAAE,CAAA;IACpB,2DAA2D;IAC3D,GAAG,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;CAC5C;AAKD,2DAA2D;AAC3D,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI,CAGjE;AAED,wBAAgB,gBAAgB,IAAI,WAAW,GAAG,IAAI,CAMrD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG,OAAO,CAE3H;AAMD,mEAAmE;AACnE,wBAAgB,gBAAgB,IAAI,IAAI,CAEvC;AAED,sDAAsD;AACtD,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAGnE"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Where a session runs, chosen at the message box (owner, 2026-11-15, on Claude Code's environment picker: "this is how
3
+ * Claude has it, we need something with that, our own version properly done"). The message box shows a chip at its
4
+ * bottom left; a surface that knows the places says what they are here: the website lists the person's cloud machine
5
+ * and their PCs, the desktop app this PC. The surface keeps what picking one does (it may change the page's address).
6
+ *
7
+ * Absent (null), the message box shows no chip, as before.
8
+ */
9
+ import { useSyncExternalStore } from 'react';
10
+ let current = null;
11
+ const listeners = new Set();
12
+ /** Say where sessions can run, or null to show no chip. */
13
+ export function setComposerPlace(picker) {
14
+ current = picker;
15
+ for (const listener of [...listeners])
16
+ listener();
17
+ }
18
+ export function useComposerPlace() {
19
+ return useSyncExternalStore((listener) => { listeners.add(listener); return () => { listeners.delete(listener); }; }, () => current, () => current);
20
+ }
21
+ /**
22
+ * Whether picking `choice` must ask first: it moves the session to another place while a chat with messages is on
23
+ * screen. The chat cannot follow (it runs where it started), so the person is told it stays and the other place opens
24
+ * a new session. A download or a list never asks.
25
+ */
26
+ export function asksBeforeMoving(choice, picker) {
27
+ return Boolean(choice.moves && !choice.current && picker.busy);
28
+ }
29
+ // The chip's list can be opened from elsewhere on the page — the card a new session shows in the middle of the
30
+ // conversation (owner, 2026-11-15, on Claude Code's "Choose environment" card). One list, opened from two places.
31
+ const openRequests = new Set();
32
+ /** Open the place list (the chip's), from anywhere on the page. */
33
+ export function requestPlaceMenu() {
34
+ for (const listener of [...openRequests])
35
+ listener();
36
+ }
37
+ /** The chip listens for requests to open its list. */
38
+ export function onPlaceMenuRequest(listener) {
39
+ openRequests.add(listener);
40
+ return () => { openRequests.delete(listener); };
41
+ }
42
+ //# sourceMappingURL=composerPlace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composerPlace.js","sourceRoot":"","sources":["../src/composerPlace.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAsD5C,IAAI,OAAO,GAAuB,IAAI,CAAA;AACtC,MAAM,SAAS,GAAG,IAAI,GAAG,EAAc,CAAA;AAEvC,2DAA2D;AAC3D,MAAM,UAAU,gBAAgB,CAAC,MAA0B;IACzD,OAAO,GAAG,MAAM,CAAA;IAChB,KAAK,MAAM,QAAQ,IAAI,CAAC,GAAG,SAAS,CAAC;QAAE,QAAQ,EAAE,CAAA;AACnD,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,OAAO,oBAAoB,CACzB,CAAC,QAAQ,EAAE,EAAE,GAAG,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,GAAG,EAAE,GAAG,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA,CAAC,CAAC,CAAA,CAAC,CAAC,EACtF,GAAG,EAAE,CAAC,OAAO,EACb,GAAG,EAAE,CAAC,OAAO,CACd,CAAA;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,MAA8C,EAAE,MAAiC;IAChH,OAAO,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,CAAA;AAChE,CAAC;AAED,+GAA+G;AAC/G,kHAAkH;AAClH,MAAM,YAAY,GAAG,IAAI,GAAG,EAAc,CAAA;AAE1C,mEAAmE;AACnE,MAAM,UAAU,gBAAgB;IAC9B,KAAK,MAAM,QAAQ,IAAI,CAAC,GAAG,YAAY,CAAC;QAAE,QAAQ,EAAE,CAAA;AACtD,CAAC;AAED,sDAAsD;AACtD,MAAM,UAAU,kBAAkB,CAAC,QAAoB;IACrD,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;IAC1B,OAAO,GAAG,EAAE,GAAG,YAAY,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA,CAAC,CAAC,CAAA;AAChD,CAAC"}
@@ -0,0 +1,56 @@
1
+ export interface RepoChoice {
2
+ /** owner/name. */
3
+ fullName: string;
4
+ private?: boolean;
5
+ /** Already on the machine: it opens at once, nothing is cloned. */
6
+ onMachine?: boolean;
7
+ /** The account it comes from (a GitHub user or organization). */
8
+ account?: string;
9
+ }
10
+ /** Where a repository was opened on the machine: its folder becomes the session's folder. */
11
+ export interface RepoOpened {
12
+ path: string;
13
+ fullName: string;
14
+ }
15
+ export interface RepoPicker {
16
+ /** The repository last opened from this chip, when the session's own folder does not say (see `repoOfFolder`). */
17
+ current: string | null;
18
+ /** The list is being read, or a repository is being opened. */
19
+ loading?: boolean;
20
+ /** What is happening now, in a few words ("Cloning me/app…"); shown in the list and on the chip's tip. */
21
+ status?: string;
22
+ /** A refusal to show, in the person's words ("That repository is private…"). */
23
+ error?: string;
24
+ choices: RepoChoice[];
25
+ /** GitHub: whether XENO can reach it here, and whether this person connected it. */
26
+ github: {
27
+ configured: boolean;
28
+ connected: boolean;
29
+ accounts: string[];
30
+ };
31
+ /**
32
+ * Open a repository from the list, or one typed or pasted (owner/name, an https or git address): clone it on the
33
+ * machine once, and say where it is. Null when it could not be opened (the picker's `error` then says why).
34
+ */
35
+ onPick: (repository: string) => Promise<RepoOpened | null>;
36
+ /** Install the XENO app on GitHub, or change which repositories it may see. */
37
+ onConnect: () => void;
38
+ /** Read the list again (after connecting, for example). */
39
+ onRefresh?: () => void;
40
+ }
41
+ /** Say which repositories a session can open, or null to show no chip. */
42
+ export declare function setComposerRepo(picker: RepoPicker | null): void;
43
+ export declare function useComposerRepo(): RepoPicker | null;
44
+ /**
45
+ * Whether what was typed is the address of a repository the list can open directly: owner/name, or an https or
46
+ * ssh address. The machine checks it again; this only decides whether the list offers "Open <it>".
47
+ */
48
+ export declare function looksLikeRepository(text: string): boolean;
49
+ /**
50
+ * The repository a session's folder is, when it is one the machine keeps: `~/repos/<host>/<owner>/<name>` (xeno-compute
51
+ * machine/agenthost/repo.mjs). owner/name for github.com, host/owner/name elsewhere; null for any other folder.
52
+ */
53
+ export declare function repoOfFolder(folder: string | null | undefined): string | null;
54
+ /** The list as shown: what is on the machine first, then the rest, filtered by what was typed. One row per repository. */
55
+ export declare function repoRows(picker: Pick<RepoPicker, 'choices'>, query: string): RepoChoice[];
56
+ //# sourceMappingURL=composerRepo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composerRepo.d.ts","sourceRoot":"","sources":["../src/composerRepo.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,UAAU;IACzB,kBAAkB;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,mEAAmE;IACnE,SAAS,CAAC,EAAE,OAAO,CAAA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,MAAM,GAAG,UAAU,EAAE,CAWzF"}
@@ -0,0 +1,64 @@
1
+ /**
2
+ * Which repository a session works in, chosen at the message box beside where it runs (owner, 2026-11-14: "then let's
3
+ * have this done as well, right?" about the Repo chip of Claude Code's cloud sessions; GitHub App approved 2026-11-19).
4
+ * A surface that can open repositories says what they are here: the website lists, for the person's cloud machine, the
5
+ * repositories they allowed XENO to see on GitHub and the ones already on the machine. Picking one is the surface's
6
+ * job (it clones it on the machine and makes it the session's folder).
7
+ *
8
+ * Absent (null), the message box shows no Repo chip.
9
+ */
10
+ import { useSyncExternalStore } from 'react';
11
+ let current = null;
12
+ const listeners = new Set();
13
+ /** Say which repositories a session can open, or null to show no chip. */
14
+ export function setComposerRepo(picker) {
15
+ current = picker;
16
+ for (const listener of [...listeners])
17
+ listener();
18
+ }
19
+ export function useComposerRepo() {
20
+ return useSyncExternalStore((listener) => { listeners.add(listener); return () => { listeners.delete(listener); }; }, () => current, () => current);
21
+ }
22
+ /**
23
+ * Whether what was typed is the address of a repository the list can open directly: owner/name, or an https or
24
+ * ssh address. The machine checks it again; this only decides whether the list offers "Open <it>".
25
+ */
26
+ export function looksLikeRepository(text) {
27
+ const t = text.trim();
28
+ if (!t || t.length > 400 || /\s/.test(t))
29
+ return false;
30
+ if (/^(?:ssh:\/\/)?git@[^:/\s]+[:/][^\s]+\/[^\s]+$/.test(t))
31
+ return true;
32
+ if (/^https:\/\/[^/\s]+\/[^/\s]+\/[^/\s]+/.test(t))
33
+ return true;
34
+ return /^[A-Za-z0-9_.-]{1,100}\/[A-Za-z0-9_.-]{1,100}$/.test(t);
35
+ }
36
+ /**
37
+ * The repository a session's folder is, when it is one the machine keeps: `~/repos/<host>/<owner>/<name>` (xeno-compute
38
+ * machine/agenthost/repo.mjs). owner/name for github.com, host/owner/name elsewhere; null for any other folder.
39
+ */
40
+ export function repoOfFolder(folder) {
41
+ if (!folder)
42
+ return null;
43
+ const m = /[\\/]repos[\\/]([^\\/]+)[\\/](.+?)[\\/]*$/.exec(folder);
44
+ if (!m)
45
+ return null;
46
+ const parts = m[2].split(/[\\/]/).filter(Boolean);
47
+ if (parts.length < 2)
48
+ return null;
49
+ return m[1] === 'github.com' ? parts.join('/') : `${m[1]}/${parts.join('/')}`;
50
+ }
51
+ /** The list as shown: what is on the machine first, then the rest, filtered by what was typed. One row per repository. */
52
+ export function repoRows(picker, query) {
53
+ const needle = query.trim().toLowerCase();
54
+ const seen = new Map();
55
+ for (const choice of picker.choices) {
56
+ const key = choice.fullName.toLowerCase();
57
+ const had = seen.get(key);
58
+ // the first spelling wins (the surface lists GitHub's own first), the facts are joined
59
+ seen.set(key, had ? { ...choice, ...had, onMachine: had.onMachine || choice.onMachine, private: had.private ?? choice.private, account: had.account ?? choice.account } : choice);
60
+ }
61
+ const rows = [...seen.values()].filter((choice) => !needle || choice.fullName.toLowerCase().includes(needle));
62
+ return [...rows.filter((r) => r.onMachine), ...rows.filter((r) => !r.onMachine)];
63
+ }
64
+ //# sourceMappingURL=composerRepo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composerRepo.js","sourceRoot":"","sources":["../src/composerRepo.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAyC5C,IAAI,OAAO,GAAsB,IAAI,CAAA;AACrC,MAAM,SAAS,GAAG,IAAI,GAAG,EAAc,CAAA;AAEvC,0EAA0E;AAC1E,MAAM,UAAU,eAAe,CAAC,MAAyB;IACvD,OAAO,GAAG,MAAM,CAAA;IAChB,KAAK,MAAM,QAAQ,IAAI,CAAC,GAAG,SAAS,CAAC;QAAE,QAAQ,EAAE,CAAA;AACnD,CAAC;AAED,MAAM,UAAU,eAAe;IAC7B,OAAO,oBAAoB,CACzB,CAAC,QAAQ,EAAE,EAAE,GAAG,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,GAAG,EAAE,GAAG,SAAS,CAAC,MAAM,CAAC,QA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CAAC,MAAmC,EAAE,KAAa;IACzE,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAA;IACzC,MAAM,IAAI,GAAG,IAAI,GAAG,EAAsB,CAAA;IAC1C,KAAK,MAAM,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;QACpC,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAA;QACzC,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;QACzB,uFAAuF;QACvF,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,GAAG,GAAG,EAAE,SAAS,EAAE,GAAG,CAAC,SAAS,IAAI,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,GAAG,CAAC,OAAO,IAAI,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC,OAAO,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;IACnL,CAAC;IACD,MAAM,IAAI,GAAG,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,IAAI,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAA;IAC7G,OAAO,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAA;AAClF,CAAC"}
@@ -1,8 +1,21 @@
1
1
  /**
2
2
  * 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
+ *
5
+ * `what` is a few words on what kind of place it is, or what it is doing ("Starts when you send"). It may be said
6
+ * again as that changes: whoever shows it is told (`onRemoteHostChange`).
4
7
  */
5
- export declare function setRemoteHostName(name: string | null): void;
8
+ export declare function setRemoteHostName(name: string | null, what?: string): void;
9
+ /**
10
+ * Give the place where the work runs a way to be changed (the remote page: Cloud, or one of the person's PCs). The
11
+ * interface shows it on the row that names the place. Null takes it back.
12
+ */
13
+ export declare function setRemoteHostSwitch(action: (() => void) | null): void;
14
+ export declare const remoteHostSwitch: () => (() => void) | null;
15
+ /** Be told when the name, what it is doing, or the way to change it changes. Returns the way to stop being told. */
16
+ export declare function onRemoteHostChange(watcher: () => void): () => void;
17
+ /** What kind of place that is, in a few words, when the surface said ("Your cloud machine"). */
18
+ export declare const remoteHostKind: () => string | null;
6
19
  /** The PC this window controls, when it controls one. An approval must say where a command runs, and that is not always here. */
7
20
  export declare function remoteHostName(search?: string): string | null;
8
21
  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":"AAKA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAO1E;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,GAAG,IAAI,CAIrE;AAED,eAAO,MAAM,gBAAgB,QAAO,CAAC,MAAM,IAAI,CAAC,GAAG,IAAgB,CAAA;AAEnE,oHAAoH;AACpH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAGlE;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,43 @@
1
1
  let named = null;
2
+ let namedAs = null;
3
+ let switchTo = null;
4
+ const watchers = new Set();
2
5
  /**
3
6
  * Say which PC this surface controls. A desktop window on another PC carries the name in its address; a surface with
4
7
  * addresses of its own (the remote page in a browser) names it here, and takes it back with null when it leaves that PC.
8
+ *
9
+ * `what` is a few words on what kind of place it is, or what it is doing ("Starts when you send"). It may be said
10
+ * again as that changes: whoever shows it is told (`onRemoteHostChange`).
5
11
  */
6
- export function setRemoteHostName(name) {
7
- named = name && name.trim() ? name.trim() : null;
12
+ export function setRemoteHostName(name, what) {
13
+ const nextName = name && name.trim() ? name.trim() : null;
14
+ const nextAs = nextName && what && what.trim() ? what.trim() : null;
15
+ if (nextName === named && nextAs === namedAs)
16
+ return;
17
+ named = nextName;
18
+ namedAs = nextAs;
19
+ for (const watcher of [...watchers])
20
+ watcher();
8
21
  }
22
+ /**
23
+ * Give the place where the work runs a way to be changed (the remote page: Cloud, or one of the person's PCs). The
24
+ * interface shows it on the row that names the place. Null takes it back.
25
+ */
26
+ export function setRemoteHostSwitch(action) {
27
+ if (switchTo === action)
28
+ return;
29
+ switchTo = action;
30
+ for (const watcher of [...watchers])
31
+ watcher();
32
+ }
33
+ export const remoteHostSwitch = () => switchTo;
34
+ /** Be told when the name, what it is doing, or the way to change it changes. Returns the way to stop being told. */
35
+ export function onRemoteHostChange(watcher) {
36
+ watchers.add(watcher);
37
+ return () => { watchers.delete(watcher); };
38
+ }
39
+ /** What kind of place that is, in a few words, when the surface said ("Your cloud machine"). */
40
+ export const remoteHostKind = () => namedAs;
9
41
  /** The PC this window controls, when it controls one. An approval must say where a command runs, and that is not always here. */
10
42
  export function remoteHostName(search) {
11
43
  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,GAAG,CAAC,MAAe,EAAU,EAAE;IACn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E,CAAC,QAAQ,CAAA;AAEnE,oHAAoH;AACpH,MAAM,UAAU,kBAAkB,CAAC,OAAmB;IACpD,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,OAAO,GAAG,EAAE,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA,CAAC,CAAC,CAAA;AAC3C,CAAC;AAED,gGAAgG;AAChG,MAAM,CAAC,MAAM,cAAc,GAAG,GAAkB,EAAE,CAAC,OAAO,CAAA;AAE1D,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,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.198",
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-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-contract": "0.1.198",
46
+ "@xenosystem/agent-interface-hub-adapter": "0.1.198",
47
+ "@xenosystem/agent-interface-client": "0.1.198",
48
+ "@xenosystem/agent-interface-core": "0.1.198"
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": "5af286d9c303c8982e0687630053d850dee93251"
55
56
  }
package/src/composer.css CHANGED
@@ -109,6 +109,67 @@
109
109
  }
110
110
  @keyframes xa-stin { from { opacity: 0; transform: translate(6px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
111
111
  .xa-dock .xa-controls .xa-grow { flex: 1; }
112
+ /* where this session runs (composerPlace.ts), fourth design 2026-11-18: the earlier one-line list, made ours. The place
113
+ in use is a brighter row tagged "In use" (no check mark); every place says its real state at the row's end as a
114
+ 6 px square and a word. Squares, never circles (DESIGN_SYSTEM). The chip: icon, name, state square, caret. */
115
+ .xa-dock .xa-place { display: inline-flex; align-items: center; gap: 6px; height: 24px; max-width: 200px; padding: 0 7px 0 8px; border: 1px solid var(--xa-line-soft); border-radius: 5px; background: var(--xa-wash-hover); font-size: 11.5px; line-height: 1; font-weight: 500; color: var(--xa-t2); white-space: nowrap; }
116
+ .xa-dock .xa-place .xa-lname { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
117
+ .xa-dock .xa-place .xa-caret { display: inline-flex; color: var(--xa-t5); }
118
+ .xa-dock .xa-place:hover, .xa-dock .xa-place.xa-open { background: rgba(var(--xa-ink), 0.09); border-color: var(--xa-line); color: var(--xa-t1); }
119
+ .xa-dock .xa-place:hover .xa-caret, .xa-dock .xa-place.xa-open .xa-caret { color: var(--xa-t3); }
120
+ .xa-dock .xa-place:disabled { opacity: 0.5; }
121
+ .xa-dock .xa-pdot { flex: none; display: inline-block; width: 6px; height: 6px; border-radius: 1px; }
122
+ .xa-dock .xa-pdot.xa-on { background: var(--xa-t1); }
123
+ .xa-dock .xa-pdot.xa-idle { background: var(--xa-t5); }
124
+ .xa-dock .xa-pdot.xa-off { box-shadow: inset 0 0 0 1px var(--xa-t5); }
125
+ /* the side inset sits on the SCROLLING box (.xa-mrows), not the menu: the search runs edge to edge with -4px
126
+ margins, and overhanging a scroller's content box made a horizontal scrollbar (overflow-y: auto makes x auto
127
+ too). Overhang into the scroller's own padding is not overflow. Measured: scrollWidth 314 > clientWidth 310. */
128
+ .xa-dock .xa-menu.xa-placemenu { padding: 0 0 4px; border-radius: 9px; }
129
+ .xa-dock .xa-menu.xa-placemenu .xa-mrows { padding: 0 4px; }
130
+ .xa-dock .xa-placemenu .xa-psearch { display: flex; align-items: center; gap: 8px; height: 36px; margin: 0 -4px 4px; padding: 0 13px; border-bottom: 1px solid var(--xa-line-soft); color: var(--xa-t5); cursor: text; }
131
+ .xa-dock .xa-placemenu .xa-psearch input { flex: 1; min-width: 0; height: 100%; padding: 0; background: none; border: 0; outline: none; box-shadow: none; font: inherit; font-size: 12px; color: var(--xa-t1); }
132
+ .xa-dock .xa-placemenu .xa-psearch input::placeholder { color: var(--xa-t5); }
133
+ .xa-dock .xa-placemenu .xa-pgroup + .xa-pgroup { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--xa-line-soft); }
134
+ .xa-dock .xa-placemenu .xa-ptitle { padding: 6px 10px 4px; font-size: 11px; font-weight: 500; color: var(--xa-t5); }
135
+ .xa-dock .xa-placemenu .xa-prow { display: flex; align-items: center; gap: 9px; width: 100%; height: 30px; padding: 0 10px; border-radius: 5px; text-align: left; font-size: 12px; color: var(--xa-t2); }
136
+ .xa-dock .xa-placemenu .xa-prow + .xa-prow { margin-top: 2px; }
137
+ .xa-dock .xa-placemenu .xa-prow.xa-act { background: var(--xa-wash-hover); color: var(--xa-t1); }
138
+ .xa-dock .xa-placemenu .xa-prow.xa-on { background: rgba(var(--xa-ink), 0.08); color: var(--xa-t1); font-weight: 500; }
139
+ .xa-dock .xa-placemenu .xa-prow:disabled { color: var(--xa-t6); }
140
+ .xa-dock .xa-placemenu .xa-pic { flex: none; display: inline-flex; width: 13px; color: var(--xa-t5); }
141
+ .xa-dock .xa-placemenu .xa-prow.xa-on .xa-pic, .xa-dock .xa-placemenu .xa-prow.xa-act .xa-pic { color: var(--xa-t2); }
142
+ .xa-dock .xa-placemenu .xa-plabel { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
143
+ .xa-dock .xa-placemenu .xa-pmeta { flex: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 11px; font-weight: 400; color: var(--xa-t5); }
144
+ .xa-dock .xa-placemenu .xa-prow.xa-on .xa-pmeta { color: var(--xa-t4); }
145
+ .xa-dock .xa-placemenu .xa-pinuse { flex: none; padding: 3px 6px; border-radius: 4px; background: rgba(var(--xa-ink), 0.10); font-size: 10.5px; line-height: 1; font-weight: 500; color: var(--xa-t1); }
146
+ .xa-dock .xa-placemenu .xa-paction { flex: none; padding: 3px 6px; border: 1px solid var(--xa-line); border-radius: 4px; font-size: 10.5px; line-height: 1; font-weight: 500; color: var(--xa-t3); }
147
+ .xa-dock .xa-placemenu .xa-prow.xa-act .xa-paction { border-color: rgba(var(--xa-ink), 0.18); color: var(--xa-t1); }
148
+ .xa-dock .xa-placemenu .xa-padd { color: var(--xa-t3); }
149
+ .xa-dock .xa-placemenu .xa-pkeys { flex: none; font-size: 10px; font-weight: 400; color: var(--xa-t6); }
150
+ /* the new-session card (PlaceCard): where a new session will run, centred in the empty conversation, in the list's
151
+ own one-line style; changing it opens the chip's list */
152
+ .xa-app .xa-placecard-wrap { display: flex; justify-content: center; padding: 18vh 16px 0; }
153
+ .xa-app .xa-placecard { display: flex; flex-direction: column; gap: 2px; width: 280px; max-width: 100%; padding: 4px; border: 1px solid var(--xa-line-menu); border-radius: 9px; background: var(--xa-menu); }
154
+ .xa-app .xa-placecard .xa-pcrow { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 10px; border-radius: 5px; background: rgba(var(--xa-ink), 0.06); font-size: 12px; font-weight: 500; color: var(--xa-t1); }
155
+ .xa-app .xa-placecard .xa-pcic { flex: none; display: inline-flex; color: var(--xa-t3); }
156
+ .xa-app .xa-placecard .xa-pcname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
157
+ .xa-app .xa-placecard .xa-pcstate { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 400; color: var(--xa-t4); white-space: nowrap; }
158
+ .xa-app .xa-placecard .xa-pdot { flex: none; display: inline-block; width: 6px; height: 6px; border-radius: 1px; }
159
+ .xa-app .xa-placecard .xa-pdot.xa-on { background: var(--xa-t1); }
160
+ .xa-app .xa-placecard .xa-pdot.xa-idle { background: var(--xa-t5); }
161
+ .xa-app .xa-placecard .xa-pdot.xa-off { box-shadow: inset 0 0 0 1px var(--xa-t5); }
162
+ .xa-app .xa-placecard .xa-pcchoose { display: flex; align-items: center; justify-content: flex-start; gap: 6px; width: 100%; height: 30px; padding: 0 10px; border-radius: 5px; font-size: 12px; color: var(--xa-t3); text-align: left; }
163
+ .xa-app .xa-placecard .xa-pcchoose:hover { background: var(--xa-wash-hover); color: var(--xa-t1); }
164
+ /* moving a chat in progress: asked in place of the list */
165
+ .xa-dock .xa-placemenu .xa-pask { display: flex; flex-direction: column; gap: 12px; padding: 12px 8px 4px; }
166
+ .xa-dock .xa-placemenu .xa-pasktext { margin: 0; font-size: 12px; line-height: 1.5; color: var(--xa-t3); }
167
+ .xa-dock .xa-placemenu .xa-pasktext b { font-weight: 500; color: var(--xa-t1); }
168
+ .xa-dock .xa-placemenu .xa-paskbar { display: flex; justify-content: flex-end; gap: 6px; }
169
+ .xa-dock .xa-placemenu .xa-pbtn { height: 26px; max-width: 180px; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 4px; background: rgba(var(--xa-ink), 0.06); font-size: 11.5px; font-weight: 500; color: var(--xa-t2); }
170
+ .xa-dock .xa-placemenu .xa-pbtn:hover { background: rgba(var(--xa-ink), 0.10); color: var(--xa-t1); }
171
+ .xa-dock .xa-placemenu .xa-pbtn.xa-primary { background: var(--xa-send); color: #141312; }
172
+ .xa-dock .xa-placemenu .xa-pbtn.xa-primary:hover { background: var(--xa-send-hover); }
112
173
  .xa-dock .xa-ic { width: 24px; height: 24px; border-radius: 4px; color: var(--xa-t4); }
113
174
  .xa-dock .xa-ic:hover, .xa-dock .xa-ic.xa-open { background: var(--xa-wash-hover); color: var(--xa-t2); }
114
175
  .xa-dock .xa-segc { display: flex; align-items: center; gap: 2px; padding: 2px; background: var(--xa-wash); border: 1px solid var(--xa-line-soft); border-radius: 4px; }
@@ -225,7 +286,9 @@
225
286
  .xa-dock .xa-chip { display: inline-flex; align-items: center; gap: 4px; vertical-align: -2px; padding: 1px 5px 1px 4px; background: rgba(var(--xa-ink),0.07); border: 1px solid var(--xa-line-soft); border-radius: 3px; font-size: 12px; line-height: 1.3; color: var(--xa-t1); white-space: nowrap; }
226
287
  .xa-dock .xa-chip svg { flex: none; color: var(--xa-t4); }
227
288
  .xa-dock .xa-mrow { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 9px; border-radius: 4px; text-align: left; font-size: 12px; color: var(--xa-t3); }
228
- .xa-dock .xa-mrow .xa-rail { width: 2px; height: 13px; background: transparent; flex: none; }
289
+ /* margin, padding and display are pinned: the transcript's turn rail shares the class name (transcript.css `.xa-rail`), and its
290
+ gutter made this 2 px mark a 16 px block in a tall row */
291
+ .xa-dock .xa-mrow .xa-rail { display: block; width: 2px; height: 13px; margin: 0; padding: 0; background: transparent; flex: none; }
229
292
  .xa-dock .xa-mrow.xa-tall { align-items: stretch; padding: 8px 9px; } .xa-mrow.xa-tall .xa-rail { height: auto; }
230
293
  .xa-dock .xa-mrow .xa-col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
231
294
  .xa-dock .xa-mrow .xa-sub { font-size: 11px; line-height: 1.35; color: var(--xa-t5); }
@@ -317,6 +380,9 @@
317
380
  .xa-dock .xa-menu .xa-search { display: block; width: 100%; height: 26px; margin: 2px 0 4px; padding: 0 9px; background: var(--xa-well); border: 1px solid var(--xa-line-soft); border-radius: 4px; font: inherit; font-size: 11px; color: var(--xa-t1); outline: none; box-shadow: none; }
318
381
  .xa-dock .xa-menu .xa-search::placeholder { color: var(--xa-t6); }
319
382
  .xa-dock .xa-menu .xa-none { padding: 7px 9px; font-size: 11px; color: var(--xa-t5); }
383
+ /* the Repo chip (composerRepo.ts): the place chip's construction; unset, its name reads as a prompt, not a value */
384
+ .xa-dock .xa-place.xa-repo.xa-unset .xa-lname { color: var(--xa-t4); }
385
+ .xa-dock .xa-menu .xa-perror { margin: 2px 4px 4px; padding: 7px 9px; font-size: 11px; line-height: 1.45; color: var(--xa-t2); background: var(--xa-wash-hover); border: 1px solid var(--xa-line); border-radius: 4px; }
320
386
 
321
387
  /* 🔴 ONE correction to the prototype, because the prototype contradicts ITSELF here. Its comment on
322
388
  the typed popover says "the row it lands on moves its content right to make room, the others sit
@@ -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); } }