{{/* Builder sessions list (/builder): draft apps built with the AI agent. HTMX partial: block builder_rows */}} {{ template "head" . }}
{{ template "drawer_toggle" }}
{{ template "page_progress" }}
{{ block "builder_rows" . }} {{ template "flash_alerts" .Data }} {{ if not .Data.Enabled }}
The app builder is not enabled on this server. Set app_builder.enabled and an agent profile in the server config.
{{ else if .Data.Sessions }}
{{ range .Data.Sessions }} {{ end }}
Details Name Status Actions
{{ template "drilldown_icon" }} {{ .name }} {{ if .edit_app }} edits {{ .edit_app }} {{ end }} {{ template "builder_status_badge" .status }}
{{ $canWrite := index $.Data.Perms "builder:create" }} {{ if or (eq .status "detached") (eq .status "error") }} {{ else if ne .status "published" }} {{ end }}
{{ else }}
{{ if .Data.Query }}

No sessions match "{{ .Data.Query }}"

{{ else }}

No builder sessions yet

Describe the app you want and the AI agent builds it with a live preview

+ New app {{ end }}
{{ end }} {{ end }}
{{ template "sidebar" . }}