{% macro render_step(step) %} {% if step.kind == "reason" %}
Reasoning
{{ step.html }}
{% elif step.kind == "tools" %} {% if step.tools | length == 1 %}
{{ step.tools[0].name }} {% if step.tools[0].result is none %}no result{% endif %}
Input
{{ step.tools[0].args | tojson(indent=2) }}
{% if step.tools[0].result is not none %} Output
{% if step.tools[0].result is string %}{{ step.tools[0].result }}{% else %}{{ step.tools[0].result | tojson(indent=2) }}{% endif %}
{% endif %}
{% else %}
{{ step.tools | length }} tool calls
{% for tool in step.tools %}
{{ tool.name }} {% if tool.result is none %}no result{% endif %}
Input
{{ tool.args | tojson(indent=2) }}
{% if tool.result is not none %} Output
{% if tool.result is string %}{{ tool.result }}{% else %}{{ tool.result | tojson(indent=2) }}{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% elif step.kind == "confirm" %}
Confirmed {% if step.choice %}{{ step.choice }}{% endif %}
{% if step.choices %}
Choices
{% for choice in step.choices %}{{ choice }}{% endfor %}
{% endif %} {% if step.message %}
Message
{{ step.message }}
{% endif %}
Prompt
{{ step.prompt }}
{% endif %} {% endmacro %}
{{ meta.title }} {{ meta.time }}{% if meta.total_tokens %} · {{ meta.total_tokens }} tokens{% endif %}
{% if not blocks %}

No events yet.

{% endif %} {% for block in blocks %} {% if block.kind == "user" %}
You
{{ block.content }}
{% if block.images %}
{% for image in block.images %}User-provided image{% endfor %}
{% endif %}
{% elif block.kind == "message" %}
{{ block.label }}{% if block.tokens %}· {{ block.tokens }} tokens{% endif %}
{{ block.html }}
{% elif block.kind == "command" %}
/{{ block.name }}{% if block.arguments %} {{ block.arguments }}{% endif %}
{% elif block.kind == "notice" %}
{% if block.level == "info" %} {% elif block.level == "warning" %} {% else %}{% endif %}
{{ block.html }}
{% elif block.kind == "html_info" %}
{% if block.title %}
{{ block.title }}
{% endif %}
{{ block.html }}
{% elif block.kind == "help" %}
Available commands
{% for command in block.commands %}
/{{ command.name }}{{ command.description }}
{% endfor %}
{% elif block.kind == "tools" %}
Tools {{ block.tools | length }}
{% if not block.tools %}
No tools registered.
{% endif %} {% for tool in block.tools %}
{{ tool.name }}{% for capability in tool.required_capabilities %}{{ capability }}{% endfor %}

{{ tool.description or "No description." }}

{% endfor %}
{% elif block.kind == "extensions" %}
{{ block.title or "Extensions" }} {{ block.extensions | length }}
{% if not block.extensions %}
Nothing found.
{% endif %} {% for ext in block.extensions %}
{{ ext.name }}{{ ext.status }}

{{ ext.description or "No description." }}

{% if ext.reason %}

{{ ext.reason }}

{% endif %}
{% endfor %}
{% elif block.kind == "history" %}
Conversation history
{% for record in block.history %}
{{ record.role }}
{{ record.content if record.content is string else record.content | tojson(indent=2) }}
{% endfor %}
{% elif block.kind == "batch" %}
{% if block.single %}{{ block.agents[0].name }} {% else %}AGENT ACTIVITY· {{ block.agents | length }} agents{% endif %} {% if block.details %}· {{ block.details }} details{% endif %} {% if block.approvals %}· {{ block.approvals }} auto-confirmed{% endif %} {% if block.single and block.agents[0].tokens %}· {{ block.agents[0].tokens }} tokens{% endif %}
{% for agent in block.agents %} {% if block.single %}
{% for step in agent.steps %}{{ render_step(step) }}{% endfor %}
{% else %}
{{ agent.name }} {% if agent.details %}· {{ agent.details }} details{% endif %} {% if agent.approvals %}· {{ agent.approvals }} auto-confirmed{% endif %} {% if agent.tokens %}· {{ agent.tokens }} tokens{% endif %}
{% for step in agent.steps %}{{ render_step(step) }}{% endfor %}
{% endif %} {% endfor %}
{% endif %} {% endfor %}