@f5-sales-demo/xcsh 21.5.2 → 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.
|
|
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
|
|
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.
|
|
65
|
-
"@f5-sales-demo/pi-ai": "21.5.
|
|
66
|
-
"@f5-sales-demo/pi-natives": "21.5.
|
|
67
|
-
"@f5-sales-demo/pi-resource-management": "21.5.
|
|
68
|
-
"@f5-sales-demo/pi-tui": "21.5.
|
|
69
|
-
"@f5-sales-demo/pi-utils": "21.5.
|
|
70
|
-
"@f5-sales-demo/xcsh-stats": "21.5.
|
|
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.
|
|
21
|
-
"commit": "
|
|
22
|
-
"shortCommit": "
|
|
20
|
+
"version": "21.5.3",
|
|
21
|
+
"commit": "2982b9c7546bc3bb1dc9cfbfd89111ef3192f477",
|
|
22
|
+
"shortCommit": "2982b9c",
|
|
23
23
|
"branch": "main",
|
|
24
|
-
"tag": "v21.5.
|
|
25
|
-
"commitDate": "2026-09-
|
|
26
|
-
"buildDate": "2026-09-
|
|
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/
|
|
32
|
-
"releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v21.5.
|
|
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
|
};
|
package/src/utils/tool-choice.ts
CHANGED
|
@@ -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-
|
|
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
|
|