@f5-sales-demo/xcsh 21.46.4 → 21.46.5
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.46.
|
|
4
|
+
"version": "21.46.5",
|
|
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",
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@agentclientprotocol/sdk": "1.4.0",
|
|
69
|
-
"@f5-sales-demo/pi-agent-core": "21.46.
|
|
70
|
-
"@f5-sales-demo/pi-ai": "21.46.
|
|
71
|
-
"@f5-sales-demo/pi-natives": "21.46.
|
|
72
|
-
"@f5-sales-demo/pi-resource-management": "21.46.
|
|
73
|
-
"@f5-sales-demo/pi-tui": "21.46.
|
|
74
|
-
"@f5-sales-demo/pi-utils": "21.46.
|
|
75
|
-
"@f5-sales-demo/xcsh-stats": "21.46.
|
|
69
|
+
"@f5-sales-demo/pi-agent-core": "21.46.5",
|
|
70
|
+
"@f5-sales-demo/pi-ai": "21.46.5",
|
|
71
|
+
"@f5-sales-demo/pi-natives": "21.46.5",
|
|
72
|
+
"@f5-sales-demo/pi-resource-management": "21.46.5",
|
|
73
|
+
"@f5-sales-demo/pi-tui": "21.46.5",
|
|
74
|
+
"@f5-sales-demo/pi-utils": "21.46.5",
|
|
75
|
+
"@f5-sales-demo/xcsh-stats": "21.46.5",
|
|
76
76
|
"@mozilla/readability": "^0.6",
|
|
77
77
|
"@sinclair/typebox": "0.34.52",
|
|
78
78
|
"@tobilu/qmd": "2.8.3",
|
|
@@ -739,16 +739,18 @@ export default function herdrReporter(pi: ExtensionAPI): void {
|
|
|
739
739
|
return undefined;
|
|
740
740
|
};
|
|
741
741
|
|
|
742
|
-
const report = (state: "idle" | "working" | "blocked", message?: string, ctx?: ExtensionContext): Promise<void> =>
|
|
743
|
-
|
|
742
|
+
const report = (state: "idle" | "working" | "blocked", message?: string, ctx?: ExtensionContext): Promise<void> => {
|
|
743
|
+
const sessionCtx = ctx ?? latestContext;
|
|
744
|
+
return send(REPORT_METHOD, {
|
|
744
745
|
pane_id: paneId,
|
|
745
746
|
source: HERDR_SOURCE,
|
|
746
747
|
agent: HERDR_AGENT_LABEL,
|
|
747
748
|
state,
|
|
748
749
|
...(message === undefined ? {} : { message }),
|
|
749
|
-
...(
|
|
750
|
+
...(sessionCtx === undefined ? {} : sessionRefFromContext(sessionCtx)),
|
|
750
751
|
seq: seq++,
|
|
751
752
|
});
|
|
753
|
+
};
|
|
752
754
|
|
|
753
755
|
const reportRecapAuthority = (ctx: ExtensionContext): Promise<void> => {
|
|
754
756
|
const socketPath = process.env.HERDR_SOCKET_PATH;
|
|
@@ -934,6 +936,7 @@ export default function herdrReporter(pi: ExtensionAPI): void {
|
|
|
934
936
|
const socketPath = process.env.HERDR_SOCKET_PATH;
|
|
935
937
|
if (!socketPath) return;
|
|
936
938
|
await reportSession(ctx);
|
|
939
|
+
await reportRecapAuthority(ctx);
|
|
937
940
|
const sessionFile = ctx.sessionManager?.getSessionFile?.();
|
|
938
941
|
const sessionRef =
|
|
939
942
|
typeof sessionFile === "string" && path.isAbsolute(sessionFile)
|