@f5xc-salesdemos/xcsh 18.5.4 → 18.5.5

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@f5xc-salesdemos/xcsh",
4
- "version": "18.5.4",
4
+ "version": "18.5.5",
5
5
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
6
6
  "homepage": "https://github.com/f5xc-salesdemos/xcsh",
7
7
  "author": "Can Boluk",
@@ -47,12 +47,12 @@
47
47
  "dependencies": {
48
48
  "@agentclientprotocol/sdk": "0.16.1",
49
49
  "@mozilla/readability": "^0.6",
50
- "@f5xc-salesdemos/xcsh-stats": "18.5.4",
51
- "@f5xc-salesdemos/pi-agent-core": "18.5.4",
52
- "@f5xc-salesdemos/pi-ai": "18.5.4",
53
- "@f5xc-salesdemos/pi-natives": "18.5.4",
54
- "@f5xc-salesdemos/pi-tui": "18.5.4",
55
- "@f5xc-salesdemos/pi-utils": "18.5.4",
50
+ "@f5xc-salesdemos/xcsh-stats": "18.5.5",
51
+ "@f5xc-salesdemos/pi-agent-core": "18.5.5",
52
+ "@f5xc-salesdemos/pi-ai": "18.5.5",
53
+ "@f5xc-salesdemos/pi-natives": "18.5.5",
54
+ "@f5xc-salesdemos/pi-tui": "18.5.5",
55
+ "@f5xc-salesdemos/pi-utils": "18.5.5",
56
56
  "@sinclair/typebox": "^0.34",
57
57
  "@xterm/headless": "^6.0",
58
58
  "ajv": "^8.18",
@@ -17,17 +17,17 @@ export interface BuildInfo {
17
17
  }
18
18
 
19
19
  export const BUILD_INFO: BuildInfo = {
20
- "version": "18.5.4",
21
- "commit": "a42b5ccc77040540c237254209bd6deb39b106ad",
22
- "shortCommit": "a42b5cc",
20
+ "version": "18.5.5",
21
+ "commit": "8a2e95fbb3e190549a9381ebd927013366f02fb6",
22
+ "shortCommit": "8a2e95f",
23
23
  "branch": "main",
24
- "tag": "v18.5.4",
25
- "commitDate": "2026-04-22T05:01:25Z",
26
- "buildDate": "2026-04-22T05:23:42.465Z",
24
+ "tag": "v18.5.5",
25
+ "commitDate": "2026-04-22T05:35:04Z",
26
+ "buildDate": "2026-04-22T05:57:25.741Z",
27
27
  "dirty": false,
28
28
  "prNumber": "",
29
29
  "repoUrl": "https://github.com/f5xc-salesdemos/xcsh",
30
30
  "repoSlug": "f5xc-salesdemos/xcsh",
31
- "commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/a42b5ccc77040540c237254209bd6deb39b106ad",
32
- "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.5.4"
31
+ "commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/8a2e95fbb3e190549a9381ebd927013366f02fb6",
32
+ "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.5.5"
33
33
  };
@@ -25,13 +25,32 @@ const GUTTER_PAD = " ";
25
25
  * leading blank spacer separates the prompt from the preceding block.
26
26
  */
27
27
  export class UserMessageComponent extends Container {
28
+ #text: string;
29
+ #synthetic: boolean;
30
+
28
31
  constructor(text: string, synthetic = false) {
29
32
  super();
30
- const color = synthetic
33
+ this.#text = text;
34
+ this.#synthetic = synthetic;
35
+ this.#rebuild();
36
+ }
37
+
38
+ // Mirror AssistantMessageComponent: on invalidate, drop the Markdown child
39
+ // and rebuild it so getMarkdownTheme() is re-captured. Without this, a
40
+ // theme change leaves the Markdown child rendering with the original
41
+ // construction-time theme.
42
+ override invalidate(): void {
43
+ super.invalidate();
44
+ this.#rebuild();
45
+ }
46
+
47
+ #rebuild(): void {
48
+ this.children = [];
49
+ const color = this.#synthetic
31
50
  ? (value: string) => theme.fg("dim", value)
32
51
  : (value: string) => `\x1b[3m${theme.fg("userMessageText", value)}\x1b[23m`;
33
52
  this.addChild(new Spacer(1));
34
- this.addChild(new Markdown(text, 0, 0, getMarkdownTheme(), { color }));
53
+ this.addChild(new Markdown(this.#text, 0, 0, getMarkdownTheme(), { color }));
35
54
  }
36
55
 
37
56
  override render(width: number): string[] {