diff --git a/site/src/pages/architecture.mdx b/site/src/pages/architecture.mdx index ec874e2..87b2b4e 100644 --- a/site/src/pages/architecture.mdx +++ b/site/src/pages/architecture.mdx @@ -19,7 +19,7 @@ Requests and responses are newline-delimited JSON (NDJSON) over a Unix socket. **Request:** ```json -{"id": "r123456", "action": "snapshot", "annotate": true} +{ "id": "r123456", "action": "snapshot", "annotate": true } ``` **Response:** @@ -31,7 +31,7 @@ Requests and responses are newline-delimited JSON (NDJSON) over a Unix socket. Error responses include an `error` field: ```json -{"success": false, "error": "window not found: @w99"} +{ "success": false, "error": "window not found: @w99" } ``` ## Socket location @@ -66,13 +66,13 @@ The trait-based design means adding Wayland support is a single trait implementa Window detection uses EWMH properties: -| Property | Purpose | -|----------|---------| -| `_NET_CLIENT_LIST_STACKING` | Window stacking order | -| `_NET_ACTIVE_WINDOW` | Currently focused window | -| `_NET_WM_NAME` | Window title (UTF-8) | -| `_NET_WM_STATE_HIDDEN` | Minimized state | -| `_NET_CLOSE_WINDOW` | Graceful close | -| `WM_CLASS` | Application class/name | +| Property | Purpose | +| --------------------------- | ------------------------ | +| `_NET_CLIENT_LIST_STACKING` | Window stacking order | +| `_NET_ACTIVE_WINDOW` | Currently focused window | +| `_NET_WM_NAME` | Window title (UTF-8) | +| `_NET_WM_STATE_HIDDEN` | Minimized state | +| `_NET_CLOSE_WINDOW` | Graceful close | +| `WM_CLASS` | Application class/name | Falls back to `XQueryTree` if `_NET_CLIENT_LIST_STACKING` is unavailable. diff --git a/site/src/pages/commands.mdx b/site/src/pages/commands.mdx index bd639c7..e1fc509 100644 --- a/site/src/pages/commands.mdx +++ b/site/src/pages/commands.mdx @@ -169,8 +169,8 @@ deskctl launch code --args /path/to/project ## Global options -| Flag | Env | Description | -|------|-----|-------------| -| `--json` | | Output as JSON | -| `--socket ` | `DESKCTL_SOCKET` | Path to daemon Unix socket | -| `--session ` | | Session name for multiple daemons (default: `default`) | +| Flag | Env | Description | +| ------------------ | ---------------- | ------------------------------------------------------ | +| `--json` | | Output as JSON | +| `--socket ` | `DESKCTL_SOCKET` | Path to daemon Unix socket | +| `--session ` | | Session name for multiple daemons (default: `default`) | diff --git a/site/src/pages/index.astro b/site/src/pages/index.astro index a33ab8c..9327dc5 100644 --- a/site/src/pages/index.astro +++ b/site/src/pages/index.astro @@ -9,9 +9,9 @@ import DocLayout from "../layouts/DocLayout.astro";

- Desktop control CLI for AI agents on Linux X11. Compact JSON output - for agent loops. Screenshot, click, type, scroll, drag, and manage - windows through a fast client-daemon architecture. 100% native Rust. + Desktop control CLI for AI agents on Linux X11. Compact JSON output for + agent loops. Screenshot, click, type, scroll, drag, and manage windows + through a fast client-daemon architecture. 100% native Rust.

Getting started