@f5xc-salesdemos/xcsh 18.18.2 → 18.18.3

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.18.2",
4
+ "version": "18.18.3",
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.18.2",
51
- "@f5xc-salesdemos/pi-agent-core": "18.18.2",
52
- "@f5xc-salesdemos/pi-ai": "18.18.2",
53
- "@f5xc-salesdemos/pi-natives": "18.18.2",
54
- "@f5xc-salesdemos/pi-tui": "18.18.2",
55
- "@f5xc-salesdemos/pi-utils": "18.18.2",
50
+ "@f5xc-salesdemos/xcsh-stats": "18.18.3",
51
+ "@f5xc-salesdemos/pi-agent-core": "18.18.3",
52
+ "@f5xc-salesdemos/pi-ai": "18.18.3",
53
+ "@f5xc-salesdemos/pi-natives": "18.18.3",
54
+ "@f5xc-salesdemos/pi-tui": "18.18.3",
55
+ "@f5xc-salesdemos/pi-utils": "18.18.3",
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.18.2",
21
- "commit": "3d0fb36250f738a3d5e215ba4840b84cf6ff2904",
22
- "shortCommit": "3d0fb36",
20
+ "version": "18.18.3",
21
+ "commit": "4ab7024cf2ff50627d2403f00fbb31ef9a8f350c",
22
+ "shortCommit": "4ab7024",
23
23
  "branch": "main",
24
- "tag": "v18.18.2",
25
- "commitDate": "2026-04-25T19:45:57Z",
26
- "buildDate": "2026-04-25T20:04:16.409Z",
24
+ "tag": "v18.18.3",
25
+ "commitDate": "2026-04-25T21:51:43Z",
26
+ "buildDate": "2026-04-25T22:13:22.836Z",
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/3d0fb36250f738a3d5e215ba4840b84cf6ff2904",
32
- "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.18.2"
31
+ "commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/4ab7024cf2ff50627d2403f00fbb31ef9a8f350c",
32
+ "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.18.3"
33
33
  };
@@ -62,7 +62,7 @@ export class StatusLineComponent implements Component {
62
62
  #subagentCount: number = 0;
63
63
  #sessionStartTime: number = Date.now();
64
64
  #planModeStatus: { enabled: boolean; paused: boolean } | null = null;
65
- #cwd: string = getShellPwd();
65
+ #cwd: string;
66
66
  // Display text for a pending chord leader (e.g. "Ctrl+X-") or null when no
67
67
  // chord is pending. Populated by the InputController's ChordDispatcher
68
68
  // callbacks; rendered as a dim right-aligned segment in the top border.
@@ -91,6 +91,7 @@ export class StatusLineComponent implements Component {
91
91
  #lastTokensPerSecondTimestamp: number | null = null;
92
92
 
93
93
  constructor(private readonly session: AgentSession) {
94
+ this.#cwd = session.sessionManager?.getCwd() ?? getShellPwd();
94
95
  this.#settings = {
95
96
  preset: settings.get("statusLine.preset"),
96
97
  leftSegments: settings.get("statusLine.leftSegments"),
@@ -681,7 +681,8 @@ export class CommandController {
681
681
  resetCapabilities();
682
682
  await this.ctx.refreshSlashCommandState(resolvedPath);
683
683
 
684
- this.ctx.statusLine.invalidate();
684
+ setShellPwd(resolvedPath);
685
+ this.ctx.statusLine.setCwd(resolvedPath);
685
686
  this.ctx.updateEditorTopBorder();
686
687
 
687
688
  this.ctx.chatContainer.addChild(new Spacer(1));