@gjsify/devtools-protocol 0.46.0 → 0.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/lib/types/types.d.ts +13 -0
- package/package.json +3 -3
package/lib/types/types.d.ts
CHANGED
|
@@ -47,4 +47,17 @@ export interface NodeInfo {
|
|
|
47
47
|
/** Shallow scalar properties, when requested. */
|
|
48
48
|
props?: Record<string, unknown>;
|
|
49
49
|
children: NodeInfo[];
|
|
50
|
+
/**
|
|
51
|
+
* This node HAS children the dump did not walk, because the depth bound
|
|
52
|
+
* stopped it here.
|
|
53
|
+
*
|
|
54
|
+
* Present only when true, so a full dump carries nothing extra. Without it a
|
|
55
|
+
* truncated node and a leaf are byte-identical in the JSON, and a caller that
|
|
56
|
+
* walks the result and finds nothing cannot tell "there is nothing there"
|
|
57
|
+
* from "I stopped looking" (#1553). Measured on a routed application window:
|
|
58
|
+
* a vector counting `AdwHeaderBar` read 0 for a window that plainly drew one,
|
|
59
|
+
* because the header bar sits below the default bound — a confident wrong
|
|
60
|
+
* number rather than an error, which is the expensive half of the pair.
|
|
61
|
+
*/
|
|
62
|
+
truncated?: true;
|
|
50
63
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/devtools-protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"description": "Transport-agnostic devtools contract (methods, JSON envelope, method-kinds, transport interface) shared by every gjsify devtools adapter and the MCP bridge",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@gjsify/cli": "^0.
|
|
39
|
-
"@gjsify/unit": "^0.
|
|
38
|
+
"@gjsify/cli": "^0.48.0",
|
|
39
|
+
"@gjsify/unit": "^0.48.0",
|
|
40
40
|
"@types/node": "^25.9.2",
|
|
41
41
|
"typescript": "^6.0.3"
|
|
42
42
|
},
|