@f5-sales-demo/xcsh 21.5.1 → 21.5.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": "@f5-sales-demo/xcsh",
4
- "version": "21.5.1",
4
+ "version": "21.5.3",
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",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "scripts": {
34
34
  "prebuild": "bun ../../scripts/check-installed-dependencies.ts",
35
- "build": "bun run generate-build-info && bun run generate-extension-capabilities && test -f src/internal-urls/api-spec-index.generated.ts && bun --cwd=../stats scripts/generate-client-bundle.ts --generate && bun --cwd=../office-pane scripts/generate-client-bundle.ts --generate && bun --cwd=../natives run embed:native && bun build --compile --define PI_COMPILED=true --external mupdf --root ../.. ./src/cli.ts --outfile dist/xcsh && bun --cwd=../natives run embed:native --reset && bun --cwd=../stats scripts/generate-client-bundle.ts --reset && bun --cwd=../office-pane scripts/generate-client-bundle.ts --reset",
35
+ "build": "bun run generate-build-info && bun run generate-extension-capabilities && test -f src/internal-urls/api-spec-index.generated.ts && bun --cwd=../stats scripts/generate-client-bundle.ts --generate && bun --cwd=../office-pane scripts/generate-client-bundle.ts --generate && bun --cwd=../natives run embed:native && bun scripts/build-binary.ts && bun --cwd=../natives run embed:native --reset && bun --cwd=../stats scripts/generate-client-bundle.ts --reset && bun --cwd=../office-pane scripts/generate-client-bundle.ts --reset",
36
36
  "precheck": "bun ../../scripts/check-installed-dependencies.ts",
37
37
  "check": "biome check . && bun run format-prompts -- --check && bun run check:types",
38
38
  "check:types": "bun run generate-build-info && tsgo -p tsconfig.json --noEmit",
@@ -61,13 +61,13 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@agentclientprotocol/sdk": "1.3.0",
64
- "@f5-sales-demo/pi-agent-core": "21.5.1",
65
- "@f5-sales-demo/pi-ai": "21.5.1",
66
- "@f5-sales-demo/pi-natives": "21.5.1",
67
- "@f5-sales-demo/pi-resource-management": "21.5.1",
68
- "@f5-sales-demo/pi-tui": "21.5.1",
69
- "@f5-sales-demo/pi-utils": "21.5.1",
70
- "@f5-sales-demo/xcsh-stats": "21.5.1",
64
+ "@f5-sales-demo/pi-agent-core": "21.5.3",
65
+ "@f5-sales-demo/pi-ai": "21.5.3",
66
+ "@f5-sales-demo/pi-natives": "21.5.3",
67
+ "@f5-sales-demo/pi-resource-management": "21.5.3",
68
+ "@f5-sales-demo/pi-tui": "21.5.3",
69
+ "@f5-sales-demo/pi-utils": "21.5.3",
70
+ "@f5-sales-demo/xcsh-stats": "21.5.3",
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.5.1",
21
- "commit": "29e9e0c2a5db96a67b3d49826ae04c961e6e67df",
22
- "shortCommit": "29e9e0c",
20
+ "version": "21.5.3",
21
+ "commit": "2982b9c7546bc3bb1dc9cfbfd89111ef3192f477",
22
+ "shortCommit": "2982b9c",
23
23
  "branch": "main",
24
- "tag": "v21.5.1",
25
- "commitDate": "2026-09-01T17:11:18+00:00",
26
- "buildDate": "2026-09-01T17:47:50.116Z",
24
+ "tag": "v21.5.3",
25
+ "commitDate": "2026-09-01T21:00:39+00:00",
26
+ "buildDate": "2026-09-01T21:40:07.382Z",
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/29e9e0c2a5db96a67b3d49826ae04c961e6e67df",
32
- "releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v21.5.1"
31
+ "commitUrl": "https://github.com/f5-sales-demo/xcsh/commit/2982b9c7546bc3bb1dc9cfbfd89111ef3192f477",
32
+ "releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v21.5.3"
33
33
  };
@@ -102,6 +102,7 @@ const CALLBACK_SERVER_PROVIDERS = new Set<OAuthProvider>([
102
102
  ]);
103
103
 
104
104
  const MANUAL_LOGIN_TIP = "Tip: You can complete pairing with /login <redirect URL>.";
105
+ const VERTEX_MANUAL_LOGIN_TIP = "Tip: After browser sign-in, complete pairing with /login <authorization code>.";
105
106
 
106
107
  class LoginPromptCancelled extends Error {}
107
108
 
@@ -1362,7 +1363,7 @@ export class SelectorController {
1362
1363
  onAuth: info => {
1363
1364
  this.ctx.chatContainer.addChild(new Text(theme.fg("dim", info.url), 1, 0));
1364
1365
  if (isHeadlessTerminal(runtime.environment)) {
1365
- this.ctx.chatContainer.addChild(new Text(theme.fg("dim", MANUAL_LOGIN_TIP), 1, 0));
1366
+ this.ctx.chatContainer.addChild(new Text(theme.fg("dim", VERTEX_MANUAL_LOGIN_TIP), 1, 0));
1366
1367
  } else {
1367
1368
  this.ctx.openInBrowser(info.url);
1368
1369
  }
@@ -20,7 +20,11 @@ export function buildNamedToolChoice(toolName: string, model?: Model<Api>): Tool
20
20
  return { type: "function", name: toolName };
21
21
  }
22
22
 
23
- if (model.api === "google-generative-ai" || model.api === "google-gemini-cli" || model.api === "google-vertex") {
23
+ if (model.api === "google-vertex") {
24
+ return { type: "tool", name: toolName };
25
+ }
26
+
27
+ if (model.api === "google-generative-ai" || model.api === "google-gemini-cli") {
24
28
  return "required";
25
29
  }
26
30