Skip to content

ChatWalaʻau v0.85.0

Choose a tag to compare

@motojinc25 motojinc25 released this 23 Jun 20:18
· 7 commits to main since this release

This release adds one user-facing feature to ChatWalaʻau: a Cron Scheduler -- run scripts on a schedule, managed from a portal, the API, or the agent.

Highlights

Cron Scheduler

  • Schedule scripts to run on a cron expression (5+ field crontab, e.g. 0 9 * * MON), a recurring interval, or once after a delay ("in 30 minutes"). A small, built-in tick loop (default every 60s) runs due jobs -- no OS crontab, no extra daemon.
  • Three ways to manage jobs: a portal (the clock icon in the sidebar footer next to the info icon, or the new /cron command), a REST API (/api/cron/*), and a manage_cron agent tool so you can just ask the assistant ("run scripts/backup.py every weekday at 9am").
  • Run timeline: the portal shows each job's runs in chronological order with status at a glance; click a run to see its stdout / stderr. A Refresh button re-polls.
  • Robust by design: each job stores its next run time and is advanced before it executes, so a crash mid-run never causes a re-fire loop; if the app was down, overdue runs are fast-forwarded instead of firing a backlog; a cross-platform lock keeps a single tick in flight.
  • Script-only, sandboxed: jobs run inside your coding workspace through the existing path jail and require coding tools to be enabled. Scripts run via the running interpreter map (.py, .sh, .ps1, .js, ...) with a per-run timeout and captured logs.
  • Off by default: the whole feature is opt-in via CRON_ENABLED; when off, nothing runs and the UI is hidden.

Included in this release

This release includes implementation work from:

  • v0.85.0 through v0.85.0

Notes

  • No breaking changes. The Cron Scheduler is opt-in via CRON_ENABLED (default off); with it off the runtime is byte-for-byte the previous release. Cron runs are unattended and execute scripts on a timer, so they require coding tools to be enabled and stay confined to the coding workspace -- only schedule scripts you trust.
  • Internal design management content and architecture control artifacts are intentionally omitted from this release note.

Installation

See the repository README for setup and usage instructions.

Version

  • Release version: 0.85.0
  • Previous release: 0.84.0