(surface: SessionSurface | undefined)
| 23 | } |
| 24 | |
| 25 | export async function snapshotLinux(surface: SessionSurface | undefined): Promise<{ |
| 26 | nodes: RawSnapshotNode[]; |
| 27 | truncated?: boolean; |
| 28 | }> { |
| 29 | const linuxSurface = resolveLinuxSurface(surface); |
| 30 | const result = await captureAccessibilityTree(linuxSurface); |
| 31 | |
| 32 | return { |
| 33 | nodes: result.nodes, |
| 34 | truncated: result.truncated, |
| 35 | }; |
| 36 | } |
| 37 | |
| 38 | export async function readLinuxTextAtPoint( |
| 39 | x: number, |
no test coverage detected