{#- Claude Code and Codex sessions in web VS Code (docs/vscode-monitor-plan.md §2.6). Only identifiers, event categories, times and usage: never what was said. -#} {% macro table(rows, where=False) -%}
| Harness | Session | {% if where %}Packet | {% endif %}Model | Last event | Last activity | Tokens | Where |
|---|---|---|---|---|---|---|---|
| {{ r.harness }}{% if r.client %} ({{ r.client }}){% endif %} | {{ r.short }} |
{% if where %}{% if r.project %}{{ r.project }}{% if r.wpid %} / {{ r.wpid[:8] }}{% endif %}{% else %}not determined{% endif %} | {% endif %}
{% if r.model == "unreported" %}unreported{% else %}{{ r.model }}{% endif %} | {{ r.event or "—" }}{% if r.event_ago %} {{ r.event_ago }}{% endif %}{% if r.turn %} {% if r.turn_kind %}{{ r.turn }}{% else %}{{ r.turn }}{% endif %}{% endif %} |
{{ r.activity_ago }} | {% if r.tokens is none %}unreported{% else %}{{ r.tokens|tok }}{% endif %} | {% if r.workspace %}workspace match{% else %}{% if r.job_ref %}job {{ r.job_ref }}{% if r.host %} on {{ r.host }}{% endif %}{% else %}this board{% endif %}{% if r.process %} · {{ r.process }}{% endif %}{% endif %} |