@nextclaw/x-harness 0.2.56 → 0.2.57

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/SOURCE.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Corresponding source
2
2
 
3
- Version 0.2.56, commit 84766d97c35a9cecbee5b8c6461aaa2e28d02c81.
3
+ Version 0.2.57, commit b9b2f4172170380da329027f31a6526062e41218.
4
4
 
5
- Complete source, build scripts and dependencies: https://github.com/Peiiii/x-harness/tree/84766d97c35a9cecbee5b8c6461aaa2e28d02c81
5
+ Complete source, build scripts and dependencies: https://github.com/Peiiii/x-harness/tree/b9b2f4172170380da329027f31a6526062e41218
6
6
 
7
7
  Clone this revision, run npm ci, npm run bootstrap and npm run release:build.
8
8
 
@@ -200,7 +200,10 @@ export class DOMEditing {
200
200
  this.#session.current = null;
201
201
  // A retained timestamp can be far below the viewport. Validate it, then
202
202
  // scroll the page without waiting for that offscreen link to take focus.
203
- await (await this.#unique(this.#tab.playwright.locator("body"))).press("PageDown");
203
+ if (typeof this.#tab.pressKey === "function")
204
+ await this.#tab.pressKey(null, "PageDown");
205
+ else
206
+ await anchor.press("PageDown");
204
207
  return { completed: true };
205
208
  return { completed: false, loc, submittedEditor };
206
209
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/x-harness",
3
- "version": "0.2.56",
3
+ "version": "0.2.57",
4
4
  "type": "module",
5
5
  "description": "Typed X task harness with compact business results and explicit diagnostics.",
6
6
  "main": "./dist/index.js",
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "84766d97c35a9cecbee5b8c6461aaa2e28d02c81"
45
+ "gitHead": "b9b2f4172170380da329027f31a6526062e41218"
46
46
  }