Skip to content

Klav 0.13.0

Choose a tag to compare

@OmarAlex24 OmarAlex24 released this 01 Dec 20:20
e6dcd69

What's new in v0.13.0

  • Postgres credential proxy with a SQL guard (ADR 0052): sandboxes connect to PostgreSQL at 127.0.0.1 with no database password (psql "$KLAV_FORWARD_<PROFILE>_DATABASE_URL"). klav-proxy authenticates upstream with SCRAM-SHA-256 (in klav-core) over verify-full TLS — direct or inside a Northflank addon tunnel — enforces read-only sessions (including per-transaction BEGIN TRANSACTION READ ONLY behind transaction-mode poolers), classifies every statement with a strict PostgreSQL lexer and pg_catalog allowlist, and holds writes, DDL, admin, and unknown statements for approval with the exact HPKE-sealed SQL shown on your Mac, iPhone, or CLI (or refuses them immediately with --read-only).
  • WebSocket tunnels through HTTPS_PROXY (ADR 0052): klav-forward mode (b) on 127.0.0.1:8791 with an ephemeral Ed25519 CA (NameConstraints, wiped right after startup) and scoped shims (northflank forward), routing tunnel handshakes only to exact signed --tunnel-host allowlists without exposing tokens in the sandbox.
  • Sandbox MCP (klav-forward mcp) & secret requests from sandboxes (ADR 0053): a keyless stdio MCP server (klav-sandbox) automatically registered in Claude Code and Codex. sandbox_info lists only the sandbox's own profiles, local URLs, Postgres URLs, and signed rules; request_secret and get_secret_request let a sandboxed agent request a missing or expired API key via a "From a sandbox" card on your Mac or iPhone, with optional immediate base-URL attach ("Also let this sandbox use it now"), per-sandbox caps, and one-tap "Stop this sandbox".
  • Mac Sandboxes & Topology Map upgrades:
    • Anthropic, OpenAI, and GitHub presets plus an LLM gateway (cliproxy / LiteLLM) starter in Share a credential…, with Allow in my sandboxes issuer auto-sharing and Manage sandbox profiles… in Development › Agents.
    • Enriched Architecture Map showing the E2E encrypted Sync Server, attested AWS Nitro Enclave, and configured sandbox issuers.
  • macOS UX & reliability:
    • Mac login password fallback for klavd presence prompts (works seamlessly in clamshell mode / external displays) and shorter, clearer macOS Touch ID sheets.
    • Menu bar auto-focus: opening the locked menu bar panel without Touch ID automatically focuses the Master password field.
  • Security: updated curve25519-dalek (RUSTSEC-2026-0620), hardened Postgres prepared-statement/portal confirmation (42P05/42P03), and added signed agent egress pinning format and vectors (ADR 0044 layer 4).

Downloads

  • macOS (Apple Silicon, macOS 15+): Klav.dmg — signed with Developer ID, Apple notarized & stapled. Existing users can update directly from Klav › Check for Updates…
  • Linux (x86_64, glibc 2.36+): klav-linux-x86_64.tar.gz (klav, klavd, klav-native-host)
  • Self-hosted server (Linux x86_64, glibc 2.36+): klav-server-linux-x86_64.tar.gz (klav-server, klav-server.service systemd unit, server.toml.example)
  • Browser extension (Chromium — Chrome, Brave, Edge, Arc, Dia): klav-extension-chromium.zip (load unpacked; enable Development extension in the Mac app or run klav extension install-host --dev)
  • Prebuilt container images: ghcr.io/omaralex24/klav-server:0.13.0 and ghcr.io/omaralex24/klav-proxy:0.13.0 (also updated :latest)
  • Checksums: SHA256SUMS

Full changelog: v0.12.0...v0.13.0