Skip to content

Kaleta 2.17.0

Choose a tag to compare

@github-actions github-actions released this 03 Oct 06:40
· 658 commits to main since this release

Kaleta 2.17 completes "Claude as the site's operator": a whole Claude session can be taken back in one step, and Claude can work on a schedule. The admin also gets a much better layout on phones.

Undo a whole Claude session

  • The changes one Claude connection makes in a row, with less than 30 minutes between them, form a session.
  • For each session the site keeps every content row before and after the change: pages, builds and drafts, news, collection items, menus, settings, the look and more.
  • Change log → Claude sessions lists the sessions. Undo the session puts everything the session changed back as it was: rows it created are removed, and rows it changed or deleted are written back.
  • A row someone changed after the session is left alone and listed, unless you choose Also overwrite later changes.
  • Writes that can't be followed row by row are named rather than silently skipped.
  • Claude can do the same through list_agent_sessions and undo_agent_session. That needs an administrator and confirm=true.
  • Sessions are kept 30 days.

Scheduled runs

The site cannot run Claude by itself. Instead, it keeps the schedules and Claude does the work:

  • Scheduled runs (administrators): a weekly review, a monthly report, daily triage of enquiries, working through staff requests, or your own task. Each runs daily, weekly or monthly at a set time in the site's time zone.
  • Set up in Claude: the prompt for a routine in the Claude app or Claude Code, which connects with a drafts-only connection.
  • The routine asks get_due_agent_runs, does each run as drafts and reports with report_agent_run. Every task text ends with the rules: drafts only, never publish, never delete, and stop and report anything that needs a person.
  • A schedule more than 6 hours overdue is marked missed. The alert e-mail tells you, so you notice when a routine has stopped.

The admin on phones

  • Tabs (Settings, Site appearance, Enquiries and others) are one row of pills that scrolls sideways. The current one is scrolled into view, and the edge fades when there is more.
  • The header is one row: search, light/dark and your account sit next to Menu.
  • The menu opens as a sheet under the header, with two columns per group. It scrolls on its own and closes with Esc; the page stays where it was.

Updating

Update from Settings → Backups and updates. It works from every earlier release. The update adds tables for scheduled runs and for the undo journal of Claude sessions.