{% if empty %}
🧠

Search your brain

Find conversations, ideas, and insights across all your data.

Try searching for:

{% elif error is defined and error %}
⚠️ Search Error

{{ error }}

{% elif results|length == 0 %}
🔍

No results found for "{{ query }}"

{{ mode }} search · {{ duration_ms }}ms

Try a different search mode or broader terms.

{% else %}
{{ total_results }} result{{ 's' if total_results != 1 else '' }} for "{{ query }}" {{ duration_ms }}ms
{% for result in results %}
{% if result.similarity is not none %} {{ result.similarity_dot }} {{ result.match_label }} ({{ "%.0f"|format(result.similarity * 100) }}%) {% endif %} {{ result.date }} {% if result.source %} {% set source_names = {"claude-code": "Claude Code", "clawdbot": "Clawdbot", "chatgpt": "ChatGPT", "cursor": "Cursor", "gemini-cli": "Gemini CLI", "claude-desktop": "Claude Desktop"} %} {{ source_names.get(result.source, result.source) }} {% endif %} {% if result.role %} {{ result.role }} {% endif %}
{{ result.conversation_title }}
{% if result.type == 'summary' %}

{{ result.content_preview }}

{% if result.domain %} Domain: {{ result.domain }} {% if result.importance %} · {{ result.importance }}{% endif %} {% if result.thinking_stage %} · {{ result.thinking_stage }}{% endif %} {% endif %} {% if result.concepts %}

Concepts: {{ result.concepts|join(', ') }}

{% endif %} {% if result.open_questions and result.open_questions[0] != 'none identified' %}
Open Questions ({{ result.open_questions|length }})
{% endif %} {% if result.decisions and result.decisions[0] != 'none identified' %}
Decisions ({{ result.decisions|length }})
{% endif %} {% else %}

{{ result.content_preview }}

{% endif %}
{% endfor %} {% if has_more is defined and has_more %} {% endif %} {% endif %}