@f5xc-salesdemos/xcsh 19.47.0 → 19.48.0

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": "19.47.0",
4
+ "version": "19.48.0",
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",
@@ -54,13 +54,13 @@
54
54
  "dependencies": {
55
55
  "@agentclientprotocol/sdk": "0.16.1",
56
56
  "@mozilla/readability": "^0.6",
57
- "@f5xc-salesdemos/xcsh-stats": "19.47.0",
58
- "@f5xc-salesdemos/pi-agent-core": "19.47.0",
59
- "@f5xc-salesdemos/pi-ai": "19.47.0",
60
- "@f5xc-salesdemos/pi-natives": "19.47.0",
61
- "@f5xc-salesdemos/pi-resource-management": "19.47.0",
62
- "@f5xc-salesdemos/pi-tui": "19.47.0",
63
- "@f5xc-salesdemos/pi-utils": "19.47.0",
57
+ "@f5xc-salesdemos/xcsh-stats": "19.48.0",
58
+ "@f5xc-salesdemos/pi-agent-core": "19.48.0",
59
+ "@f5xc-salesdemos/pi-ai": "19.48.0",
60
+ "@f5xc-salesdemos/pi-natives": "19.48.0",
61
+ "@f5xc-salesdemos/pi-resource-management": "19.48.0",
62
+ "@f5xc-salesdemos/pi-tui": "19.48.0",
63
+ "@f5xc-salesdemos/pi-utils": "19.48.0",
64
64
  "@sinclair/typebox": "^0.34",
65
65
  "@xterm/headless": "^6.0",
66
66
  "ajv": "^8.20",
@@ -307,6 +307,14 @@ export class ExtensionPageActions implements PageActions {
307
307
  }
308
308
  }
309
309
 
310
+ async selectLabel(selector: string, value: string, _context?: string): Promise<void> {
311
+ // Atomic CDK-portal typeahead interaction: the extension's label_select tool
312
+ // handles type → poll → click in ONE handler without losing focus (the root
313
+ // cause of all previous label-selector failures). Uses plain Runtime.evaluate
314
+ // (not evaluateWithRecovery which detaches the debugger and closes the portal).
315
+ await this.#ext.labelSelect(selector, value);
316
+ }
317
+
310
318
  async scrollIntoView(selector: string, _context?: string): Promise<void> {
311
319
  // resolveCoords already does scrollIntoView.
312
320
  await resolveCoords(this.#ext, selector);
@@ -53,6 +53,19 @@ export interface ExtensionPage {
53
53
  clickXy(x: number, y: number): Promise<void>;
54
54
  /** CDP Input.insertText into the focused element (genuine trusted input events). */
55
55
  typeText(text: string): Promise<void>;
56
+ /** Atomically type into a CDK-portal typeahead + click the matching option.
57
+ * Keeps the input focused throughout (uses plain Runtime.evaluate, not the
58
+ * evaluateWithRecovery path that defocuses by detaching the debugger). */
59
+ labelSelect(
60
+ selector: string,
61
+ value: string,
62
+ waitMs?: number,
63
+ ): Promise<{
64
+ selected: string;
65
+ matchedKind: string;
66
+ value: string;
67
+ optionCount: number;
68
+ }>;
56
69
  }
57
70
 
58
71
  /** Unwrap a {@link ToolResult}, throwing on the error flag. */
@@ -204,6 +217,19 @@ class BridgeExtensionPage implements ExtensionPage {
204
217
  async typeText(text: string): Promise<void> {
205
218
  unwrap(await this.#server.request("type_text", { text }), "type_text");
206
219
  }
220
+
221
+ async labelSelect(
222
+ selector: string,
223
+ value: string,
224
+ waitMs?: number,
225
+ ): Promise<{ selected: string; matchedKind: string; value: string; optionCount: number }> {
226
+ // Request timeout must exceed the handler's internal poll budget.
227
+ const timeout = Math.max(30_000, (waitMs ?? 8_000) + 5_000);
228
+ return unwrap(
229
+ await this.#server.request("label_select", { selector, value, wait_ms: waitMs }, timeout),
230
+ "label_select",
231
+ ) as { selected: string; matchedKind: string; value: string; optionCount: number };
232
+ }
207
233
  }
208
234
 
209
235
  const CONNECT_TIMEOUT_MS = 30_000;
@@ -17,17 +17,17 @@ export interface BuildInfo {
17
17
  }
18
18
 
19
19
  export const BUILD_INFO: BuildInfo = {
20
- "version": "19.47.0",
21
- "commit": "ae8522ac0882900baeef7e16bb63110c859dd522",
22
- "shortCommit": "ae8522a",
20
+ "version": "19.48.0",
21
+ "commit": "d0c5ae1622948405d6d1efdf5d664ec72ffbb7dd",
22
+ "shortCommit": "d0c5ae1",
23
23
  "branch": "main",
24
- "tag": "v19.47.0",
25
- "commitDate": "2026-06-25T18:51:19Z",
26
- "buildDate": "2026-06-25T19:19:29.242Z",
24
+ "tag": "v19.48.0",
25
+ "commitDate": "2026-06-25T19:38:18Z",
26
+ "buildDate": "2026-06-25T20:04:08.080Z",
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/ae8522ac0882900baeef7e16bb63110c859dd522",
32
- "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v19.47.0"
31
+ "commitUrl": "https://github.com/f5xc-salesdemos/xcsh/commit/d0c5ae1622948405d6d1efdf5d664ec72ffbb7dd",
32
+ "releaseUrl": "https://github.com/f5xc-salesdemos/xcsh/releases/tag/v19.48.0"
33
33
  };