@f5xc-salesdemos/xcsh 18.30.0 → 18.30.1

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.30.0",
4
+ "version": "18.30.1",
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",
@@ -48,12 +48,12 @@
48
48
  "dependencies": {
49
49
  "@agentclientprotocol/sdk": "0.16.1",
50
50
  "@mozilla/readability": "^0.6",
51
- "@f5xc-salesdemos/xcsh-stats": "18.30.0",
52
- "@f5xc-salesdemos/pi-agent-core": "18.30.0",
53
- "@f5xc-salesdemos/pi-ai": "18.30.0",
54
- "@f5xc-salesdemos/pi-natives": "18.30.0",
55
- "@f5xc-salesdemos/pi-tui": "18.30.0",
56
- "@f5xc-salesdemos/pi-utils": "18.30.0",
51
+ "@f5xc-salesdemos/xcsh-stats": "18.30.1",
52
+ "@f5xc-salesdemos/pi-agent-core": "18.30.1",
53
+ "@f5xc-salesdemos/pi-ai": "18.30.1",
54
+ "@f5xc-salesdemos/pi-natives": "18.30.1",
55
+ "@f5xc-salesdemos/pi-tui": "18.30.1",
56
+ "@f5xc-salesdemos/pi-utils": "18.30.1",
57
57
  "@sinclair/typebox": "^0.34",
58
58
  "@xterm/headless": "^6.0",
59
59
  "ajv": "^8.18",
@@ -17,17 +17,17 @@ export interface BuildInfo {
17
17
  }
18
18
 
19
19
  export const BUILD_INFO: BuildInfo = {
20
- "version": "18.30.0",
21
- "commit": "72667c39746cfce92ec26d5d81f2a99617e1d4fe",
22
- "shortCommit": "72667c3",
20
+ "version": "18.30.1",
21
+ "commit": "44f3e8eb67ae0eaa93412d10edd0c3af366f2bd3",
22
+ "shortCommit": "44f3e8e",
23
23
  "branch": "main",
24
- "tag": "v18.30.0",
25
- "commitDate": "2026-05-01T03:26:38Z",
26
- "buildDate": "2026-05-01T03:52:47.886Z",
24
+ "tag": "v18.30.1",
25
+ "commitDate": "2026-05-01T05:16:08Z",
26
+ "buildDate": "2026-05-01T05:42:04.697Z",
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/72667c39746cfce92ec26d5d81f2a99617e1d4fe",
32
- "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.30.0"
31
+ "commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/44f3e8eb67ae0eaa93412d10edd0c3af366f2bd3",
32
+ "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.30.1"
33
33
  };
@@ -33,6 +33,23 @@ function getApiSpecMeta(): { domainCount: number; version: string } {
33
33
  return _apiSpecMeta;
34
34
  }
35
35
 
36
+ let _buildMeta: { version: string; repoSlug: string } | null = null;
37
+
38
+ function getBuildMeta(): { version: string; repoSlug: string } {
39
+ if (_buildMeta) return _buildMeta;
40
+ try {
41
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
42
+ const mod = require("./internal-urls/build-info.generated");
43
+ _buildMeta = {
44
+ version: mod.BUILD_INFO?.version ?? "unknown",
45
+ repoSlug: mod.BUILD_INFO?.repoSlug ?? "unknown",
46
+ };
47
+ } catch {
48
+ _buildMeta = { version: "unknown", repoSlug: "unknown" };
49
+ }
50
+ return _buildMeta;
51
+ }
52
+
36
53
  function apiSpecDomainCount(): number {
37
54
  return getApiSpecMeta().domainCount;
38
55
  }
@@ -301,7 +318,9 @@ async function getCachedGpu(): Promise<string | undefined> {
301
318
  async function getEnvironmentInfo(): Promise<Array<{ label: string; value: string }>> {
302
319
  const gpu = await getCachedGpu();
303
320
  const cpus = os.cpus();
321
+ const build = getBuildMeta();
304
322
  const entries: Array<{ label: string; value: string | undefined }> = [
323
+ { label: "xcsh", value: `v${build.version} (${build.repoSlug})` },
305
324
  { label: "OS", value: `${os.platform()} ${os.release()}` },
306
325
  { label: "Distro", value: os.type() },
307
326
  { label: "Kernel", value: os.version() },