# TypeDialog page — Type-Safe Interactive Dialogs

# Hero
typedialog-badge = 3,818 Tests | 6 Backends | 4 LLM Providers
typedialog-tagline = Typed dialogs for inputs, forms and schemas you can trust
typedialog-page-title = Create Type-Safe Interactive Dialogs
typedialog-page-subtitle = Declarative forms with Nickel/TOML definitions, 6 backends (CLI, TUI, Web, AI, Agent, Prov-Gen), and type-safe validation. From interactive prompts to infrastructure generation. One schema. Every surface.

# Problems
typedialog-problems-title = What TypeDialog Solves
typedialog-problem-1-title = Per-Backend Code
typedialog-problem-1-desc = One Nickel or TOML definition drives CLI, TUI, Web, and AI. No per-backend form code. The schema is the single source of truth.
typedialog-problem-2-title = Fail-Open Validation
typedialog-problem-2-desc = Nickel contracts validate every predicate at load time. Unknown predicates cause hard failures, not silent passes. No parallel Rust reimplementation.
typedialog-problem-3-title = Hidden I/O in Execution
typedialog-problem-3-desc = Fragment loading happens once at load_form(). The three-phase executor is pure — no filesystem access, no side effects during user interaction.
typedialog-problem-4-title = Manual IaC Assembly
typedialog-problem-4-desc = Interactive forms generate validated infrastructure configurations for 6 cloud providers. 7-layer validation pipeline from forms to final JSON.

# How It Works
typedialog-how-title = How It Works
typedialog-how-forms-title = Declarative Forms
typedialog-how-forms-desc = Define forms in Nickel (.ncl) or TOML (.toml). Nickel provides contracts, imports, and type-safe composition. TOML provides zero-dependency simplicity. Both produce identical FormDefinition structs.
typedialog-how-execution-title = Three-Phase Execution
typedialog-how-execution-desc = Phase 1: Execute selector fields that control conditionals. Phase 2: Build element list (pure, no I/O). Phase 3: Dispatch to backend with when/when_false evaluation. Complete or field-by-field rendering modes.
typedialog-how-factory-title = BackendFactory
typedialog-how-factory-desc = Compile-time feature gates eliminate dead backend code. Runtime BackendType match dispatches to the selected backend. Auto-detection via TYPEDIALOG_BACKEND env var with CLI fallback.
typedialog-how-ai-title = AI & Agent Backends
typedialog-how-ai-desc = AI backend with RAG, embeddings, and semantic search. Agent backend executes .agent.mdx files with multi-LLM support (Claude, OpenAI, Gemini, Ollama). Template variables, file imports, streaming output.
typedialog-how-infra-title = Infrastructure Generation
typedialog-how-infra-desc = Prov-Gen transforms form answers into IaC configurations. 6 cloud providers (AWS, GCP, Azure, Hetzner, UpCloud, LXD). 7-layer validation pipeline from forms to final JSON.
typedialog-how-roundtrip-title = Nickel Roundtrip
typedialog-how-roundtrip-desc = Read .ncl schemas, collect user input via any backend, generate validated .ncl output preserving contracts. ContractParser extracts validators. TemplateRenderer preserves formatting.

# Backends
typedialog-backends-title = Backends
typedialog-backend-cli-role = inquire — interactive prompts
typedialog-backend-tui-role = ratatui — terminal UI
typedialog-backend-web-role = axum — HTTP forms
typedialog-backend-ai-role = RAG & embeddings
typedialog-backend-agent-role = Multi-LLM execution
typedialog-backend-provgen-role = IaC generation

# Tech stack
typedialog-tech-stack-title = Technology Stack

# Architecture
typedialog-architecture-title = Architecture

# CTA
typedialog-cta-title = Type-safe dialogs for every surface
typedialog-cta-subtitle = Built with Rust | Open Source | MIT License
typedialog-cta-explore = Explore Git Repo
