{% extends "base.html" %}
{% import "_tokens.html" as tkm %}
{% import "_log.html" as lg %}
{% block title %}step {{ s.label }} · {{ s.short }}{% endblock %}
{% block crumbs %}/ {{ e.name }} / {{ s.short }} / step {{ s.label }}{% endblock %}
{% block head %}
{% endblock %}
{% block main %}
{{ s.info.why }}
{% endif %} {% if s.resume %}Carry on from where the step left off:
{{ s.resume.fork }}
Ask it why it did what it did, without changing anything (plan mode):
{{ s.resume.why }}
No meta.json yet{% if s.info.outcome == "running" %}: the model is still running{% endif %}.
{{ s.fork }}
Forks the session, so the recorded history stays as it was.
{% endif %}{{ s.summary }}{% endif %}
{% if s.result %}{{ s.result }}{% endif %}
No state.diff (only committed steps have one).
No changes to state/.
{% for kind, ln in s.diff %}{{ ln }}{% endfor %}{% endif %}
{% set base = "/p/%s/%s/%s" % (e.name|urlencode, s.wpid, s.dir) %}
{% set running = s.info.outcome == "running" %}
{% if view == "log" %}{{ lg.console(s.log, running, follow=running) }}
{% else %}
Empty so far.
{% endif %} {% for b in s.blocks %} {% if b.kind == "tool_use" %}{{ b.name }}{{ b.text }}{{ b.text }}{{ b.text }}{{ b.text }}{{ s.prompt or "(missing)" }}{{ s.stderr }}