Releases: giannimassi/webview-cli
Releases · giannimassi/webview-cli
v0.2.0
v0.1.3
Release v0.1.3
v0.1.2
Release v0.1.2
v0.1.1
Release v0.1.1
v0.1.0 — Public launch
Changelog
All notable changes to webview-cli. Format follows Keep a Changelog.
[0.1.0] — 2026-04-21
Public launch. First stable release.
Added
- Single-file Swift CLI wrapping
WKWebViewfor AI agent workflows - Three modes of operation:
--url <url>to open any URL (http/https/file/agent)--a2uito read A2UI v0.8 JSONL from stdin and render with the built-in renderer- Stdin
loadcommand for piping custom HTML resources viaagent://scheme
- A2UI renderer supporting 9 components:
Text,TextInput,Button,Column,Row,Card,Select,Checkbox,Divider - Stdout JSON protocol:
{"status":"completed","data":{...}}/cancelled/timeout/error - Exit codes:
0completed,1cancelled,2timeout,3error WKScriptMessageHandlerbridge forcompleteandreadyeventsapplicationWillTerminatesafety net: emitscancelledon SIGTERM- Escape key and
Cmd+Wboth emitcancelled - Homebrew tap at
giannimassi/homebrew-tap /webviewskill for Claude Code agents with templates for approval, select, form, and confirmation patterns
Performance
- 193KB binary (no runtime dependencies beyond macOS system frameworks)
- ~180ms cold-start on Apple Silicon (spawn → page rendered)
- macOS 12+ (Swift runtime ships with OS, no bundled libswiftCore)
Known limitations
- macOS-only — no Linux or Windows port
- A2UI subset only — no
Image,List,RadioGroupcomponents yet - No data-binding expressions (
dataModelUpdatenot fully supported) - No
--csscustom-theme flag (opinionated defaults only) - No persistent cookie storage across invocations (
WKWebsiteDataStore.default()is ephemeral) - No code signing or notarization — Gatekeeper will warn on first open unless installed via brew