@f5-sales-demo/xcsh 21.6.3 → 21.6.4

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": "@f5-sales-demo/xcsh",
4
- "version": "21.6.3",
4
+ "version": "21.6.4",
5
5
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
6
6
  "homepage": "https://github.com/f5-sales-demo/xcsh",
7
7
  "author": "Can Boluk",
@@ -61,13 +61,13 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@agentclientprotocol/sdk": "1.3.0",
64
- "@f5-sales-demo/pi-agent-core": "21.6.3",
65
- "@f5-sales-demo/pi-ai": "21.6.3",
66
- "@f5-sales-demo/pi-natives": "21.6.3",
67
- "@f5-sales-demo/pi-resource-management": "21.6.3",
68
- "@f5-sales-demo/pi-tui": "21.6.3",
69
- "@f5-sales-demo/pi-utils": "21.6.3",
70
- "@f5-sales-demo/xcsh-stats": "21.6.3",
64
+ "@f5-sales-demo/pi-agent-core": "21.6.4",
65
+ "@f5-sales-demo/pi-ai": "21.6.4",
66
+ "@f5-sales-demo/pi-natives": "21.6.4",
67
+ "@f5-sales-demo/pi-resource-management": "21.6.4",
68
+ "@f5-sales-demo/pi-tui": "21.6.4",
69
+ "@f5-sales-demo/pi-utils": "21.6.4",
70
+ "@f5-sales-demo/xcsh-stats": "21.6.4",
71
71
  "@mozilla/readability": "^0.6",
72
72
  "@sinclair/typebox": "^0.34",
73
73
  "@xterm/headless": "^6.0",
@@ -17,17 +17,17 @@ export interface BuildInfo {
17
17
  }
18
18
 
19
19
  export const BUILD_INFO: BuildInfo = {
20
- "version": "21.6.3",
21
- "commit": "644b3464bc455d7dd456786e18c9572a487fdf31",
22
- "shortCommit": "644b346",
20
+ "version": "21.6.4",
21
+ "commit": "1115b2a3d71fdbdbecfb3f370c295e9c3b28b3a2",
22
+ "shortCommit": "1115b2a",
23
23
  "branch": "main",
24
- "tag": "v21.6.3",
25
- "commitDate": "2026-09-02T15:25:02+00:00",
26
- "buildDate": "2026-09-02T15:57:33.854Z",
24
+ "tag": "v21.6.4",
25
+ "commitDate": "2026-09-02T19:05:12+00:00",
26
+ "buildDate": "2026-09-02T19:34:49.293Z",
27
27
  "dirty": true,
28
28
  "prNumber": "",
29
29
  "repoUrl": "https://github.com/f5-sales-demo/xcsh",
30
30
  "repoSlug": "f5-sales-demo/xcsh",
31
- "commitUrl": "https://github.com/f5-sales-demo/xcsh/commit/644b3464bc455d7dd456786e18c9572a487fdf31",
32
- "releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v21.6.3"
31
+ "commitUrl": "https://github.com/f5-sales-demo/xcsh/commit/1115b2a3d71fdbdbecfb3f370c295e9c3b28b3a2",
32
+ "releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v21.6.4"
33
33
  };
@@ -31,13 +31,16 @@ export function normalizeWizardCredential(value: string, expectedKey: WizardCred
31
31
  const trimmed = value.trim();
32
32
  if (!trimmed) return "";
33
33
  const assignment = trimmed.match(/^(?:#\s*)?(?:export\s+)?([A-Za-z_][A-Za-z0-9_]*)=(.*)$/);
34
- if (assignment) {
34
+ const isShellAssignment =
35
+ assignment !== null &&
36
+ (assignment[1] === expectedKey || assignment[1].startsWith("XCSH_") || /^(?:#\s*)?(?:export\s+)/.test(trimmed));
37
+ if (assignment && isShellAssignment) {
35
38
  if (assignment[1] !== expectedKey) return null;
36
39
  return unwrapWholeValueQuotes(assignment[2].trim());
37
40
  }
38
41
  if (trimmed === expectedKey || trimmed === `export ${expectedKey}` || trimmed === `#${expectedKey}`) return null;
39
42
  // A shell-style assignment for another field must not silently become a token.
40
- if (/^(?:#\s*)?(?:export\s+)?[A-Za-z_][A-Za-z0-9_]*\s*=/.test(trimmed)) return null;
43
+ if (/^(?:#\s*)?(?:export\s+)?XCSH_[A-Za-z0-9_]*\s*=/.test(trimmed)) return null;
41
44
  return unwrapWholeValueQuotes(trimmed);
42
45
  }
43
46