@f5xc-salesdemos/xcsh 18.5.1 → 18.5.2

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.1",
4
+ "version": "18.5.2",
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.1",
51
- "@f5xc-salesdemos/pi-agent-core": "18.5.1",
52
- "@f5xc-salesdemos/pi-ai": "18.5.1",
53
- "@f5xc-salesdemos/pi-natives": "18.5.1",
54
- "@f5xc-salesdemos/pi-tui": "18.5.1",
55
- "@f5xc-salesdemos/pi-utils": "18.5.1",
50
+ "@f5xc-salesdemos/xcsh-stats": "18.5.2",
51
+ "@f5xc-salesdemos/pi-agent-core": "18.5.2",
52
+ "@f5xc-salesdemos/pi-ai": "18.5.2",
53
+ "@f5xc-salesdemos/pi-natives": "18.5.2",
54
+ "@f5xc-salesdemos/pi-tui": "18.5.2",
55
+ "@f5xc-salesdemos/pi-utils": "18.5.2",
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.1",
21
- "commit": "2a2609d390a936b17a34ca06aa955b347715d133",
22
- "shortCommit": "2a2609d",
20
+ "version": "18.5.2",
21
+ "commit": "241bff6e524c48aacf4e14b31b8fc5b39d7f9047",
22
+ "shortCommit": "241bff6",
23
23
  "branch": "main",
24
- "tag": "v18.5.1",
25
- "commitDate": "2026-04-21T18:42:07Z",
26
- "buildDate": "2026-04-21T19:21:35.113Z",
24
+ "tag": "v18.5.2",
25
+ "commitDate": "2026-04-21T20:23:54Z",
26
+ "buildDate": "2026-04-21T20:47:19.277Z",
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/2a2609d390a936b17a34ca06aa955b347715d133",
32
- "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.5.1"
31
+ "commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/241bff6e524c48aacf4e14b31b8fc5b39d7f9047",
32
+ "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.5.2"
33
33
  };
@@ -82,7 +82,7 @@ export class AssistantMessageComponent extends Container {
82
82
  );
83
83
  continue;
84
84
  }
85
- this.#contentContainer.addChild(new Text(theme.fg("toolOutput", `[Image: ${image.mimeType}]`), 1, 0));
85
+ this.#contentContainer.addChild(new Text(theme.fg("toolOutput", `[Image: ${image.mimeType}]`), 0, 0));
86
86
  }
87
87
  }
88
88
  #triggerMermaidPrerender(message: AssistantMessage): void {
@@ -137,7 +137,7 @@ export class AssistantMessageComponent extends Container {
137
137
  if (content.type === "text" && content.text.trim()) {
138
138
  // Assistant text messages with no background - trim the text
139
139
  // Set paddingY=0 to avoid extra spacing before tool executions
140
- this.#contentContainer.addChild(new Markdown(content.text.trim(), 1, 0, getMarkdownTheme()));
140
+ this.#contentContainer.addChild(new Markdown(content.text.trim(), 0, 0, getMarkdownTheme()));
141
141
  } else if (content.type === "thinking" && content.thinking.trim()) {
142
142
  // Add spacing only when another visible assistant content block follows.
143
143
  // This avoids a superfluous blank line before separately-rendered tool execution blocks.
@@ -147,14 +147,14 @@ export class AssistantMessageComponent extends Container {
147
147
 
148
148
  if (this.hideThinkingBlock) {
149
149
  // Show static "Thinking..." label when hidden
150
- this.#contentContainer.addChild(new Text(theme.italic(theme.fg("thinkingText", "Thinking...")), 1, 0));
150
+ this.#contentContainer.addChild(new Text(theme.italic(theme.fg("thinkingText", "Thinking...")), 0, 0));
151
151
  if (hasVisibleContentAfter) {
152
152
  this.#contentContainer.addChild(new Spacer(1));
153
153
  }
154
154
  } else {
155
155
  // Thinking traces in thinkingText color, italic
156
156
  this.#contentContainer.addChild(
157
- new Markdown(content.thinking.trim(), 1, 0, getMarkdownTheme(), {
157
+ new Markdown(content.thinking.trim(), 0, 0, getMarkdownTheme(), {
158
158
  color: (text: string) => theme.fg("thinkingText", text),
159
159
  italic: true,
160
160
  }),
@@ -181,11 +181,11 @@ export class AssistantMessageComponent extends Container {
181
181
  } else {
182
182
  this.#contentContainer.addChild(new Spacer(1));
183
183
  }
184
- this.#contentContainer.addChild(new Text(theme.fg("error", abortMessage), 1, 0));
184
+ this.#contentContainer.addChild(new Text(theme.fg("error", abortMessage), 0, 0));
185
185
  } else if (message.stopReason === "error") {
186
186
  const errorMsg = message.errorMessage || "Unknown error";
187
187
  this.#contentContainer.addChild(new Spacer(1));
188
- this.#contentContainer.addChild(new Text(theme.fg("error", `Error: ${errorMsg}`), 1, 0));
188
+ this.#contentContainer.addChild(new Text(theme.fg("error", `Error: ${errorMsg}`), 0, 0));
189
189
  }
190
190
  }
191
191
 
@@ -200,7 +200,7 @@ export class AssistantMessageComponent extends Container {
200
200
  parts.push(`cache: ${formatNumber(usage.cacheRead)}`);
201
201
  }
202
202
  this.#contentContainer.addChild(new Spacer(1));
203
- this.#contentContainer.addChild(new Text(theme.fg("dim", parts.join(" ")), 1, 0));
203
+ this.#contentContainer.addChild(new Text(theme.fg("dim", parts.join(" ")), 0, 0));
204
204
  }
205
205
  }
206
206
  }
@@ -31,7 +31,7 @@ export class UserMessageComponent extends Container {
31
31
  ? (value: string) => theme.fg("dim", value)
32
32
  : (value: string) => `\x1b[3m${theme.fg("userMessageText", value)}\x1b[23m`;
33
33
  this.addChild(new Spacer(1));
34
- this.addChild(new Markdown(text, 1, 0, getMarkdownTheme(), { color }));
34
+ this.addChild(new Markdown(text, 0, 0, getMarkdownTheme(), { color }));
35
35
  }
36
36
 
37
37
  override render(width: number): string[] {