@treegress.com/treegress-browser-core 1.59.0-treegress.3 → 1.59.0-treegress.4

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.
Files changed (2) hide show
  1. package/README.md +16 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -4,6 +4,22 @@ This package contains the browser automation core used by the Treegress MCP serv
4
4
 
5
5
  Most users should install [`@treegress.com/treegress-browser-mcp`](https://www.npmjs.com/package/@treegress.com/treegress-browser-mcp) instead of using this package directly.
6
6
 
7
+ ## Why Treegress Extends Playwright MCP
8
+
9
+ AI agents need access to the actual page structure they are testing.
10
+
11
+ Standard Playwright MCP flows expose an ARIA snapshot derived from the accessibility tree. In real test flows, that can hide interactable UI when elements are poorly represented in the accessibility layer.
12
+
13
+ Treegress extends this flow by:
14
+
15
+ - serializing the full DOM tree
16
+ - extracting the full set of interactable elements
17
+ - assigning a `refId` to each element so downstream actions such as `click`, `fill`, and similar operations can target them reliably
18
+
19
+ This package provides the core snapshot, formatting and locator logic behind that behavior. In practice, it gives the agent a structurally complete representation of the page instead of a partial accessibility abstraction, improving element coverage and enabling broader, more reliable test scenarios.
20
+
21
+ If you want to see what Treegress is building in this area, visit [treegress.com](https://treegress.com).
22
+
7
23
  `@treegress.com/treegress-browser-core` and `@treegress.com/treegress-browser-mcp` are released as a coordinated pair.
8
24
 
9
25
  - `@treegress.com/treegress-browser-mcp` depends on a pinned `@treegress.com/treegress-browser-core` version
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@treegress.com/treegress-browser-core",
3
- "version": "1.59.0-treegress.3",
3
+ "version": "1.59.0-treegress.4",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/MobiDev-Org/treegress-browser-core.git"
8
8
  },
9
- "homepage": "https://playwright.dev",
9
+ "homepage": "https://treegress.com",
10
10
  "engines": {
11
11
  "node": ">=18"
12
12
  },
13
13
  "author": {
14
- "name": "Microsoft Corporation"
14
+ "name": "mobidev.biz"
15
15
  },
16
16
  "license": "Apache-2.0",
17
17
  "publishConfig": {