{% extends "base.html" %} {% block title %}Session {{ session.id[:8] }} — Bento{% endblock %} {% block content %} {% set av = agent_avatar(session.agent_slug or '?') %}
SESSION #{{ session.id[:8] }}

{{ session_title(session, 120) }}

{%- if session.status == 'running' -%}working {%- elif session.reason == 'errored' -%}errored {%- elif session.reason == 'cancelled' -%}cancelled {%- else -%}done{%- endif -%} {{ av.abbr }} {{ session.agent_name or '—' }} · {{ session.project_slug or current_project.slug }} · {{ session.model or '—' }} {% if session.version_pin %} · {{ session.version_pin }} {% endif %} · started
{% if session.cc_session_id %}
Resume in Claude Code: claude --resume {{ session.cc_session_id }}
{% endif %}
Duration
{{ fmt_duration_ms(session.duration_ms) }}
Tokens
{{ fmt_tokens(session.tokens_in) }} in / {{ fmt_tokens(session.tokens_out) }} out
Cost
{{ fmt_cost(session.cost_usd) }}
    {% for e in events %}
  1. {{ event_pill_label(e.type) }} {{ event_summary(e) }} {{ event_delta(e, loop.previtem) }} {{ fmt_clock(e.ts) }}
  2. {% endfor %}
building diagram…
{% endblock %} {% block scripts %} {% endblock %}