Skip to content

Releases: giannimassi/webview-cli

v0.2.0

17 Apr 09:04

Choose a tag to compare

Release v0.2.0

v0.1.3

17 Apr 00:02

Choose a tag to compare

Release v0.1.3

v0.1.2

16 Apr 22:38

Choose a tag to compare

Release v0.1.2

v0.1.1

16 Apr 21:36

Choose a tag to compare

Release v0.1.1

v0.1.0 — Public launch

16 Apr 21:12

Choose a tag to compare

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 WKWebView for AI agent workflows
  • Three modes of operation:
    • --url <url> to open any URL (http/https/file/agent)
    • --a2ui to read A2UI v0.8 JSONL from stdin and render with the built-in renderer
    • Stdin load command for piping custom HTML resources via agent:// 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: 0 completed, 1 cancelled, 2 timeout, 3 error
  • WKScriptMessageHandler bridge for complete and ready events
  • applicationWillTerminate safety net: emits cancelled on SIGTERM
  • Escape key and Cmd+W both emit cancelled
  • Homebrew tap at giannimassi/homebrew-tap
  • /webview skill 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, RadioGroup components yet
  • No data-binding expressions (dataModelUpdate not fully supported)
  • No --css custom-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