@f5xc-salesdemos/xcsh 18.59.0 → 18.59.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.59.
|
|
4
|
+
"version": "18.59.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.59.
|
|
52
|
-
"@f5xc-salesdemos/pi-agent-core": "18.59.
|
|
53
|
-
"@f5xc-salesdemos/pi-ai": "18.59.
|
|
54
|
-
"@f5xc-salesdemos/pi-natives": "18.59.
|
|
55
|
-
"@f5xc-salesdemos/pi-tui": "18.59.
|
|
56
|
-
"@f5xc-salesdemos/pi-utils": "18.59.
|
|
51
|
+
"@f5xc-salesdemos/xcsh-stats": "18.59.1",
|
|
52
|
+
"@f5xc-salesdemos/pi-agent-core": "18.59.1",
|
|
53
|
+
"@f5xc-salesdemos/pi-ai": "18.59.1",
|
|
54
|
+
"@f5xc-salesdemos/pi-natives": "18.59.1",
|
|
55
|
+
"@f5xc-salesdemos/pi-tui": "18.59.1",
|
|
56
|
+
"@f5xc-salesdemos/pi-utils": "18.59.1",
|
|
57
57
|
"@sinclair/typebox": "^0.34",
|
|
58
58
|
"@xterm/headless": "^6.0",
|
|
59
59
|
"ajv": "^8.18",
|
|
@@ -372,7 +372,7 @@ export function createLogExperimentTool(
|
|
|
372
372
|
},
|
|
373
373
|
renderResult(result, _options, theme): Component {
|
|
374
374
|
const details = result.details;
|
|
375
|
-
if (!details) {
|
|
375
|
+
if (!isLogDetails(details)) {
|
|
376
376
|
return new Text(replaceTabs(result.content.find(part => part.type === "text")?.text ?? ""), 0, 0);
|
|
377
377
|
}
|
|
378
378
|
return {
|
|
@@ -770,8 +770,16 @@ function truncateAsiValue(value: ASIData[string]): string {
|
|
|
770
770
|
return text.length > 120 ? `${text.slice(0, 117)}...` : text;
|
|
771
771
|
}
|
|
772
772
|
|
|
773
|
+
function isLogDetails(value: unknown): value is LogDetails {
|
|
774
|
+
if (typeof value !== "object" || value === null) return false;
|
|
775
|
+
return "experiment" in value && "state" in value;
|
|
776
|
+
}
|
|
777
|
+
|
|
773
778
|
function renderSummary(details: LogDetails, theme: Theme, width?: number): string {
|
|
774
779
|
const { experiment, state } = details;
|
|
780
|
+
if (!experiment || !state) {
|
|
781
|
+
return theme.fg("dim", "(no experiment data)");
|
|
782
|
+
}
|
|
775
783
|
const color = experiment.status === "keep" ? "success" : experiment.status === "discard" ? "warning" : "error";
|
|
776
784
|
let summary = `${theme.fg(color, experiment.status.toUpperCase())} ${theme.fg("muted", truncateToWidth(replaceTabs(experiment.description ?? ""), Math.max(20, (width ?? 100) - 30)))}`;
|
|
777
785
|
summary += ` ${theme.fg("contentAccent", `${state.metricName}=${formatNum(experiment.metric, state.metricUnit)}`)}`;
|
|
@@ -17,17 +17,17 @@ export interface BuildInfo {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export const BUILD_INFO: BuildInfo = {
|
|
20
|
-
"version": "18.59.
|
|
21
|
-
"commit": "
|
|
22
|
-
"shortCommit": "
|
|
20
|
+
"version": "18.59.1",
|
|
21
|
+
"commit": "fa007898365b1a63e38748e06d2c86c13779ff53",
|
|
22
|
+
"shortCommit": "fa00789",
|
|
23
23
|
"branch": "main",
|
|
24
|
-
"tag": "v18.59.
|
|
25
|
-
"commitDate": "2026-05-
|
|
26
|
-
"buildDate": "2026-05-
|
|
24
|
+
"tag": "v18.59.1",
|
|
25
|
+
"commitDate": "2026-05-10T17:48:40Z",
|
|
26
|
+
"buildDate": "2026-05-10T18:15:56.886Z",
|
|
27
27
|
"dirty": true,
|
|
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.59.
|
|
31
|
+
"commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/fa007898365b1a63e38748e06d2c86c13779ff53",
|
|
32
|
+
"releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v18.59.1"
|
|
33
33
|
};
|