A3S Docs
A3S WebView

Platforms And Boundaries

WKWebView, WebKitGTK, WebView2, navigation controls, fallback ownership, and non-goals for A3S WebView.

Platforms And Boundaries

A3S WebView uses tao for the native window/event loop and wry for the platform WebView.

Platform Backends

PlatformBackendNotes
macOSWKWebViewUses the system WebKit framework. Navigation controls are native AppKit titlebar buttons.
LinuxWebKitGTKRequires WebKitGTK runtime/development packages when building from source. Navigation controls are injected into the page.
WindowsWebView2Uses the WebView2 runtime. Navigation controls are injected into the page.

All platforms support back, forward, and reload:

PlatformImplementation
macOSNative NSButton controls in an NSTitlebarAccessoryViewController; clicks post UserEvents back into the Tao event loop.
Linux / WindowsA small top-right HTML toolbar injected after DOMContentLoaded; buttons call history.back(), history.forward(), and location.reload().

The event loop waits for native events and exits on CloseRequested.

Fallback Ownership

Before terminal takeover, an online a3s code launch prepares the verified platform helper when it is missing and automatic setup is allowed. If setup fails, the TUI may fall back to a normal system browser. That fallback belongs to the TUI host. The helper process itself does not discover or launch alternate browsers.

Non-Goals

A3S WebView is not:

  • the documentation site UI
  • the A3S Code agent runtime
  • a general browser
  • a multi-tab shell
  • a credential manager
  • a replacement for inspectable links that should open in the user's normal browser

Use it for trusted, sized runtime popups that accompany a terminal workflow.

On this page