Skip to content

v0.93.1

Choose a tag to compare

@github-actions github-actions released this 05 Jul 22:53
0f58229

protoAgent v0.93.1 — plugin-SDK fix + MIT license

A small patch on top of v0.93.0. The headline is a plugin-SDK fix so a background engine can recover from a fault that takes several attempts to clear.

🔧 Supervisor on_crash bounded retry (#1823)

The SDK supervise() primitive called on_crash at most once per crash streak and then blind-re-kicked. A fault that re-crashes faster than the watchdog interval — e.g. an API that 503s until a backend finishes rebuilding — never got its recovery re-run, forcing plugins to hand-roll a multi-minute blocking retry inside on_crash (which blocks the watchdog). Now:

  • on_crash may return RetryAfter(seconds)"not fixed yet, wait and call me again." The supervisor waits in the watchdog (observable via status(), cancellable) and re-invokes without re-kicking.
  • on_crash_max_attempts (default 1, unchanged) re-invokes on_crash on repeated crashes up to a bound, then stops instead of the old unbounded blind re-kick.
  • Fully backward-compatible: on_crash -> bool and the default are byte-identical. RetryAfter is exported on graph.sdk.

Plugins with a supervised engine can now require protoagent >= 0.93.1 and return RetryAfter instead of a blocking sleep.

📄 MIT license

The repository now ships an MIT license + third-party attribution (#1842).

Full changelog: v0.93.0...v0.93.1