{#- 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) -%} {% if where %}{% endif %} {% for r in rows %} {% if where %}{% endif %} {% endfor %}
HarnessSessionPacketModelLast eventLast activityTokensWhere
{{ r.harness }}{% if r.client %} ({{ r.client }}){% endif %} {{ r.short }}{% if r.project %}{{ r.project }}{% if r.wpid %} / {{ r.wpid[:8] }}{% endif %}{% else %}not determined{% 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 %}
{%- endmacro %} {#- The scribe's switch (docs/session-checkpoint.md §4.2): one for the board. -#} {% macro scribe_switch(scribe_on, back, csrf) -%}
Status drafts when a session ends: {{ "on" if scribe_on else "off" }}{% if scribe_on %}. A small model reads the end of a packet's session (what was asked and said, the tools used; not their output) and records where the packet stands.{% else %}. When on, a small model reads the end of a packet's session that changed things and records where the packet stands, so its card stays current.{% endif %}
{%- endmacro %} {#- Claude Code hooks in packet folders (docs/collaboration.md §4.3, §10): one switch for the board. -#} {% macro hooks_switch(hooks_on, back, csrf) -%}
Claude Code hooks in packet folders: {{ "on" if hooks_on else "off" }}. {% if hooks_on %}The board adds them to each packet folder's .claude/settings.local.json (your own hooks there are kept), so it can tell when Claude is working, waiting for you or asking permission, in any editor or terminal. They record times and states, never what was said.{% else %}Without them the board can tell only roughly whether Claude is waiting for you.{% endif %}
{%- endmacro %}