@f5xc-salesdemos/xcsh 18.36.0 → 18.36.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.36.
|
|
4
|
+
"version": "18.36.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.36.
|
|
52
|
-
"@f5xc-salesdemos/pi-agent-core": "18.36.
|
|
53
|
-
"@f5xc-salesdemos/pi-ai": "18.36.
|
|
54
|
-
"@f5xc-salesdemos/pi-natives": "18.36.
|
|
55
|
-
"@f5xc-salesdemos/pi-tui": "18.36.
|
|
56
|
-
"@f5xc-salesdemos/pi-utils": "18.36.
|
|
51
|
+
"@f5xc-salesdemos/xcsh-stats": "18.36.1",
|
|
52
|
+
"@f5xc-salesdemos/pi-agent-core": "18.36.1",
|
|
53
|
+
"@f5xc-salesdemos/pi-ai": "18.36.1",
|
|
54
|
+
"@f5xc-salesdemos/pi-natives": "18.36.1",
|
|
55
|
+
"@f5xc-salesdemos/pi-tui": "18.36.1",
|
|
56
|
+
"@f5xc-salesdemos/pi-utils": "18.36.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.36.
|
|
21
|
-
"commit": "
|
|
22
|
-
"shortCommit": "
|
|
20
|
+
"version": "18.36.1",
|
|
21
|
+
"commit": "fbcb28063ed16f95fff781626bda7b4659d57f64",
|
|
22
|
+
"shortCommit": "fbcb280",
|
|
23
23
|
"branch": "main",
|
|
24
|
-
"tag": "v18.36.
|
|
25
|
-
"commitDate": "2026-05-
|
|
26
|
-
"buildDate": "2026-05-
|
|
24
|
+
"tag": "v18.36.1",
|
|
25
|
+
"commitDate": "2026-05-04T04:54:22Z",
|
|
26
|
+
"buildDate": "2026-05-04T05:16:56.181Z",
|
|
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/
|
|
32
|
-
"releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.36.
|
|
31
|
+
"commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/fbcb28063ed16f95fff781626bda7b4659d57f64",
|
|
32
|
+
"releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.36.1"
|
|
33
33
|
};
|
package/src/tools/xcsh-api.ts
CHANGED
|
@@ -95,7 +95,9 @@ export class XcshApiTool implements AgentTool<typeof xcshApiSchema, XcshApiToolD
|
|
|
95
95
|
|
|
96
96
|
try {
|
|
97
97
|
const response = await fetch(url, init);
|
|
98
|
-
const
|
|
98
|
+
const raw = await response.text();
|
|
99
|
+
const contentType = response.headers.get("content-type") ?? "";
|
|
100
|
+
const bodyText = contentType.includes("application/json") ? JSON.stringify(JSON.parse(raw)) : raw;
|
|
99
101
|
const statusLine = `${response.status} ${response.statusText}`;
|
|
100
102
|
|
|
101
103
|
return {
|