update website

This commit is contained in:
Harivansh Rathi 2026-03-25 19:04:42 -04:00
parent 3c08e6003d
commit 8ca33ae1e2
3 changed files with 18 additions and 18 deletions

View file

@ -19,7 +19,7 @@ Requests and responses are newline-delimited JSON (NDJSON) over a Unix socket.
**Request:** **Request:**
```json ```json
{"id": "r123456", "action": "snapshot", "annotate": true} { "id": "r123456", "action": "snapshot", "annotate": true }
``` ```
**Response:** **Response:**
@ -31,7 +31,7 @@ Requests and responses are newline-delimited JSON (NDJSON) over a Unix socket.
Error responses include an `error` field: Error responses include an `error` field:
```json ```json
{"success": false, "error": "window not found: @w99"} { "success": false, "error": "window not found: @w99" }
``` ```
## Socket location ## Socket location
@ -66,13 +66,13 @@ The trait-based design means adding Wayland support is a single trait implementa
Window detection uses EWMH properties: Window detection uses EWMH properties:
| Property | Purpose | | Property | Purpose |
|----------|---------| | --------------------------- | ------------------------ |
| `_NET_CLIENT_LIST_STACKING` | Window stacking order | | `_NET_CLIENT_LIST_STACKING` | Window stacking order |
| `_NET_ACTIVE_WINDOW` | Currently focused window | | `_NET_ACTIVE_WINDOW` | Currently focused window |
| `_NET_WM_NAME` | Window title (UTF-8) | | `_NET_WM_NAME` | Window title (UTF-8) |
| `_NET_WM_STATE_HIDDEN` | Minimized state | | `_NET_WM_STATE_HIDDEN` | Minimized state |
| `_NET_CLOSE_WINDOW` | Graceful close | | `_NET_CLOSE_WINDOW` | Graceful close |
| `WM_CLASS` | Application class/name | | `WM_CLASS` | Application class/name |
Falls back to `XQueryTree` if `_NET_CLIENT_LIST_STACKING` is unavailable. Falls back to `XQueryTree` if `_NET_CLIENT_LIST_STACKING` is unavailable.

View file

@ -169,8 +169,8 @@ deskctl launch code --args /path/to/project
## Global options ## Global options
| Flag | Env | Description | | Flag | Env | Description |
|------|-----|-------------| | ------------------ | ---------------- | ------------------------------------------------------ |
| `--json` | | Output as JSON | | `--json` | | Output as JSON |
| `--socket <path>` | `DESKCTL_SOCKET` | Path to daemon Unix socket | | `--socket <path>` | `DESKCTL_SOCKET` | Path to daemon Unix socket |
| `--session <name>` | | Session name for multiple daemons (default: `default`) | | `--session <name>` | | Session name for multiple daemons (default: `default`) |

View file

@ -9,9 +9,9 @@ import DocLayout from "../layouts/DocLayout.astro";
</header> </header>
<p> <p>
Desktop control CLI for AI agents on Linux X11. Compact JSON output Desktop control CLI for AI agents on Linux X11. Compact JSON output for
for agent loops. Screenshot, click, type, scroll, drag, and manage agent loops. Screenshot, click, type, scroll, drag, and manage windows
windows through a fast client-daemon architecture. 100% native Rust. through a fast client-daemon architecture. 100% native Rust.
</p> </p>
<h2>Getting started</h2> <h2>Getting started</h2>