{% extends "space-settings-base.html" %} {% from "icons.html" import icon %} {% from "ui.html" import action, when with context %} {% from "routine-ui.html" import schedule, outputs with context %} {% set section = "routines" %} {% set base = "/o/" ~ org.slug ~ "/" ~ space.slug ~ "/-/routines" %} {% set wiki = "/o/" ~ org.slug ~ "/" ~ space.slug %} {% set triggers = {'schedule': _("scheduled"), 'manual': _("manual"), 'night': _("in the night")} %} {% block section %}
{{ icon('chevron-left', 14) }}{{ _("All routines") }}
{{ routine.description }}
{% endif %}{{ _("The routine's file is invalid: {error}", error=_(routine_error(routine))) }} {{ _("It does not run until the file is fixed (push, or Edit).") }}
{{ _("No AI provider is configured for the organization: routines cannot run.") }}
{{ routine.instructions }}{{ _("The routine's file does not ask for a memory: this one is no longer read.") }}
{% endif %} {% if memory.too_large %}{{ _("File too large to be shown ({n} bytes): the routine does not read it either.", n=memory.size) }}
{% elif memory.text %}{{ memory.text }}
{% else %}{{ _("Empty: the routine writes it at its next run, if it has something to remember.") }}
{% endif %}{{ _("What the routine noted for its next runs. Anyone who can push can correct it; the routine reads it as data, never as instructions.") }}
{{ log_text(run.summary) }}
{% endif %} {% if why %}{{ _(why.message, **why.params) }} {{ _("Nothing was published.") }}
{% if why.show_detail %}{{ _("Technical detail: {detail}", detail=why.detail) }}
{% endif %} {% else %}{{ _("Cause: {cause}.", cause=_(why.label)) }} {{ _("Nothing was published.") }}
{% endif %}{{ p.path }}{% else %}{{ p.path }}{% endif %} ({{ changes.get(p.change, p.change) }}{% if p['from'] %}, {{ _("from {path}", path=p['from']) }}{% endif %}){% if not loop.last %} · {% endif %}{% endfor %}{{ call.source }} /{{ call.path }} → {{ call.status }}{% if call.size %} ({{ _("{n} bytes", n=call.size) }}){% endif %}{% if not loop.last %} · {% endif %}{% endfor %}{{ run.report }}{{ run.commit[:10] }}{% endif %}
{{ _("No runs yet.") }}
{% endif %} {% endfor %}