Repository navigation
docs: add the guides, platform pages, C library docs, and changelog (4/4) - #338
Merged
Merged
Conversation
Add a Diagram MDX component that embeds standalone diagrams from /desktop/diagrams, let the proxy serve that path, add the architecture diagram, and write the Introduction, Installation, Quick start, and Skills pages with output from a release build.
โฆre concepts Add the Core concepts pages: Snapshots and refs, Skeleton and drill-down, Surfaces, Sessions, JSON output, and Errors and recovery, with the snapshot loop, re-drill, and ref resolution diagrams. Every claim is checked against crates/core and the examples are real output from a Linux release build.
Add the commands reference, one page per group (App and window, Observation, Interaction, Scroll, Keyboard, Mouse, Notifications, Clipboard, Wait, System, Batch) built from the Commands enum, and the Configuration page for global flags, post-action wait flags, environment variables, and the state root.
Add five task guides (observe, act, verify; waiting; batch; headed mode; traces), the macOS, Windows, and Linux platform pages that own every per-platform limit, the C library section (overview, build and link, API generated from agent_desktop.h, ownership and threading), and the changelog converted from CHANGELOG.md.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Lay the architecture diagram out top to bottom, from the calling agent down to the target app, and give every node an icon that names it: Geist icons for the agent, CLI, C library, core, PlatformAdapter, and app, and the Apple, Windows, and Linux marks for the platform crates. The architecture-diagram skill now requires top-to-bottom flows and Geist icons, with an icon table and placement rules.
Redraw the snapshot loop and ref resolution diagrams top to bottom, add Geist icons to every node of the three concept diagrams, and carry the architecture diagram and skill update from the foundation branch so this branch stays stacked on it.
Bring the redrawn diagrams and the architecture-diagram skill update from the branches below so the stack stays in sync.
Bring the redrawn diagrams and the architecture-diagram skill update from the branches below so the stack stays in sync.
launch --cdp was only described in the launch reference, so readers and Ask AI could not find the agent-browser handoff. The new guide walks through launching with a DevTools port, connecting agent-browser to it, keeping native UI on agent-desktop, closing the app, and each --cdp error, with output from Google Chrome on Linux. The Introduction, launch reference, and platform pages link to it.
lahfir
marked this pull request as ready for review
October 30, 2026 18:10
Comment on lines
+687
to
+694
| // Sends a move, down, up, or click event at a screen point. | ||
| AdResult ad_mouse_event(const struct AdAdapter *adapter, const struct AdMouseEvent *event); | ||
|
|
||
| // Same, while holding a modifier chord. | ||
| AdResult ad_mouse_event_with_modifiers(const struct AdAdapter *adapter, | ||
| const struct AdMouseEvent *event, | ||
| const int32_t *modifiers, | ||
| uint32_t modifier_count); |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the guides, the platform pages, the C library section, and the changelog, completing the site. Stacked on #339.
Why
The reference says what each command does; developers also need to know how to run the loop, wait without sleeps, batch, use headed mode, read traces, and what differs per OS. Embedders of the C library need build, API, and ownership docs.
Approach
launch --cdpand driving the web contents with agent-browser, verified with Google Chrome on Linux); headed mode; traces. They link to the reference for flags.ffi/api.mdxsignatures are extracted fromcrates/ffi/include/agent_desktop.h, so they match the header exactly. The minimal C program on the build page was compiled againsttarget/release-ffi/libagent_desktop_ffi.soand run against GNOME Calculator, andtests/ffi-python/smoke.pypassed.Validation
From
apps/docs:pnpm install --frozen-lockfile,next build, andtsc --noEmitpass. Throughmicrofrontends proxyon port 3024, all 36 pages and their.mdroutes return 200, every internal link and anchor resolves, search returns results, and the sidebar lists every page. The only HTML references outside/desktopare the microfrontend asset prefix/vc-ap-*and the in-text link to agent-browser at the site root.macOS and Windows behavior could not run here; it was checked against the adapters, their tests, and the platform skills, and those pages say so.
pnpm devran out of memory in the 4 GB test machine, so the final page checks usednext startbehind the same proxy.Stack
main)Review and merge in order. Each PR adds its own sidebar section, so links to pages from a later PR resolve only once the whole stack is in.