weftgrid Svelte Themes

Weftgrid

Cross-platform terminal for AI agents — terminal, in-app browser, scriptable automation, workspaces, and a CLI. Tauri 2 + Rust + TypeScript.

weftgrid

A cross-platform terminal for AI agents

Terminal · in-app browser · scriptable automation · workspaces · splits · tabs · CLI — a primitive for driving coding agents, not an opinionated workflow.




Overview

weftgrid gives an AI agent the same surface a developer uses: a real terminal, an in-app browser it can script, desktop notifications, and a workspace model with splits and tabs — all controllable from a single weft CLI. It is built as a cross-platform desktop app on Tauri 2 + Rust + TypeScript (Svelte 5), Windows-first with Linux next.


Features

Terminal core

GPU-accelerated xterm.js with a portable-pty backend (ConPTY on Windows), coalesced binary streaming, flow-control backpressure, and in-terminal find.

Panes

Recursive split / tab layout in a single webview, multi-surface stacking, keyboard-driven directional focus, and an accessible (ARIA + keyboard) UI.

In-app browser

Overlay browser panes with per-profile isolation and physical-coordinate bounds math (multi-monitor, mixed-DPI correct).

Scriptable automation

One cross-platform inject-JS DOM-walk backend — snapshot with ephemeral refs, then click / fill / eval / wait / get / find.

Agent control

A unified weft CLI talks to the running app over an authenticated local socket, so an agent in a shell pane can drive browser automation.

Workspaces

A vertical-tab sidebar where each row is a split-tree, plus a fuzzy command palette (in-process Nucleo) with custom weft.json commands behind a trust gate.

Notifications

OSC 9 / 99 / 777 desktop notifications with a per-pane unread ring.

Remote & import

SSH workspaces with a SOCKS5h broker (remote DNS), plus consent-gated import of cookies & history from local browsers — local-only, no exfiltration.


Status

Early development, Windows-first. The terminal core, pane/split/tab UI, browser pane, scriptable automation, workspace sidebar, command palette, notifications, SSH transport, browser import, reliability layer, and the weft CLI are implemented and unit-tested. Live-desktop integration, real-engine automation parity, and packaging are in progress.


Getting started

npm install
npm run build:inject     # build the page-context inject bundle (required before cargo build/test)
npm run tauri dev        # run the app

Tests

npm run check                  # type-check the Svelte/TS app
npm test                       # TS unit tests (vitest)
cd src-tauri && cargo test     # Rust core tests

License

GPL-3.0-or-later

weftgrid is free software under the GNU General Public License v3.0 or later — see LICENSE.

It is a cross-platform rewrite based on cmux (GPL-3.0-or-later, © Manaflow Inc.), and its browser-automation algorithm is ported from agent-browser (Apache-2.0). Full attributions are in NOTICE.


Built with Tauri 2 · Rust · TypeScript · Svelte 5

Top categories

Loading Svelte Themes